Add a tree list for navigation to apps and envs in the sidebar #265 #320
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...