Repository navigation
feat: grouped sidebar, compact header, command palette and Add menu (Spec 109-i) - #1427
Merged
Merged
Conversation
…c 109-i) One navigation model (navigation/navModel.ts) now drives the sidebar. Home sits alone, then Connect (Clients, Servers, Tools), Protect (Review queue, Secrets) and Monitor (Activity, Usage). Settings, Docs, Feedback and Theme move to the footer above the version row. Agent Tokens, Sessions and Add Server leave the sidebar; the Clients row gets a live-client badge fed by a silent clientsStore.refreshPresence().
The header becomes search, an optional Viewing slot, a status pill, the attention pill and a + Add menu. The pill counts servers by health.usable and names the routing mode; mode switcher and endpoints leave the header. The search field opens a command palette (Cmd/Ctrl+K or /) with Pages, Actions, Servers, Tools and Settings sections, no request on open, and a debounced limit-8 tool search.
…(Spec 109-i) UsageSummaryStrip builds links through useScopeQuery.linkTo so sticky scope carries into Activity. /clients?tab=tokens&create=1 opens the create dialog and strips the flag. Endpoint copy buttons and descriptions move from the retired header dropdown to Clients, Endpoint and mode. /overview redirect keeps query and hash explicitly.
The sidebar reads Home, then Connect (Clients, Servers, Tools), Protect (Review Queue, Secrets) and Monitor (Activity), in the order the shortcuts follow. Home gets the attention badge. A toolbar + menu offers Server, Client and Token through AppState.pendingAddAction, so each destination opens its own sheet even when the window was just created.
…Spec 109-i) navigation-consistency.spec.ts gains the width and theme matrix, the sidebar order, the command palette, the + Add menu, the redirect table and the filtered deep-link rows. The header search button and header Add Server tests leave visual-a11y-sweep.spec.ts; the palette and Add menu tests replace them.
…n (Spec 109-i) Updates the navigation map, spec, plan, tasks, research and quickstart to what ships, adds the verification notes to the web UI, release gate and macOS docs, and states the contract Spec 108-i must honour for the Viewing slot and the /profiles route.
Session open and close have no SSE event, so refresh live-client presence on tool-call activity (debounced) and on a 30 second tick, in addition to mount, auth recovery and the connect dialog.
Deploying mcpproxy-docs with
|
| Latest commit: |
33ac9ca
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://94d92636.mcpproxy-docs.pages.dev |
| Branch Preview URL: | https://109-i-navigation-header.mcpproxy-docs.pages.dev |
refreshPresence() now merges GET /clients rows by id and keeps the detail-only fields (sessions, connected, connection_unverified) that loadDetail() resolved for an expanded Clients row, so the sidebar badge poll no longer wipes them. Adds a vitest covering loadDetail then refreshPresence. Dropped luna findings 4.F1.1 (false positive: macOS badges are specified only for Home and Review Queue) and 5.F1.1 (below bar: two-theme list matches the existing sweep).
Contributor
📦 Build ArtifactsWorkflow Run: View Run Available Artifacts
How to DownloadOption 1: GitHub Web UI (easiest)
Option 2: GitHub CLI gh run download 36705948386 --repo smart-mcp-proxy/mcpproxy-go
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
# Conflicts: # ROADMAP.md # internal/server/forward_headers_integration_test.go
…resh (109-i O.1) refreshPresence() only preserved detail data when sessions was defined, but the backend omits sessions when empty, so state/installed/connected/connection_unverified/config paths were wiped on every 30s poll. Track ids whose detail was loaded and preserve all detail-resolved fields for them.
internal/server under -race now runs about 10 minutes on macos-latest, so the default 10m package timeout panics on a slow runner and fail-fast then cancels the Windows leg. Mirror the 20m timeout the Windows leg already has.
…ng URL Resolves CodeQL alert 634 (incomplete string escaping): the previous escape covered only ? and . and left backslashes unescaped.
…rage runs On Windows two coverage-instrumented helper processes can collide renaming the shared covmeta file and print 'coverage meta-data emit failed' to stderr, which CombinedOutput folded into the printed id and failed the legacy-claim test. Read the id from stdout only.
2 tasks
This was referenced Oct 1, 2026
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 1, 2026
…de, settings edits, upgrade preview, toolbar add (Spec 108-retro-mac) (#1452) Fixes the verified post-merge review findings of the macOS profiles work (#1442, Spec 108-k) and of the toolbar hand-off (#1427, Spec 109-i). Code changes are under `native/macos/` only; the REST, CLI, MCP and Web surfaces and the wire contract are unchanged. Spec: `specs/108-profiles-v3/` (tasks T120a-T120f, FR-047 note, quickstart unit-gate filter) and `specs/109-ux-navigation-consistency/` (task T141a). Findings R1-R6 are Spec 108 work; F4.1 (with F6.1) belongs to Spec 109-i and is fixed in `ServersView.swift`, which both specs touch. ## User-visible changes (macOS app) - R1, Forget: the sheet now runs the forget itself and always shows the outcome, with the Web UI's wording. A credential that was revoked while its config entry could not be removed shows a warning ("Credential revoked; the config entry could not be removed: ...") instead of closing silently. A Close button dismisses it, the list reloads either way, and the result is announced to VoiceOver. New accessibility ids: `forget-result`, `forget-close`. - R2, Try it: a new, never-saved profile now offers Try it (the draft is sent to `POST /profiles/try` without a name). A new profile has no tool table because there is no saved profile to compute effective tools for. The editor layout is driven by `ProfileEditorModel.sections`. - R3, Reload: "Changed elsewhere - Reload" now discards the draft and adopts the saved profile. Before, it raised the banner again. Edits typed while the reload is in flight are kept and re-raise the marker, so a draft is never overwritten without a click. - R4, Assign: the sheet sends the profile and the wanted lock in one `PUT /clients/{id}/binding`, so it can change only the lock of a client already on the profile. When the binding already matches, nothing is sent and the sheet says "already on ...". - R5, Anonymous callers: saving adopts only the `anonymous_profile` key in the Settings store (`ConfigStore.adoptSaved`) instead of reloading everything, so other unsaved edits on the same tab survive. The Raw tab still shows the saved value. - R6, Admin-key upgrade: changing the profile after a preview drops the preview (a generation counter also drops a late response), disables Apply, and loads a fresh preview. Apply sends exactly the previewed request. - F4.1 and F6.1, toolbar "+ -> Server": the hand-off and pending routes are consumed by `ServersView.body`, which stays mounted, so the Add Server sheet opens over an open server detail and is no longer replayed when the detail closes. A route that arrives while a detail is open is consumed immediately. ## Decisions - F6.1 is folded in because it has the same root cause and fix as F4.1. - The duplicate `.onReceive(.showAddServer/.showServerDetail)` handlers inside `serverListView` are left as they are; they are harmless and will be tracked as a low follow-up. - The checklist lines for `docs/development/macos-tray.md` stay with the docs PR (108-l, T124). ## Tests All new tests were written first. Red was a compile failure for the model, section and settings tests (missing `ForgetResult`, `assign`, `AssignOutcome`, `sections`, `adoptSaved`, `commitSaved`); the two source-guard tests for the toolbar hand-off failed at runtime before the `ServersView` change. - `ClientBindingModelTests`: Forget result texts and announcement, Assign (one request, lock-only change, unchanged sends nothing, refused without a client credential, guard refusal kept, note wording), upgrade preview invalidation, previewed profile is what Apply sends, a late preview is dropped. - `ProfileEditorModelTests`: Reload adopts the server version, edits during a reload are kept, sections for new and existing profiles, Try on a new profile sends the unsaved draft, the view renders `model.sections`. - `AnonymousProfileSectionTests`: unrelated unsaved edits survive a save, `adoptSaved` before load is a no-op, the section never calls `store.load()`. - `ServersViewRoutingTests`: the add hand-off and route consumers live on `body`, not `serverListView`. `swift build` and the full `swift test` suite pass (1611 tests).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements PR 109-i (navigation-header) of specs/109-ux-navigation-consistency: one sidebar structure and a compact, responsive header, on the Web UI and the macOS app. Requirements FR-050, FR-052, FR-053, FR-054, FR-058 (the FR-057 interim stays). Audit findings addressed: H1 (crowded header), H3 (mode and endpoints in the header), N7 and the N1/N2 residual (sidebar regroup, retired entries), and the navigation half of X6. Tasks T135 to T143 are ticked in specs/109-ux-navigation-consistency/tasks.md.
User-visible changes
Web UI
macOS
No Go, REST, CLI or MCP change. contracts.ts, swagger and the frozen MCP goldens are untouched.
Decisions worth a look
Tests added