Skip to content

fix(upgrade): style the MCP poster's Ultimate lock badge - #514

Merged
Blankll merged 1 commit into
masterfrom
fix/mcp-poster-lock-badge
Oct 7, 2026
Merged

Blankll merged 1 commit into
masterfrom
fix/mcp-poster-lock-badge

Conversation

@Blankll

@Blankll Blankll commented Oct 7, 2026

Copy link
Copy Markdown
Member

Problem

The MCP bridge gate poster's Ultimate badge (bottom-left) rendered unstyled and misplaced — McpPoster.vue used the .poster__lock class but, unlike AiPoster / ClusterPoster / ImportExportPoster, never defined its CSS. The badge fell back to a plain inline element floating at the poster edge instead of the absolute bottom-left pill.

Fix

Port the canonical .poster__lock / .poster__lock-icon styles from AiPoster (absolute bottom-left pill, primary tint, backdrop blur). The compact gate hides this badge via PaidGate's :deep(.poster__lock) rule, so only the full-page gate in Settings is affected.

Mirror of geek-fun/sqlkit#168.

Test plan

  • tsc --noEmit + eslint clean
  • Settings → MCP row (Community): badge now a bottom-left pill matching the other posters

McpPoster rendered .poster__lock without defining it — every other
poster carries the absolute bottom-left pill CSS, so the MCP variant's
badge fell back to an unstyled inline element and sat misplaced at the
poster's bottom-left. Port the same styles from AiPoster.
@codecov

codecov Bot commented Oct 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.73%. Comparing base (2fa1158) to head (433dedf).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #514   +/-   ##
=======================================
  Coverage   63.73%   63.73%           
=======================================
  Files         141      141           
  Lines       22656    22656           
  Branches     1005     1005           
=======================================
  Hits        14439    14439           
  Misses       7927     7927           
  Partials      290      290           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Blankll
Blankll merged commit 0cd67bb into master Oct 7, 2026
9 checks passed
@Blankll
Blankll deleted the fix/mcp-poster-lock-badge branch October 7, 2026 15:44
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.

1 participant