Skip to content

fix(frontend): rebind server-edition settings to server_edition.* key (MCP-1087)#671

Closed
Dumbris wants to merge 1 commit into
mainfrom
mcp-1087-fe-server-edition-keys
Closed

fix(frontend): rebind server-edition settings to server_edition.* key (MCP-1087)#671
Dumbris wants to merge 1 commit into
mainfrom
mcp-1087-fe-server-edition-keys

Conversation

@Dumbris

@Dumbris Dumbris commented Jun 15, 2026

Copy link
Copy Markdown
Member

Summary

MCP-1086 (backend rename `teams` → `server_edition`) merged in PR #603. This PR flips the frontend settings binding from the legacy `teams.` dot-paths to the canonical `server_edition.` paths.

Changes:

  • `settings/fields.ts`: `teams.enabled` / `teams.oauth.provider` / `teams.max_user_servers` → `server_edition.*`
  • `Settings.vue`: `hasTeams` → `hasServerEdition` computed (gates on `server_edition != null || teams != null`); adds `aliasServerEdition()` so legacy `teams`-keyed configs still hydrate the form without a tab-disappear regression
  • Unit test: assertion updated from `^teams.` → `^server_edition.` now that the backend contract has landed

Verified: vitest 142/142 pass, `make build` clean.

Closes MCP-1087

… (MCP-1087)

MCP-1086 (backend rename teams->server_edition) has now landed. Flip the
frontend settings binding from the legacy teams.* dot-paths to the canonical
server_edition.* paths, and add aliasServerEdition() in Settings.vue so old
configs that still carry the teams key still hydrate the form.

- settings/fields.ts: teams.{enabled,oauth.provider,max_user_servers}
  -> server_edition.{...}
- Settings.vue: hasTeams -> hasServerEdition computed (gates on
  server_edition != null || teams != null); aliasServerEdition() applied
  at loadConfig so legacy configs hydrate without a tab-disappear regression
- Unit test: update assertion from ^teams\. to ^server_edition\. now that
  the backend contract has landed

Verified: vitest 142/142, make build.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 33f1db7
Status: ✅  Deploy successful!
Preview URL: https://52b5122b.mcpproxy-docs.pages.dev
Branch Preview URL: https://mcp-1087-fe-server-edition-k.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!

@Dumbris

Dumbris commented Jun 15, 2026

Copy link
Copy Markdown
Member Author

Closing — these changes are already on main via the PR #603 squash (commit 4ab7c88). The frontend rebind of server_edition.* keys, hasServerEdition computed, and aliasServerEdition() are all present on origin/main. No separate merge needed.

@Dumbris Dumbris closed this Jun 15, 2026
@Dumbris Dumbris deleted the mcp-1087-fe-server-edition-keys branch June 15, 2026 08:39
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