Skip to content

Open the volume picker from a whole volume's crumb and the disk's label - #96

Open
armada45-pixel wants to merge 1 commit into
tobi:mainfrom
armada45-pixel:disk-label-opens-picker
Open

armada45-pixel wants to merge 1 commit into
tobi:mainfrom
armada45-pixel:disk-label-opens-picker

Conversation

@armada45-pixel

Copy link
Copy Markdown
Contributor

One of a set of small PRs that replace #87 and #88, one feature each. They touch neighbouring lines in state.rs, views.rs and tests.rs, so whichever merges later will need a rebase; I'll do those as they come up.

When the scanned root is itself a volume (C:\, /), there is nothing above its crumb to widen to, and clicking it while already there did nothing. That crumb now opens the volume picker. The disk's name in the side panel opens the picker too, where before it was a plain label.

A root that is not a volume keeps its old crumb behaviour.

Verified. cargo xtask lint and cargo xtask test are green on Windows (69 app tests, 157 core). A window-harness test clicks the crumb of a non-volume root (nothing opens) and of a volume root (the picker opens), and the panel label.

Not verified. Nothing was run on Linux or macOS. On this branch the feature was exercised through the window-harness tests only; the app was not launched from it; the hover and tooltip have not been looked at.

🤖 Generated with Claude Code

When the scan is of a whole volume there is nothing above its crumb to
widen to, and being there already a click on it did nothing. It now opens
the volume picker, as a current crumb in the tree offers its siblings:
the only way on from `C:\` or `/` is another volume.

The disk's name in the side panel opens the picker too. It read as a
plain label and hid that the scan can move.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant