Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 38 additions & 8 deletions application/single_app/admin_settings_nav.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,16 @@
{"id": "conversation-archiving-section", "label": "Conversation Archiving", "icon": "bi-archive"},
],
},
{
# Front Door configures authentication and redirect flows, so it
# belongs with Security rather than with throughput settings.
"id": "network",
"label": "Network",
"icon": "bi-door-open",
"sections": [
{"id": "front-door-section", "label": "Azure Front Door", "icon": "bi-door-open"},
],
},
],
},
{
Expand All @@ -201,17 +211,31 @@
"icon": "bi-clipboard-check",
"tabs": [
{
"id": "governance",
"label": "Governance",
"id": "feature-governance",
"label": "Feature Governance",
"icon": "bi-braces-asterisk",
"sections": [
{"id": "governance-feature-toggles-section", "label": "Governance Feature Toggles", "icon": "bi-braces-asterisk"},
{"id": "governance-mcp-destination-section", "label": "MCP Action Destination Governance", "icon": "bi-diagram-3"},
{"id": "governance-inbound-mcp-section", "label": "Inbound MCP Source Governance", "icon": "bi-box-arrow-in-down-right"},
],
},
{
"id": "governance-policies",
"label": "Policies",
"icon": "bi-sliders2",
"sections": [
{"id": "governance-feature-policies-section", "label": "Feature Policies", "icon": "bi-sliders2"},
{"id": "governance-item-policies-section", "label": "Delegated Item Policies", "icon": "bi-list-check"},
],
},
{
"id": "mcp-governance",
"label": "MCP Governance",
"icon": "bi-diagram-3",
"sections": [
{"id": "governance-mcp-destination-section", "label": "MCP Action Destination Governance", "icon": "bi-diagram-3"},
{"id": "governance-inbound-mcp-section", "label": "Inbound MCP Source Governance", "icon": "bi-box-arrow-in-down-right"},
],
},
],
},
{
Expand Down Expand Up @@ -243,18 +267,24 @@
"icon": "bi-speedometer2",
"tabs": [
{
"id": "scale",
"label": "Scale",
"icon": "bi-diagram-3",
"id": "redis-caching",
"label": "Redis & Caching",
"icon": "bi-database",
"sections": [
{"id": "redis-cache-section", "label": "Redis Cache", "icon": "bi-database"},
{"id": "redis-monitoring-section", "label": "Redis Metrics", "icon": "bi-activity"},
{"id": "conversation-cache-section", "label": "Conversation Cache", "icon": "bi-chat-square-text"},
],
},
{
"id": "cosmos",

Check warning on line 280 in application/single_app/admin_settings_nav.py

View workflow job for this annotation

GitHub Actions / malicious-pr-security-review

Important - Changed line contains secret or sensitive data source marker. Recommendation%3A Pair this source with any nearby network, logging, serialization, or process execution sink before approving.
"label": "Cosmos",

Check warning on line 281 in application/single_app/admin_settings_nav.py

View workflow job for this annotation

GitHub Actions / malicious-pr-security-review

Important - Changed line contains secret or sensitive data source marker. Recommendation%3A Pair this source with any nearby network, logging, serialization, or process execution sink before approving.
"icon": "bi-diagram-3",
"sections": [
{"id": "document-access-index-section", "label": "DAI Metrics", "icon": "bi-diagram-3"},
{"id": "cosmos-maintenance-section", "label": "Cosmos Maintenance", "icon": "bi-tools"},
{"id": "cosmos-throughput-section", "label": "Cosmos DB Throughput", "icon": "bi-speedometer2"},
{"id": "cosmos-throughput-metrics-table-section", "label": "Cosmos Metrics", "icon": "bi-table"},
{"id": "front-door-section", "label": "Azure Front Door", "icon": "bi-door-open"},
],
},
],
Expand Down
2 changes: 1 addition & 1 deletion application/single_app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
EXECUTOR_TYPE = 'thread'
EXECUTOR_MAX_WORKERS = 30
SESSION_TYPE = 'filesystem'
VERSION = "0.260.010"
VERSION = "0.260.011"
IS_DEVELOPMENT = is_development_env_enabled()

SESSION_COOKIE_SAMESITE = os.getenv('SESSION_COOKIE_SAMESITE', 'Lax')
Expand Down
15 changes: 14 additions & 1 deletion application/single_app/static/js/admin/admin_sidebar_nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,20 @@ function revealAdminGroupForTab(tabId) {
}
}

function showAdminTab(tabId) {
// Tabs that existed before the information architecture rework, mapped to
// where their content now lives. Old bookmarks and links keep working.
const LEGACY_TAB_REDIRECTS = {
'governance': 'feature-governance',
'scale': 'redis-caching',
};

function resolveAdminTabId(tabId) {
return LEGACY_TAB_REDIRECTS[tabId] || tabId;
}

function showAdminTab(requestedTabId) {
const tabId = resolveAdminTabId(requestedTabId);

// Open the owning group first, in whichever layout is active, so
// activating a tab never leaves it hidden behind a collapsed group header
// or filtered out of the top strip.
Expand Down
Loading
Loading