Skip to content

refactor(frontend): align Settings "Teams" wording to "Server Edition" (MCP-1087)#626

Merged
Dumbris merged 1 commit into
mainfrom
mcp-1087-frontend-server-edition-wording
Jun 9, 2026
Merged

refactor(frontend): align Settings "Teams" wording to "Server Edition" (MCP-1087)#626
Dumbris merged 1 commit into
mainfrom
mcp-1087-frontend-server-edition-wording

Conversation

@Dumbris

@Dumbris Dumbris commented Jun 9, 2026

Copy link
Copy Markdown
Member

What

Replaces the legacy "Teams" wording on the server-edition Settings surface with "Server Edition":

  • Tab label TeamsServer Edition
  • Section heading 👥 Teams / Server👥 Server Edition
  • Section comment clarified

The section/labels are extracted into SERVER_EDITION_FIELDS + SERVER_EDITION_TAB_LABEL / SERVER_EDITION_SECTION_TITLE constants in views/settings/fields.ts (alongside the existing SECURITY_FIELDS / GENERAL_FIELDS), with a vitest guard.

Scope decision — config keys stay teams.* (deliberate)

This was "blocked by backend A" (the teamsserver_edition config-key rename, MCP-1085 / PR #607). That PR is closed / unmerged, so on live main the config is still teams-keyed and /api/v1/status already reports edition: "server" (the frontend's isTeamsEdition already checks === 'server', unchanged).

Therefore this PR ships only the backend-independent part — user-facing wording — and keeps the form's config dot-paths on teams.* to match the live contract. Flipping them to server_edition.* now would make hasTeams read state.working.server_edition, which a live teams-keyed config doesn't have → the whole server-edition tab silently disappears. The key switch is tracked as a follow-up blocked by the backend rename.

Verification (artifacts kept local per issue)

  • make build ✅ (frontend embedded into the Go binary; confirmed bundle contains "Server Edition", no "Teams / Server")
  • npm run type-check
  • vitest ✅ 127/127 (incl. new settings-server-edition-wording.spec.ts)
  • Playwright ✅ — rendered the server-edition Settings tab against a throwaway instance with a teams config block; tab + heading read "Server Edition", no \bTeams\b text; form fields render and save correctly (config keys still write teams.*).

Related MCP-1087

The server-edition Settings surface used legacy "Teams" wording (the tab
label and the "Teams / Server" section heading). Align it to "Server
Edition" to match the edition identity (`/api/v1/status` edition ===
"server"), which the frontend already keys off.

Extract the section into SERVER_EDITION_FIELDS + label constants in
settings/fields.ts and add a vitest guard. The config dot-paths stay on
the legacy `teams.*` key on purpose: the backend config-key rename
(`teams` -> `server_edition`, MCP-1085 / PR #607) is not merged, so a
live config is still `teams`-keyed. Flipping the keys early would make
`hasTeams` read `state.working.server_edition` and silently hide the
whole tab. The key switch is tracked as a follow-up blocked by that
backend change.

Related MCP-1087
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 822b286
Status: ✅  Deploy successful!
Preview URL: https://ea1af958.mcpproxy-docs.pages.dev
Branch Preview URL: https://mcp-1087-frontend-server-edi.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

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

📦 Build Artifacts

Workflow Run: View Run
Branch: mcp-1087-frontend-server-edition-wording

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 27189187913 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@mcpproxy-gatekeeper mcpproxy-gatekeeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gatekeeper approval — Codex review verdict: ACCEPT.

This approval is posted automatically by the MCPProxy Gatekeeper App on behalf of the Codex reviewer (verdict of record lives in the Paperclip review thread). Author≠approver satisfied; QA + CI gates enforced separately.

Auto-approved per Model B (MCP-1249).

@Dumbris Dumbris enabled auto-merge (squash) June 9, 2026 10:50
@Dumbris Dumbris merged commit efbdd0e into main Jun 9, 2026
45 checks passed
@Dumbris Dumbris deleted the mcp-1087-frontend-server-edition-wording branch June 9, 2026 16:47
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