Repository navigation
feat(git): browse committed files in dashboard - #337
Merged
Merged
Conversation
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.
Why
The Git log currently sends Show details into a separate text picker instead of the dashboard's existing file-and-diff interface. It also stores graph-decorated commit IDs such as
* <sha>fromgit log --graph, so commit actions receive invalid revisions.What changed
qreturns to the live working-tree dashboard.How to Test
Open Red in a repository with at least one existing commit and an uncommitted working-tree change.
Press
Space G, thenl, select a commit, and choose the default Open action. Confirm the dashboard shows that commit's changed files, change indicators, and per-file addition/deletion counts.Move between modified, added, deleted, renamed, and binary files. Confirm textual files show their commit-specific structured diffs and renamed files retain their original paths.
While viewing the commit, press staging/discard shortcuts such as
s,u, andx; confirm the repository and index remain unchanged. Pressqand confirm the original working-tree changes and normal actions return.Repeat with an initial commit and a merge commit; confirm initial files appear and merge changes are shown relative to the first parent.
Run the focused automated coverage:
Also verified the complete Git-focused Rust subset (54 tests), the workspace back-action regression, formatting, and
cargo clippy --all-targets --all-features -- -D warnings.