Skip to content

Consolidate 6 gateway pages under Advanced nav group#385

Merged
shanselman merged 1 commit into
openclaw:masterfrom
samanthamsong:samanthamsong/advanced-nav-group
May 14, 2026
Merged

Consolidate 6 gateway pages under Advanced nav group#385
shanselman merged 1 commit into
openclaw:masterfrom
samanthamsong:samanthamsong/advanced-nav-group

Conversation

@samanthamsong
Copy link
Copy Markdown
Contributor

Summary

Move Agent Events, Agents, Bindings, Config, Usage, and Cron under a single expandable Advanced NavigationViewItem to reduce sidebar clutter. Skills, Channels, and Nodes remain top-level Gateway items.

Changes

  • HubWindow.xaml — Nest 6 items under an \Advanced\ parent with \SelectsOnInvoked=False. Agents retains its own sub-items (3-level nesting).
  • HubWindow.xaml.cs — Auto-expand parent \NavigationViewItem\s in \FindAndSelectNavItem\ when a nested child is matched, so programmatic navigation (e.g. cron tag remapping) correctly reveals the selected page.

Before / After

Before: 12 top-level items in the Gateway section
After: 6 top-level items + 1 expandable Advanced group containing the 6 less-used pages

Testing

  • Built successfully (0 errors)
  • Verified all nested pages navigate correctly
  • Verified programmatic \NavigateTo()\ auto-expands Advanced when targeting nested items

Move Agent Events, Agents, Bindings, Config, Usage, and Cron under
a single expandable Advanced NavigationViewItem to reduce sidebar
clutter. Skills, Channels, and Nodes remain top-level.

Auto-expand parent NavigationViewItems when FindAndSelectNavItem
matches a nested child, so programmatic navigation (e.g. cron tag
remapping) correctly reveals the selected page.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@shanselman shanselman merged commit 9301630 into openclaw:master May 14, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants