Skip to content

fix(mcping): settings padding, logs label, and single add-server flow - #28

Merged
ilbertt merged 3 commits into
mainfrom
fix/settings-ui-padding-and-add-server
Jul 20, 2026
Merged

fix(mcping): settings padding, logs label, and single add-server flow#28
ilbertt merged 3 commits into
mainfrom
fix/settings-ui-padding-and-add-server

Conversation

@ilbertt

@ilbertt ilbertt commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Fixes a few settings-window UI issues.

  • Padding: the MCP servers and Logs cards showed more bottom than top padding because their empty flex list still contributed the card's row-gap. Empty lists are now dropped from the flow, so padding is symmetric before any server/log entry exists (and once the Logs accordion is opened).
  • Label: the "Log" section is now "Logs".
  • Add server: clicking Add server now auto-expands the new server's form and disables the button until that server is connected or removed — so only one server can be configured at a time.
  • Required fields: server name, URL and the API-key header fields are marked required, and the Connect button stays disabled until the essentials are filled: name + URL for every server, plus a saved secret when API-key auth is selected. (none/OAuth need only name + URL; the header name keeps its X-API-Key default.)

🤖 Generated with Claude Code

ilbertt and others added 3 commits July 20, 2026 16:33
- Hide empty server/log lists so their card's row-gap no longer inflates
  the bottom padding relative to the top.
- Rename the "Log" section to "Logs".
- Expand a newly added server's form automatically and disable "Add server"
  until that server connects or is removed, so only one can be set up at a time.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Mark server name, URL and the API-key header fields as required, and keep
the Connect button disabled until they are filled — for API-key auth that
means a header name plus a saved secret. The header name pre-fills with the
default when API-key auth is selected so the required field is never blank.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The header name already defaults to X-API-Key (placeholder + authDescriptor
fallback), so gating Connect on it and pre-filling the input on auth-type
change were both unnecessary. Gate API-key auth on the saved secret only.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ilbertt
ilbertt merged commit e5fac81 into main Jul 20, 2026
5 checks passed
@ilbertt
ilbertt deleted the fix/settings-ui-padding-and-add-server branch July 20, 2026 15:53
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