Repository navigation
feat: UX review fixes for connections and app shell - #891
Merged
Merged
Conversation
Admin Tools, Import, Backup, Restore, Disconnect and Refresh Schema Cache looked enabled with nothing connected and then silently did nothing. Actions can now say when they are enabled; the menu bar greys them with aria-disabled and the palette lists them last, unselectable, with "Connect first". Closes #821. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
The menu bar follows the WAI-ARIA menubar pattern: one Tab stop, arrows between titles and items, Escape back to the title, hover switches menus while one is open. The Connect menu takes focus on open, arrows through its rows, closes on Escape back to the button, and the new connection's tab gets focus after connecting. Connection tabs are real tabs with a roving tabindex, Enter to select, Delete to disconnect and Shift+F10 or the Menu key for their menu. The popover and a single tab move into ConnectPopover and ConnectionTab, and the startup reconnect into useStartupReconnect, to keep ConnectionTabs readable. Closes #827. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
Connection tabs and connect-menu rows show the PROD/STG/DEV badge, and menu rows mark read-only profiles. A tab's tooltip names the whole profile and its user@host:port, since the label truncates. The query toolbar shows the badge beside the connection name and is tinted, with a red top edge, while a production server is selected. The badge is one shared component, also used by the status bar. Closes #835. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
Saving a connected profile closed the dialog with nothing said, while the session kept using the old host, user or password. When a field that only applies to a new connection changes, the tab is now marked, a prompt offers "Reconnect now" or "Later", and the tab menu keeps a "Reconnect to Apply Changes" entry. Reconnecting moves the editor tabs to the new connection. The status bar and query toolbar take the name from the profile, and the host from the live session. Closes #831. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
A new or duplicated profile now has "Save & Connect" as the primary button, which saves, connects and selects the new tab; "Save" stays as the secondary. The fields sit in a form, so Enter submits, and the dialog opens with focus in the Name field. Closes #832. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
The Color row gains a Custom swatch backed by a native colour input, which shows a saved colour outside the presets as selected and lets any colour be picked. Presets compare case-insensitively, have names and aria-pressed, and the selected swatch gets a ring with a gap that reads on any theme. Closes #834. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
- The connection dialog is anchored to the top with a fixed-height body, so switching tabs no longer makes it jump. Name and Host are marked required, and the footer says which is missing while Save is disabled. - The status bar names a MariaDB server "MariaDB 10.11.6" instead of "MySQL 10.11.6-MariaDB...". - The status-bar connection button has the `group` class its copy icon needs to appear on hover or focus. Part of #838. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
Buttons no longer shrink or wrap. Measured on the toolbar itself with a container query, the shortcut hint goes first, then the button labels (each button keeps an aria-label and title), and the connection name truncates with its host shown only when there is room. Part of #838. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
Monaco used vs-dark or vs by the theme's base alone, so Nord, Solarized and custom themes left the editor in the wrong colours. The theme store now exposes the resolved theme, and the editor registers a Monaco theme built from its tokens (background, text, line highlight, selection, gutter, widgets) on top of the matching base. The title-bar theme button item of #838 was already fixed by #782: the label names any theme ("Theme: Nord — click for Dark"), covered by the existing FeatureButtons tests. Closes #838. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
View > Appearance gains "Editor font size" (10-28, default 14 per the design spec, was a hard-coded 13) and "Interface scale" (80-150%), stored with the other query settings and repaired if unreadable. The scale is applied as CSS zoom on the root and published as --ui-scale; at 100% nothing is set. Ctrl+=, Ctrl+- and Ctrl+0 step and reset it, and View has Zoom In, Zoom Out and Reset Zoom for the menu and palette. Status bar text, and the environment badge, are raised to 12px. Closes #837. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
The macOS "Connect to" submenu needs a change in menu.rs. On the frontend, a native "menu-action" with id "connect:<profile id>" already reaches the same connect flow as the in-app menu; this pins that down so the Rust side can rely on it. Part of #863. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
# Conflicts: # src/lib/actions.ts
With #888's keyboard ContextMenu merged, Shift+F10 on a connection tab opens its menu with focus on the first item, and Escape returns focus to the tab. Part of #827. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
This was referenced Oct 24, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR covers the October UX review (#783) items for connecting, the menus, the toolbar, the status bar and settings. An
implementer-frontendsubagent wrote one commit per issue and mergedmain(after #885, #886 and #888) into the branch.Changes
tablistwith a single tab stop. Delete disconnects, and Shift+F10 opens the tab's menu through the sharedContextMenufrom feat: UX review fixes for schema tree and designer #888.aria-pressed.connect:<profileId>action. The macOS menu itself needs a Rust command (set_connect_menu), which comes in a follow-up, so macOS native menu has no "Connect to" submenu #863 stays open.Closes #821. Closes #827. Closes #831. Closes #832. Closes #834. Closes #835. Closes #837. Closes #838. Part of #863.
Risk
Interface scale uses CSS
zoomon<html>. This hasn't been tried in WebKitGTK or WebView2 with Monaco inside it. If clicks in the editor land in the wrong place at a scale other than 100%, switch to Tauri's nativewebview.setZoom, which needs a capability added insrc-tauri. At 100% nothing is set, so the default is unaffected. Worth one manual check injust devbefore release.Test plan
npm run test:uniton the merged branch: 170 files, 3,437 tests passed.npm run type-checkand dprint are clean. Lint has 0 errors and no new warnings.AppLayout(50),TitleBar(41),SQLEditor(18), and the newQueryToolbar(6) andConnectionDialog(1).Generated by Claude Code