Repository navigation
Desktop: one Local changes list for the whole working folder (#416) - #452
Merged
Merged
Conversation
A worklist section next to "New on this computer" lists every file of the working folder that is modified, outdated, in conflict, new or missing, grouped by item - also a file changed without a check-out - with Check out (keep my file), Get latest, Check in selected, Merge and Folder per row and for the ticked rows. The count joins the worklist badge on the rail. desktop/src/localchanges.rs: a local pass over state.json (no network, bounded by the limits of New on this computer and a hash budget), then the Workspace status of at most 100 revisions (local changes first, then own check-outs); pure classify() with unit tests. Command local_changes_scan. desktop/ui/js/local-changes.js: the pure planner, tested by scripts/desktop-local-changes.test.mjs (CI job ui). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- the scan compares without side effects (workspace::status_with(.., false): no read-only flags, renames or state.json writes) - the server pass rotates a window over the revisions without local changes or own check-outs, so outdated files anywhere are found over a few scans; more than 100 revisions no longer marks the scan as truncated - files the local pass cannot check (hash budget, no base hash) are unknown: compared first, never listed as modified or offered a check-out on a guess - a check-in from the list takes every changed file of the revision along (revisionCheckin); the dialog names the unticked ones and offers Park - refreshWorklistCount keeps the 15 s throttle; Get, check-out, check-in, park and cancelled check-out rescan at once, folded into one pending scan - revision label is a keyboard-reachable button, decorative icon hidden - docs: desktop/README.md row moved into the feature table (and the stray #342 fragment back into its row), CHANGELOG, desktop guide, CLAUDE.md map Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sebagrei
marked this pull request as ready for review
November 22, 2026 20:51
…ocal-changes-view # Conflicts: # .github/workflows/desktop.yml # CHANGELOG.md # CLAUDE.md # README.md # desktop/ui/js/navigator.js # desktop/ui/js/shell.js # desktop/ui/js/workspace.js # docs/OPEN_WORK.md
WARR-eV
pushed a commit
that referenced
this pull request
Nov 22, 2026
#457) The `changes` job of CI, Desktop app, CodeQL and Docs fails on main (first on ae55d1b; the CI runs of the last 14 commits were still queued): the self-test of `scripts/ci-changes.sh` added with #416 (#452) expects `desktop/ui/js/local-changes.js` to skip the desktop Rust jobs, but since #448 the table runs them for every `desktop/ui/js` script (the `graph.js` line was updated then). The new line now expects `desktop_rust=true`. CHANGELOG entry. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #416
What changed
One Local changes list for the whole working folder in the desktop worklist, next to New on this computer.
workspace_checkout), Get latest (workspace_download, local changes kept), Check in selected (thesendLocalChangesflow of Check in all; a revision with a conflict stays checked out), Merge… (Workspace tab), Folder. A click on a revision opens its Workspace tab.desktop/src/localchanges.rs(new), commandlocal_changes_scan:.teamcraft/state.jsonwith no network. It uses the entry limit of New on this computer, never reads unchanged files and hashes at most 512 MiB per scan.workspace::status) of at most 100 revisions, one after the other: local changes first, then own check-outs. The first failing call stops this pass.classify()/server_order()have unit tests: a file modified without a check-out, a conflict, outdated, missing, the file cap, an error row, and the local pass against a temp dir.workspace_status, no SolidCraft bridge state is written per revision.desktop/ui/js/local-changes.js(new, pure, no imports) is the planner.scripts/desktop-local-changes.test.mjstests it and runs in theuijob of desktop.yml. It is also added to thescripts/ci-changes.shself-test.shell.js:scanLocalChanges(force)runs at most every 15 s and one scan at a time. It runs when the worklist opens and on window focus.refreshWorklistCount()rescans after a check-out, check-in or Get.Docs: CHANGELOG (Unreleased), README Features (desktop app),
docs/src/guide/desktop.md,desktop/README.md,docs/OPEN_WORK.md(#416 ticked in the #408 line).How it was tested
Not compiled or run on this machine: there are no local builds on this device, and Node.js is not installed here. CI verifies.
cargo fmtindesktop/andscripts/ci-changes.sh --self-test, which passes.cargo test/clippyof the desktop crate (the new Rust unit tests),node scripts/check-desktop-modules.mjsandnode scripts/desktop-local-changes.test.mjs.Checklist
knowledge), or openly licensed material under a compatible licence
that is credited. It contains no code decompiled, disassembled or
rewritten from proprietary software and no leaked code
(CONTRIBUTING.md).
CHANGELOG.md,README.md,docs/src/**,docs/OPEN_WORK.mdwhere it applies).cargo fmt --all --check,cargo clippy --all-targets -- -D warningsand
cargo testpass locally, or CI runs them. (fmt done locally; CI runs clippy and the tests)🤖 Generated with Claude Code