Skip to content

fix(ui): standardize controls on shadcn and repair modal selectors - #448

Merged
fylorn merged 5 commits into
devfrom
codex/shadcn-consistency
Nov 15, 2026
Merged

fylorn merged 5 commits into
devfrom
codex/shadcn-consistency

Conversation

@fylorn

@fylorn fylorn commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Standardize Lite's frontend controls on the shadcn UI kit. Native selects now use Radix Select, while buttons, labels, single-choice controls, overview tabs and tables use shared shadcn components. A source-level check prevents business pages from reintroducing native controls.

Fix searchable menus inside dialogs, sheets and alerts by providing a modal-local popup container and closing the menu before the enclosing dialog on Escape. This resolves the search language/country menus that could be displayed but could not be clicked or scrolled, and replaces three page-specific workarounds.

Place web tools in the same auxiliary-request table. Use one shadcn multi-select engine menu: Automatic is exclusive, explicit engines can be selected together, and removing the final engine restores Automatic. Preserve saved engine order and distinguish explicit selection of all engines from Automatic. Present allowed and blocked domains as separate editable lists, including validation, deduplication and saving unfinished input. Keep the form body scrollable above its footer in compact windows.

Validation: 1,463 unit tests; 54 Chromium/WebKit browser checks using real mouse, wheel and keyboard input; typecheck; production build; actionlint; six native macOS WKWebView screenshot scenes. Browser checks cover all main pages, the connection picker, empty/disabled/grouped select values, multi-engine selection, keyboard search, Escape and focus return, save/reopen and failed-save behavior, and Chinese/English light/dark layouts at 1100×720 and 820×560. The browser suite now runs in CI alongside the existing checks.

Prepare Lite 2026.11.16 with matching package, Tauri, Cargo and lockfile versions, plus English release notes. Core remains pinned to v0.97.0.

@fylorn
fylorn merged commit 7eb8547 into dev Nov 15, 2026
7 checks passed
@fylorn
fylorn deleted the codex/shadcn-consistency branch November 15, 2026 14:27
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant