Repository navigation
feat(web): resizable drawer - #22
Merged
Merged
Conversation
The drawer's left edge is a separator: drag it, or focus it and use the arrow keys. A double-click goes back to the default width. The chosen width is kept in localStorage and clamped so the drawer stays at least 300 px and leaves 240 px of the page uncovered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # tests/unit/web-public.test.ts # web/public/drawer.js
…t/web-drawer-resize
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.
What
The detail drawer's left edge can be dragged to change its width, in both the Board and Browse tabs.
localStorage; a blocked store only means it is not remembered.separatorwitharia-valuenow/min/max.The drawer still overlays the view, as before.
Files
web/public/resize.js(new, pure):clampDrawerWidth,parseStoredWidthand the limits.web/public/drawer.js: the handle (pointer capture, keys, double-click, window resize).web/public/style.css: handle styling; the defaultmin-widthno longer overrides a chosen width.Tests
deno task checkand 309 unit tests pass.🤖 Generated with Claude Code