feat(inspector): add repository file browser with Changes/Files tabs#391
Open
himanshhhhuv wants to merge 4 commits into
Open
feat(inspector): add repository file browser with Changes/Files tabs#391himanshhhhuv wants to merge 4 commits into
himanshhhhuv wants to merge 4 commits into
Conversation
Implements a tab-based UI in the Git panel that allows users to browse the complete workspace file tree alongside Git changes. This addresses the workflow gap where users needed to switch to external tools to view files that weren't currently modified. Key features: - Tab switcher in Git section header with "Changes" and "Files" tabs - Files tab displays full repository tree (respects .gitignore patterns) - Shared tree/list view mode between both tabs - Tab preference persisted to localStorage - Files open in read-only mode without Git action buttons - All existing Changes tab functionality preserved Implementation details: - Renamed ChangesSection to GitSection to reflect dual purpose - Added gitActiveTab state with localStorage persistence - Reused existing tree/list rendering components for consistency - Integrated workspaceFilesQueryOptions for data fetching - Tab UI follows existing Setup/Run/Terminal tabs pattern The Files tab queries the existing list_workspace_files backend command, which already implements proper .gitignore filtering and performs well on large repositories. Closes dohooo#390
|
@himanshhhhuv is attempting to deploy a commit to the Caspian's Team Team on Vercel. A member of the Team first needs to authorize it. |
The git section was renamed from ChangesSection to GitSection to reflect its dual purpose (Changes and Files tabs). Update test expectations to match the new aria-label "Git panel body" instead of "Changes panel body".
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.
Implements a tab-based UI in the Git panel that allows users to browse the complete workspace file tree alongside Git changes. This addresses the workflow gap where users needed to switch to external tools to view files that weren't currently modified.
Key features:
Implementation details:
Closes #390