Skip to content
Merged
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
13 changes: 8 additions & 5 deletions frontend/ai.client/src/app/components/sidenav/sidenav.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
<span class="text-sm font-medium text-gray-700 dark:text-gray-300">Assistants</span>
</a>

<!-- Agents (Agent Designer — hidden until the accessibility probe resolves true; kill switch off = no entry) -->
@if (showAgents()) {
<!-- Agents (Agent Designer — preview: system-admin only, plus the accessibility probe) -->
@if (showAgents() && isAdmin()) {
<a
routerLink="/agents"
routerLinkActive="bg-gray-200/80 dark:bg-white/10"
Expand All @@ -59,11 +59,12 @@
</svg>
</div>
<span class="text-sm font-medium text-gray-700 dark:text-gray-300">Agents</span>
<span class="ml-auto rounded-full bg-amber-100 px-1.5 py-px text-[10px] font-semibold uppercase leading-4 tracking-wide text-amber-700 dark:bg-amber-400/15 dark:text-amber-300">Preview</span>
</a>
}

<!-- Memory Spaces (hidden until the accessibility probe resolves true — kill switch off = no entry) -->
@if (showMemorySpaces()) {
<!-- Memory Spaces (preview: system-admin only, plus the accessibility probe) -->
@if (showMemorySpaces() && isAdmin()) {
<a
routerLink="/memory-spaces"
routerLinkActive="bg-gray-200/80 dark:bg-white/10"
Expand All @@ -75,10 +76,11 @@
</svg>
</div>
<span class="text-sm font-medium text-gray-700 dark:text-gray-300">Memory Spaces</span>
<span class="ml-auto rounded-full bg-amber-100 px-1.5 py-px text-[10px] font-semibold uppercase leading-4 tracking-wide text-amber-700 dark:bg-amber-400/15 dark:text-amber-300">Preview</span>
</a>
}

<!-- Scheduled runs (system-admin only, plus the capability gate — hidden until the accessibility probe resolves true) -->
<!-- Scheduled runs (preview: system-admin only, plus the capability gate) -->
@if (showSchedules() && isAdmin()) {
<a
routerLink="/schedules"
Expand All @@ -91,6 +93,7 @@
</svg>
</div>
<span class="text-sm font-medium text-gray-700 dark:text-gray-300">Scheduled Runs</span>
<span class="ml-auto rounded-full bg-amber-100 px-1.5 py-px text-[10px] font-semibold uppercase leading-4 tracking-wide text-amber-700 dark:bg-amber-400/15 dark:text-amber-300">Preview</span>
</a>
}
</div>
Expand Down