Implement file tree viewer with skills - #7
Merged
Merged
Conversation
Add `diffity tree` command that opens a GitHub-style repository file browser with sidebar navigation, syntax-highlighted file viewing, and inline comment support.
Extract CommentToolbarActions into a shared component used by both the diff toolbar and tree page toolbar. Tree view now supports navigating between comments across files and copying unresolved comments to clipboard.
- Fix plus icons showing on every line during multi-line selection (removed forceShowButton, only show on hover) - Fix missing yellow background on lines with open comments (match diff view behavior: check open threads for line highlight) - Add file/folder level comments via PathComments component (comment button in breadcrumb area, stored as __path__: threads)
- Fix thread navigation: resolve __path__: prefixed filePaths to actual paths, determine file vs dir, await ensureQueryData before scrolling instead of fragile setTimeout - Fix sidebar comment counts: translate __path__:foo back to foo so file-level comments show the indicator badge - Fix comment filter: same translation ensures files with path-level comments appear when filter is active - Add data-thread-id to path comment cards for scroll targeting
This reverts commit bb91b74.
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.
diffity treecommand to get the tree view of project/diffity-treeand/diffity-tree-resolveto open the tree view and resolve commentsdiffity agent diffcommand for agent to get diff during reviews