Repository navigation
A scan that failed says so - #99
Open
armada45-pixel wants to merge 1 commit into
Open
armada45-pixel wants to merge 1 commit into
armada45-pixel wants to merge 1 commit into
Conversation
When a scan ended in an error, or was stopped, with no tree to show, "Worth a look" went on saying "Waiting for the scan" for a scan that was not coming. It now says nothing was scanned. The viewport already says "Scan failed" with the error and offers to scan again; this brings the side panel in line with it. Debug selectors tell the three states apart for the window-harness test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
armada45-pixel
force-pushed
the
failed-scan-says-so
branch
from
November 29, 2026 21:06
2496652 to
9d8542a
Compare
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.
One of a set of small PRs that replace #87 and #88, one feature each. Rebased onto 1.5.0 (73bdbb3); they touch neighbouring lines in
state.rs,views.rsandtests.rs, so whichever merges later will need another rebase; I'll do those as they come up.1.5.0 already shows "Scan failed" with no spinner when a scan ends in an error, so this is now only the side panel: after a failed or stopped scan, "Worth a look" went on saying "Waiting for the scan". It now says "Nothing was scanned". A few
debug_selectors let the window harness tell the states apart.Verified.
cargo xtask lintis green on Windows and all 98 disktree-app tests pass, including a new one. 9 tests in disktree-cli, disktree-core and disktree-scanner (btrfs, hardlink and cache tests) fail on Windows on an unchanged 1.5.0 too, so the fullcargo xtask testrun is red there for reasons outside this PR.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.
🤖 Generated with Claude Code