-
Notifications
You must be signed in to change notification settings - Fork 28
New navigation #2101
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
base: staging
Are you sure you want to change the base?
New navigation #2101
Conversation
|
Qovery can create a Preview Environment for this PR.
This comment has been generated from Qovery AI 🤖.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## staging #2101 +/- ##
===========================================
- Coverage 51.65% 49.43% -2.22%
===========================================
Files 611 1190 +579
Lines 12868 20413 +7545
Branches 3957 6028 +2071
===========================================
+ Hits 6647 10092 +3445
- Misses 4926 8368 +3442
- Partials 1295 1953 +658
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
c0c57b7 to
25822f5
Compare
25822f5 to
3abcea7
Compare
c82ac06 to
fee8bba
Compare
c980aa5 to
2463cfd
Compare
02e3d79 to
cd87f46
Compare
bc6c427 to
009480f
Compare
71b1f7b to
e590ba1
Compare
53375fc to
27aefac
Compare
* feat: add navbar and init layout * feat: start breadcrumb and update all popover and dropdown menu colors * feat(new-nav): add basis for routing (#2206) feat: add basis for routing --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com>
Update Dockerfile and package.json for console-v5 build and preview commands
feat: add login route
* Init organization overview * Add webflow libraries
* feat: add basis for authentication * chore: rename orgId to organizationId * fix: glitch when switching routes * impr: cleaning up auth-redirect component * fix: import statements
impr: add logout button and better redirection
…d sections (#2238) feat(organization-overview): add first part of sections
* feat(navigation): add general layout (#2110) * feat: add navbar and init layout * feat: start breadcrumb and update all popover and dropdown menu colors * feat(new-nav): add basis for routing (#2206) feat: add basis for routing --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com> * feat(organization-overview): first part production health cluster * fix(routes): routeTree.gen.ts * Add feedback * Remove useless file --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com>
* feat(cluster-card): token * feat(organization-navigation): implement dynamic navigation context and refactor organization route * feat(routes): add audit logs and cluster settings routes, update breadcrumbs for cluster navigation
… service components (tanstack not compatible)
* feat(routes): add cluster logs and settings routes, refactor organization route structure and navigation components * fix(cluster-overview): card colors * fix(cluster-overview): table colors * fix(cluster-setup-modal): update text colors and improve layout consistency * fix(cluster-access-modal): add new token * fix(cluster): update token overview * Enhance layout consistency in cluster overview components * fix: some tests
* feat(sidebar): add new component deprecated navigation-left * feat(sidebar): add new component
* feat(cluster-logs): init new row with token * feat(routes): update route tree and add layout configuration - Refactored route imports in `routeTree.gen.ts` to include new routes and improve organization. - Introduced `route-layout-config.ts` to manage layout options for routes. - Enhanced `OrganizationRoute` to conditionally apply full-width layout based on route context. - Updated `ClusterLogs` component to include scrolling behavior and improved layout handling. - Added new components for cluster log rows and headers with associated tests. * fix(cluster-logs): adjust scroll behavior and layout improvements - Updated scroll behavior to include additional padding for better visibility of logs. - Enhanced layout structure by modifying the component hierarchy for improved responsiveness. - Adjusted styling for the log header and container to ensure consistent appearance across different states.
* feat(cluster): add general settings * refactor(routes): update route tree and improve organization of authenticated routes - Refactored route imports in `routeTree.gen.ts` to include new routes for login and organization settings. - Enhanced `ClusterGeneralSettingsForm` component by separating it from the main route component for better readability and maintainability. - Updated form handling logic to simplify the submission process and improve user experience.
* feat(cluster): add credentials settings - Added a new form for managing cluster credentials in the `credentials.tsx` file, improving user interaction with cloud provider credentials. - Updated the `general.tsx` file to enhance the layout and user experience of the general settings form. - Refactored the `route.tsx` file to improve the sidebar layout and ensure consistent styling. - Enhanced the `ClusterCredentialsSettingsFeature` to utilize the correct `useParams` hook for better parameter handling. * feat(cluster-settings): enhance sidebar links based on cluster type - Introduced dynamic sidebar links in the settings route based on the cluster's cloud provider and Kubernetes management type. - Added a new link for EKS Anywhere configuration when applicable. - Refactored the sidebar link structure for improved readability and maintainability. - Integrated feature flag for EKS Anywhere to conditionally display relevant settings. * refactor(link): update link styles and improve consistency - Modified link component styles to enhance visual consistency across the application. - Updated color classes for better alignment with design standards. - Adjusted snapshot tests to reflect the new styling changes. * refactor(routes): update route imports and enhance organization - Refactored route imports in `routeTree.gen.ts` to include additional routes for login and organization settings. - Improved the structure and readability of the route definitions. - Updated the link component styles to include a gap between items for better visual consistency.
* fix(sticky): ensure dropdown overlays above sticky header * feat(z-index): introduce z-index variables and apply them across modal and header components - Added z-index variables for header, dropdown, overlay, modal, tooltip, and toast in main.scss. - Updated tailwind-workspace-preset.js to include new z-index values. - Refactored modal and header components to utilize the new z-index variables for improved layering and visibility. * feat(sidebar): implement keyboard navigation for focusable elements - Added keyboard navigation support in the Sidebar component to allow users to navigate through focusable elements using ArrowUp and ArrowDown keys. - Refactored the SidebarRoot component to include a handleKeyDown function that manages focus based on keyboard input. * refactor(breadcrumbs): reorder class names for consistency and improve z-index usage
* feat(cluster): add danger-zone settings * refactor(header): adjust z-index for dropdown menu and header layout
* feat(organization-overview): add webflow changelog section (#2230) * Init organization overview * Add webflow libraries * feat(organization-overview): changelog, links + draft project and prod sections (#2238) feat(organization-overview): add first part of sections * feat(cluster): implement advanced settings for clusters - Added a new component for managing advanced cluster settings, allowing users to view and edit settings with validation. - Integrated form handling using react-hook-form for better state management and user experience. - Included tests for the new advanced settings component to ensure functionality and reliability. - Updated routing to accommodate the new advanced settings page and adjusted sidebar links accordingly. - Enhanced UI components for better styling and consistency across the application. * refactor(tests): simplify ClusterAdvancedSettings tests with wrapWithReactHookForm * Add comment for complex advanced settings logic
* feat(main): integrate PostHog for analytics trackingt * feat(eks-anywhere): add EKS Anywhere settings page - Introduced a new route for managing EKS Anywhere cluster settings. - Implemented form handling using react-hook-form for state management. - Added loading states and error handling for cluster data retrieval and editing. - Enhanced UI with a settings heading and a submit button for saving changes. * refactor(ui): update spacing and text color in cluster overview and EKS settings - Adjusted margin classes in the ClusterOverview component for consistent spacing. - Updated text color classes in the ClusterEksSettings component for improved readability and design consistency. - Enhanced sidebar item layout by wrapping icons in a span for better alignment and styling.
* feat(cluster): add image registry page * feat(cluster): add network settings page and refactor routing * refactor(cluster-network-settings): update styling for AWS and GCP existing VPC components for improved colors token * refactor(container-registry-form): update tokens * refactor(settings): adjust sidebar height for improved layout consistency
* Add new tokens with tailwind alias config * Add toggle theme and new app console-v5 * feat(navigation): add general layout (#2110) * feat: add navbar and init layout * feat: start breadcrumb and update all popover and dropdown menu colors * feat(new-nav): add basis for routing (#2206) feat: add basis for routing --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com> * Update Dockerfile and package.json for console-v5 (#2225) Update Dockerfile and package.json for console-v5 build and preview commands * fix(new-nav): update router and its layouts (#2227) feat: add login route * feat(organization-overview): add webflow changelog section (#2230) * Init organization overview * Add webflow libraries * feat(new-nav): add authentication (#2232) * feat: add basis for authentication * chore: rename orgId to organizationId * fix: glitch when switching routes * impr: cleaning up auth-redirect component * fix: import statements * impr(new-nav): add logout button and better redirection (#2237) impr: add logout button and better redirection * feat(organization-overview): changelog, links + draft project and prod sections (#2238) feat(organization-overview): add first part of sections * fix(new-nav): auth context (#2239) * feat(organization-overview): start production health cluster (#2242) * feat(navigation): add general layout (#2110) * feat: add navbar and init layout * feat: start breadcrumb and update all popover and dropdown menu colors * feat(new-nav): add basis for routing (#2206) feat: add basis for routing --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com> * feat(organization-overview): first part production health cluster * fix(routes): routeTree.gen.ts * Add feedback * Remove useless file --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com> * feat(badge): update token (#2245) * feat(cluster): starting views (#2249) * feat(cluster-card): token * feat(organization-navigation): implement dynamic navigation context and refactor organization route * feat(routes): add audit logs and cluster settings routes, update breadcrumbs for cluster navigation * refactor(routes): remove pathname state from links in environment and service components (tanstack not compatible) * feat(cluster): add overview (#2253) * feat(routes): add cluster logs and settings routes, refactor organization route structure and navigation components * fix(cluster-overview): card colors * fix(cluster-overview): table colors * fix(cluster-setup-modal): update text colors and improve layout consistency * fix(cluster-access-modal): add new token * fix(cluster): update token overview * Enhance layout consistency in cluster overview components * fix: some tests * feat(sidebar): add new component for navigation (#2259) * feat(sidebar): add new component deprecated navigation-left * feat(sidebar): add new component * feat(cluster-logs): add new view (#2260) * feat(cluster-logs): init new row with token * feat(routes): update route tree and add layout configuration - Refactored route imports in `routeTree.gen.ts` to include new routes and improve organization. - Introduced `route-layout-config.ts` to manage layout options for routes. - Enhanced `OrganizationRoute` to conditionally apply full-width layout based on route context. - Updated `ClusterLogs` component to include scrolling behavior and improved layout handling. - Added new components for cluster log rows and headers with associated tests. * fix(cluster-logs): adjust scroll behavior and layout improvements - Updated scroll behavior to include additional padding for better visibility of logs. - Enhanced layout structure by modifying the component hierarchy for improved responsiveness. - Adjusted styling for the log header and container to ensure consistent appearance across different states. * fix(tokens): update callout & progress-bar components * feat(cluster): add general settings (#2264) * feat(cluster): add general settings * refactor(routes): update route tree and improve organization of authenticated routes - Refactored route imports in `routeTree.gen.ts` to include new routes for login and organization settings. - Enhanced `ClusterGeneralSettingsForm` component by separating it from the main route component for better readability and maintainability. - Updated form handling logic to simplify the submission process and improve user experience. * feat(cluster): add credentials settings (#2268) * feat(cluster): add credentials settings - Added a new form for managing cluster credentials in the `credentials.tsx` file, improving user interaction with cloud provider credentials. - Updated the `general.tsx` file to enhance the layout and user experience of the general settings form. - Refactored the `route.tsx` file to improve the sidebar layout and ensure consistent styling. - Enhanced the `ClusterCredentialsSettingsFeature` to utilize the correct `useParams` hook for better parameter handling. * feat(cluster-settings): enhance sidebar links based on cluster type - Introduced dynamic sidebar links in the settings route based on the cluster's cloud provider and Kubernetes management type. - Added a new link for EKS Anywhere configuration when applicable. - Refactored the sidebar link structure for improved readability and maintainability. - Integrated feature flag for EKS Anywhere to conditionally display relevant settings. * refactor(link): update link styles and improve consistency - Modified link component styles to enhance visual consistency across the application. - Updated color classes for better alignment with design standards. - Adjusted snapshot tests to reflect the new styling changes. * refactor(routes): update route imports and enhance organization - Refactored route imports in `routeTree.gen.ts` to include additional routes for login and organization settings. - Improved the structure and readability of the route definitions. - Updated the link component styles to include a gap between items for better visual consistency. * fix(sticky): ensure dropdown overlays above sticky header (#2269) * fix(sticky): ensure dropdown overlays above sticky header * feat(z-index): introduce z-index variables and apply them across modal and header components - Added z-index variables for header, dropdown, overlay, modal, tooltip, and toast in main.scss. - Updated tailwind-workspace-preset.js to include new z-index values. - Refactored modal and header components to utilize the new z-index variables for improved layering and visibility. * feat(sidebar): implement keyboard navigation for focusable elements - Added keyboard navigation support in the Sidebar component to allow users to navigate through focusable elements using ArrowUp and ArrowDown keys. - Refactored the SidebarRoot component to include a handleKeyDown function that manages focus based on keyboard input. * refactor(breadcrumbs): reorder class names for consistency and improve z-index usage * feat(cluster): add danger-zone settings (#2272) * feat(cluster): add danger-zone settings * refactor(header): adjust z-index for dropdown menu and header layout * feat(cluster): add resources settings (#2271) * feat(new-nav): add onboarding views * feat(new-nav): add plans and project onboarding views * feat: add accept-invite route * post-review fixes * impr: post-review fixes * fix: post-review fixes part 1 * impr: move accept-invite to onboarding lib * impr: get rid of the onboarding pages * fix: accept-invitation page * impr: remove useless chargebee utility functions * impr: update tokens * fix: add missing redirection after logging in with a brand new account --------- Co-authored-by: RemiBonnet <bonnet.rem@gmail.com>
feat(header): add user-menu dropdown
* feat(cluster): add cluster new page * refactor(section-production-health): replace Button with Link for cluster creation in EmptyState component
* fix(cluster): terminal new token and overview responsive * test(cluster): enhance ClusterTerminal tests with mock implementations and update snapshots
…ar (#2296) * Button changes init * refactor(theme): update color variables and button styles * refactor(toolbar): update button styles and color variables for improved consistency * Fixed invert token structure * refactor: streamline component styles and update snapshots for consistency
* feat: add main loader for /orgId routes * impr: rework orgId/clusters data fetching * impr: rework current queries instead of declaring new ones * impr: add prefetch for organizations and clusters * feat: add more prefetched API routes
* feat(cluster): add general step in the creation flow * refactor(routes): clean up router configuration and remove unused onboarding routes * refactor: rename layout functions and add callback for credentials modal
f37ea37 to
1e3dbe4
Compare
What does this PR do?
PR Checklist