Repository navigation
fix(ui): keep the page width steady and list custom targets in the target menus - #945
Merged
Merged
Conversation
The styled 8px scrollbar takes layout width even where the system uses overlay scrollbars. Whenever the page stopped needing to scroll (a short tab, a filtered list) or a dialog locked scrolling, the bar vanished and the whole page grew 8px wider, then shrank again. The page itself now uses the system scrollbar: an overlay one takes no width, and a classic one keeps its gutter reserved. Scrolling areas inside the page keep the styled scrollbar.
"Available in..." and "Set targets" built their list from the known tools and kept the installed ones. A target with a custom name is in no built-in list, so it could not be picked from the dashboard, and the order changed between openings because the known tools come from a map. The menus now list the configured targets, sorted by name.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
runkids
added a commit
that referenced
this pull request
Nov 17, 2026
The generated entry listed commit subjects. Describe what changes for the user, and list the two fixes of #945 separately.
runkids
added a commit
that referenced
this pull request
Nov 17, 2026
* chore(main): release 0.30.11 * chore(release): synchronize release metadata * docs(changelog): write the 0.30.11 entry for users The generated entry listed commit subjects. Describe what changes for the user, and list the two fixes of #945 separately. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Willie <[email protected]>
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.
Type
proposals/only — see CONTRIBUTING.md)approvedlabel)Linked Issue
None. Both were reported by the maintainer while using the dashboard.
What changed
The page no longer shifts sideways when its scrollbar comes and goes.
The styled 8px scrollbar takes layout width even where the system uses overlay scrollbars. When the page stopped needing to scroll (a short tab, a filtered list) or a dialog locked scrolling, the bar vanished and the page grew 8px wider. The page itself (
html) now uses the system scrollbar, coloured from--ink-3. Scrolling areas inside the page keep the styled 8px scrollbar.Visible change: on macOS the page scrollbar is now the overlay one and hides when idle.
Custom targets appear in "Available in..." and "Set targets".
TargetMenulisted the known tools from/api/config/available-targetsand kept the installed ones. A target with a custom name is in no built-in list, so it never appeared. The menu now lists the configured targets (api.listTargets()), sorted by name; before, the order changed between openings.Checks
Run on this diff in the devcontainer, on a checkout one release behind
main(0.30.9); the three files apply unchanged onmain:vitest run: 112 files, 960 tests pass. The "sets targets" test inResourcesPage.test.tsxnow picks a custom target,my-tool.tsc -b: passes.scripts/designtoken tests: pass.<main>width was 1680 / 1688 / 1688 on a long tab / short tab / open dialog before, and is 1688 in all three after. The dialog scrim still covers the full width.Not run:
make check(no Go change).handleBatchSetTargetswrites the name without checking it against the built-in list.Checklist
make check) — UI tests pass;make checkwas not run, see above