Skip to content

feat(macos): registry-info popup on badge click; drop configured-registries panel#589

Merged
Dumbris merged 1 commit into
mainfrom
mcp-1050-macos-registry-popup
Jun 4, 2026
Merged

feat(macos): registry-info popup on badge click; drop configured-registries panel#589
Dumbris merged 1 commit into
mainfrom
mcp-1050-macos-registry-popup

Conversation

@Dumbris
Copy link
Copy Markdown
Member

@Dumbris Dumbris commented Jun 4, 2026

What & why (MCP-1050, v0.37.0 blocker)

macOS Registries/browse view polish:

(a) Removed the bottom "Configured registries" description panel. The registry list is already reachable via the browse multiselect and now via the per-result badge popup, so the redundant bottom panel is gone. The Add-Registry affordance is kept; registry-load errors now surface via an inline banner (the panel previously owned that error state).

(b) Made the per-result registry badge tappable → info popup. Clicking the <registry> ⓘ badge on a search-result card opens a sheet showing the registry's name, provenance badge (reuses the official/custom styling), description, and URL. The full Registry is looked up from the loaded list by id, then by name (case-insensitive) — search results carry the registry name, while the add endpoint uses the id, so both are handled. Custom/unverified registries show the always-quarantined note; an unmatched label degrades gracefully to a name-only popup.

Files

  • API/RegistryModels.swiftRegistry.lookup(_:in:) (id-then-name, case-insensitive).
  • Views/RegistriesView.swift — drop the bottom panel + dead content/registryRow/badge helpers; inline load-error banner.
  • Views/ServerBrowseView.swift — tappable badge Button, RegistryInfoContext, .sheet(item:) info popup + provenance/badge helpers.
  • MCPProxyTests/RegistryModelsTests.swift — 4 lookup tests (TDD: red → green).

Verification

  • swift build — clean (only pre-existing resource warnings).
  • swift test --filter RegistryModelsTests — 17/17 green (incl. 4 new). The 7 failures in the full suite (AutoStart/MergePatch/SSE) are pre-existing on origin/main and unrelated; macOS CI builds the app and does not run swift test.
  • ui-test MCP visual verification (dev app attached read-only to the running core via socket):
    • Registries view: bottom "Configured registries" panel is gone, Add-Registry kept.
    • Drove a search (Reference Servers → "fetch"), clicked the Reference Servers ⓘ badge → info popup opened showing name + Official · trusted badge + description + builtin://reference URL.

Related: MCP-1050

…stries panel

In the macOS Registries/browse view:
- Remove the bottom "Configured registries" description panel. The registry
  list now lives in the browse multiselect and the per-result badge popup.
  The Add-Registry affordance is kept; load errors surface via an inline
  banner instead of the removed panel.
- Make the per-result registry badge tappable. Clicking it opens a sheet
  showing the registry's name, provenance badge, description and URL, looked
  up from the loaded registries by id then name (case-insensitive). Falls
  back to the raw label when nothing matches; custom/unverified registries
  show the always-quarantined note.

Adds Registry.lookup(_:in:) with unit tests.

Related: MCP-1050
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: efa1cde
Status: ✅  Deploy successful!
Preview URL: https://5a707cf5.mcpproxy-docs.pages.dev
Branch Preview URL: https://mcp-1050-macos-registry-popu.mcpproxy-docs.pages.dev

View logs

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2026

📦 Build Artifacts

Workflow Run: View Run
Branch: mcp-1050-macos-registry-popup

Available Artifacts

  • archive-darwin-amd64 (28 MB)
  • archive-darwin-arm64 (25 MB)
  • archive-linux-amd64 (16 MB)
  • archive-linux-arm64 (14 MB)
  • archive-windows-amd64 (28 MB)
  • archive-windows-arm64 (24 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (21 MB)
  • installer-dmg-darwin-arm64 (19 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 26938411729 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@Dumbris Dumbris merged commit b250a1c into main Jun 4, 2026
37 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