Skip to content

feat: Navigation 2.0 + New Folder Structure #857

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Aug 19, 2025

Conversation

RohitRaj011
Copy link
Contributor

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces Navigation 2.0 with a new folder structure for Devtron 2.0 pages and enhances the TreeView component to support a new 'sidenav' variant with improved styling and navigation capabilities.

  • Adds a new 'sidenav' variant to TreeView with custom styling for sidebar navigation
  • Creates a structured folder hierarchy for Devtron 2.0 pages with placeholder components
  • Extends SearchBar component with sidenav styling variant
  • Adds new icon imports and exports additional framer-motion utilities

Reviewed Changes

Copilot reviewed 34 out of 41 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Shared/Components/TreeView/types.ts Adds sidenav variant type and activeClassName support for navigation links
src/Shared/Components/TreeView/constants.ts Defines styling constants for the new sidenav variant
src/Shared/Components/TreeView/TreeViewNodeContent.tsx Implements variant-aware text styling
src/Shared/Components/TreeView/TreeView.scss Adds CSS classes for sidenav variant styling
src/Shared/Components/TreeView/TreeView.component.tsx Implements sidenav variant logic and disabled state handling
src/Shared/Components/Icon/Icon.tsx Adds new icon imports for navigation components
src/Shared/Components/FramerComponents/index.ts Exports useAnimation hook for enhanced animations
src/Common/SearchBar/* Adds sidenav variant support to search component
src/Pages-Devtron-2.0/* Creates new folder structure with placeholder Overview components
Comments suppressed due to low confidence (1)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

AbhishekA1509
AbhishekA1509 previously approved these changes Aug 18, 2025
vivek-devtron
vivek-devtron previously approved these changes Aug 19, 2025
@RohitRaj011 RohitRaj011 merged commit ae20c4d into kubecon-2025 Aug 19, 2025
3 checks passed
@RohitRaj011 RohitRaj011 deleted the feat/new-folder-structure branch August 19, 2025 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants