-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
🔨 style: Improve MCP UI #8745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🔨 style: Improve MCP UI #8745
Conversation
🚨 Unused i18next Keys DetectedThe following translation keys are defined in
|
const buttonText = isServerInitializing | ||
? localize('com_ui_loading') | ||
: isReinit | ||
? localize('com_ui_reinitialize') | ||
: requiresOAuth | ||
? localize('com_ui_authenticate') | ||
: localize('com_ui_mcp_initialize'); |
Check warning
Code scanning / ESLint
Disallow nested ternary expressions Warning
: isReinit | ||
? localize('com_ui_reinitialize') | ||
: requiresOAuth | ||
? localize('com_ui_authenticate') | ||
: localize('com_ui_mcp_initialize'); |
Check warning
Code scanning / ESLint
Disallow nested ternary expressions Warning
🚨 Unused i18next Keys DetectedThe following translation keys are defined in
|
… at same time for cancellation button
* refactor: Enhance MCP components with improved UI elements and localization updates * refactor: Clean up MCP components by removing unused imports and improving layout * refactor: Update server status badge styling for improved UI consistency * refactor: Move group up a level so 'X' and background highlight occur at same time for cancellation button * refactor: Remove unused translation keys from the localization file --------- Co-authored-by: Dustin Healy <[email protected]>
* refactor: Enhance MCP components with improved UI elements and localization updates * refactor: Clean up MCP components by removing unused imports and improving layout * refactor: Update server status badge styling for improved UI consistency * refactor: Move group up a level so 'X' and background highlight occur at same time for cancellation button * refactor: Remove unused translation keys from the localization file --------- Co-authored-by: Dustin Healy <[email protected]>
* refactor: Enhance MCP components with improved UI elements and localization updates * refactor: Clean up MCP components by removing unused imports and improving layout * refactor: Update server status badge styling for improved UI consistency * refactor: Move group up a level so 'X' and background highlight occur at same time for cancellation button * refactor: Remove unused translation keys from the localization file --------- Co-authored-by: Dustin Healy <[email protected]>
Summary
AuthField
for improved user guidanceCustomUserVarsSection
variant
props instead of hardcoded stylesLoader2
spinner with unifiedSpinner
component across MCP componentsServerInitializationSection
to unify button logic and reduce duplicationMCPPanel
layout and spacing in line with updated design systemChange Type
Testing
Tested with these MCPs:
Checklist