feat: revamped file tree#1302
Merged
bajrangCoder merged 1 commit intoAcode-Foundation:mainfrom May 11, 2025
Merged
Conversation
- removed menu icon - file tree is now horizontally scrollable when there is long file names - added indent guide in file tree
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR revamps the file tree to improve usability by removing the menu icon, enabling horizontal scrolling for long file names, and adding an indent guide for nested folders.
- Removed the menu icon and its associated tail component in the file tree rendering.
- Enabled horizontal scrolling with custom scrollbar styling in the file tree.
- Added a new text wrapper for file names in the file tree for better overflow handling.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/styles/list.scss | Updated quote styles and added a new .text block for overflow. |
| src/sidebarApps/files/style.scss | Removed legacy sticky styling for icons and added horizontal scrolling with custom scrollbar styles and indent guides. |
| src/sidebarApps/files/index.js | Applied overflow-x auto style to the container element. |
| src/lib/openFolder.js | Removed usage of the Tail component from folder and file tile creation. |
| src/components/sidebar/style.scss | Added horizontal scrolling styling for sidebar files. |
Comments suppressed due to low confidence (1)
src/lib/openFolder.js:74
- [nitpick] If the Tail feature is no longer required, please remove the commented-out code to maintain a clean codebase.
tail: <Tail target={() => $root.$title} />,
This was referenced May 11, 2025
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.
Changes:
Closes: #898 , #774 , #696
Demo