All Docs
FeaturesDepositClearUpdated March 15, 2026

Bug Report: Command Palette 'All Pages' Button Only Shows Tools

Bug Report: Command Palette 'All Pages' Button Only Shows Tools

Version: v0.1.342 Severity: Medium — misleading UI behaviour Component: Command Palette (src/components/command-palette.tsx)


Summary

The 'All pages' button in the command palette footer does not show all pages. It triggers a hidden search for the keyword 'tools', which returns only the Tools navigation group. Users clicking the button expecting a full site map will instead see a partial list of five items from a single section.


Behaviour

What users expect

Clicking 'All pages' should display every navigable page in the application, ideally grouped by section, so users can browse the full site structure without typing a query.

What actually happens

  1. The button fires a search with the hardcoded query string 'tools'.
  2. The command palette returns results matching that query — the Tools nav group only.
  3. Pages shown: CSV Import, Jobs, Archives, Activity, System Admin (5 of 27 total).
  4. All other nav groups (Portfolio, Admin, etc.) are hidden.

Root cause

Navigation groups are not rendered when the search query is empty. To work around this, the button was wired to inject 'tools' as a query, which happens to surface one group. This is a brittle hack that does not scale and produces a false affordance for users.


Recommended Fix

Option A — True page browser (preferred)

Introduce a dedicated browse mode in the command palette state:

  • A browseAll flag (or equivalent state value) bypasses the search pipeline entirely.
  • When active, the palette renders all navCommands grouped by their section label.
  • All 27 navigation items across every group are displayed.
  • The trigger button is renamed 'Browse all pages' to accurately describe the action.
  • Clearing the input or pressing Escape exits browse mode and returns to the default empty state.

Option B — Accurate section buttons (interim)

If a full browse mode is not immediately feasible:

  • Rename the existing button to 'Browse Tools' so it honestly reflects its behaviour.
  • Add equivalent buttons for each nav group: 'Browse Portfolio', 'Browse Admin', etc.
  • Each button triggers a group-scoped search so users can explicitly select which section to explore.

This option requires no architectural changes but adds UI surface area proportional to the number of nav groups.


Affected Navigation Items

The following items are not reachable via the current 'All pages' button:

SectionItems hidden
PortfolioAll items
AdminAll items
Any non-Tools groupAll items

Only the Tools group (CSV Import, Jobs, Archives, Activity, System Admin) is currently surfaced.


Testing Checklist (post-fix)

  • Clicking the browse trigger displays all 27 navigation items.
  • Items are grouped by their correct section label.
  • No search query is injected or visible in the input field.
  • Typing in the input after entering browse mode transitions to a live search.
  • The button label matches its actual behaviour.
  • Keyboard navigation works across all displayed items.