Skip to content

feat: UX review fixes for connections and app shell - #891

Merged
EVWorth merged 13 commits into
mainfrom
claude/hopeful-bardeen-1k4d1h
Oct 24, 2026
Merged

EVWorth merged 13 commits into
mainfrom
claude/hopeful-bardeen-1k4d1h

Conversation

@EVWorth

@EVWorth EVWorth commented Oct 24, 2026

Copy link
Copy Markdown
Owner

This PR covers the October UX review (#783) items for connecting, the menus, the toolbar, the status bar and settings. An implementer-frontend subagent wrote one commit per issue and merged main (after #885, #886 and #888) into the branch.

Changes

Closes #821. Closes #827. Closes #831. Closes #832. Closes #834. Closes #835. Closes #837. Closes #838. Part of #863.

Risk

Interface scale uses CSS zoom on <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 native webview.setZoom, which needs a capability added in src-tauri. At 100% nothing is set, so the default is unaffected. Worth one manual check in just dev before release.

Test plan

  • npm run test:unit on the merged branch: 170 files, 3,437 tests passed.
  • npm run type-check and dprint are clean. Lint has 0 errors and no new warnings.
  • Browser tests, run one file at a time: AppLayout (50), TitleBar (41), SQLEditor (18), and the new QueryToolbar (6) and ConnectionDialog (1).
  • Each new test was checked by reverse-applying its fix.

Generated by Claude Code

claude added 13 commits October 24, 2026 13:37
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
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
@EVWorth
EVWorth merged commit d9ebe74 into main Oct 24, 2026
12 checks passed
@EVWorth
EVWorth deleted the claude/hopeful-bardeen-1k4d1h branch October 24, 2026 18:22
@github-actions github-actions Bot mentioned this pull request Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment