Add a tree list for navigation to apps and envs in the sidebar #265#320
Open
harshith-1008 wants to merge 1 commit intophasehq:mainfrom
Open
Add a tree list for navigation to apps and envs in the sidebar #265#320harshith-1008 wants to merge 1 commit intophasehq:mainfrom
harshith-1008 wants to merge 1 commit intophasehq:mainfrom
Conversation
Changed the sidebar and team layout components.
Contributor
Author
|
@rohan-chaturvedi could you look into this, also how can I retrieve LICENSE file, without losing license folder. |
Member
|
@harshith-1008 Sure, however the UI implementation doesn't seem complete yet:
For the license, maybe just grab it from |
Contributor
Author
Member
|
@harshith-1008 Sorry, missed the open question on the PR. For the tree ui, you could try using just divs with borders and position them either with absolute positioning or use |
Contributor
Author
|
@rohan-chaturvedi Is this fine? |
Contributor
Author
|
@rohan-chaturvedi also for height of the line i have a static and dynamic method, could you inform me on what I should use. |
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.




Changed the sidebar and team layout components.
🔍 Overview
I have created a tree list navigation for easier navigation through apps and their environments.
💡 Proposed Changes
•Changed the layout.tsx file inside the [team] folder, to fetch query and send props.
•Changed the sidebar.tsx component for fitting the logic and links for the apps and environments.
🖼️ Screenshots or Demo
Before:



After:
📝 Release Notes
•New feature: Added a tree list navigation.
•Improvement: Its dynamic and changes when apps are deleted or added.
•UI: Added a scrollbar for scrolling through the sidebar.
❓ Open Questions
•I need help with the actual tree lines, mention any packages/ideas I could use to recreate it.
•Provide all test cases as I may not have covered them all.
🧪 Testing
•I have tested all links.
•I have tested light mode and dark mode UI.
•I have tested adding and deleting of apps.
🎯 Reviewer Focus
•Go through layout.tsx file in [teams] folder.
•Go through Sidebar.tsx in components/layout folder
➕ Additional Context
•Fixed issue: #265
✨ How to Test the Changes Locally
•Pull latest code from this branch.
•Ensure your local environment is up and running.
•Review all test cases.
💚 Did You...