Draft
Conversation
Member
Author
|
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:
|
TheoGrandin74
approved these changes
Oct 24, 2025
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
…d update settings route (#2406)
* feat(api-token): adding settings page to new navigation * feat(api-token): implement settings API token management + skeleton + tests updates * refactor(snapshots): snapshot update
… org settings (#2387) * feat(git-repository-access): implement settings page for managing Git repository access * refactor(disconnection-confirm-modal): remove DisconnectionConfirmModal component and tests * refactor(settings-git-repository-access): remove unused DisconnectionConfirmModal and related logic * refactor(settings-git-repository-access): remove onDisconnect logic and related comments * feat(settings-git-repository-access): add suspense support to useAuthProviders and useRepositories hooks * refactor(section-github-app): simplify imports and streamline button rendering
* feat(webhooks): implement webhook settings page with modal * fix(tests): format check * feat(webhooks): add suspense option to useWebhooks and update related tests * refactor(webhooks): replace WebhookCrudModalFeature with WebhookCrudModal and update related tests
…2385) * feat(cloud-credentials): implement cloud credentials management page and link tests * refactor(cluster-credentials): enhance UI consistency and remove useless delete functionality in cred' modal * refactor(cluster-credentials-modal): remove delete functionality and clean up tests * fix(credentials): fix failing test * feat(cloud-credentials): fix review comments and add skeleton
* feat(new-nav): add audit logs page * impr: fix timestamp filters * impr: UI tweaks * fix: linter warnings * impr: revert useless changes * impr: remove old "events" page and move auditLogsParamsSchema to the audit-logs domain * impr: skip some unit tests * fix: failing unit test * impr: add eslintignore for routeTree file * chore: lint issues * chore: fix TS warnings related to router * fix: lint warnings * chore: fix lint warnings * fix: failing unit test * chore: move tanstack router decl to the router lib * chore: rename some components * chore: fix lint issue and bring back unit test
…sts (#2405) * feat(billing-details): implement billing details settings page and related components * refactor(billing-details): streamline BillingDetails component usage and update imports in tests * Remove unused text styling for chargebee fields Removed unused text styling for chargebee fields. * chore(routeTree): yarn format
* impr(new-nav): env overview loading and ErrorBoundary * fix: update snapshots
* feat(ai-copilot): refactor AI Copilot settings and enhance organization route * Reusing common code + tweaking color tokens and spacing values --------- Co-authored-by: Romain Billard <billard.rom@gmail.com>
* feat(new-nav): add deployment history for envs * impr: tweak color tokens * impr: get rid of useless prevUrl route param * fix: unit tests * feat: add Suspense loader and add breadcrumb items for environments * impr: update color tokens * feat: add envMode to breadcrumb * fix: color tokens * impr: UI fixes - reducing vertical gap between texts - lowering stages popover - replaced ActionToolbar.Button with a simple Button * UI fixes - Updating the color of the pipeline stages separators - Getting rid of the double border at the bottom of the table * Update icon colors for cancel and in-queue icons * Update the StageStatusChip's background color * Correct responsive styles for tables * Fix outdated snapshots * Disable scrollbars for table overflow * Update NavigationBar icon for "Deployments" * Forward iconOnly prop from Link component * UI tweaks - Better positionning of deployment management dropdown - Removing the hover style - Getting rid of ActionToolbar components in favor of Buttons * Add sort arrows to table headers and fix popover overflow issue * Add min-width for Deployment Status cells
* feat(billing-summary): replace placeholder with SettingsBillingSummary component and update exports * feat(billing-summary): enhance billing summary components with new props and improve invoice handling + updated tests * fix(tests): update snapshots for values-override-arguments-setting, page-settings-dockerfile-feature, and page-settings-resources to reflect UI changes --------- Co-authored-by: Romain Billard <billard.rom@gmail.com>
…ad of StatusChip (#2415) Updating env overview to use EnvironmentStateChip instead of StatusChip
* feat(members): adding members to console v5 and tokenization * refactor(members): clean up and optimize member-related components and tests * fix(route): revert routeTree changes * chore(snapshots): update snapshots for various components to reflect recent changes in styles and structure * feat(create-modal): fix CI red * feat(row-member): enhance role selection with dropdown and state management * fix(row-member): : format check * test(row-member): update role selection test to use dropdown interaction * test(settings-members): update role selection test to use button interaction
* feat(service): add service navigation tabs and routes for service overview, deployment, monitoring, logs, variables, and settings * feat(service-overview): init new view * refactor(service-overview): update service overview component with observability features and improve UI consistency - Replaced ServiceOverviewFeature with ServiceOverview and added ObservabilityCallout for enhanced observability integration. - Introduced MetricsWebSocketListener for real-time metrics updates. - Updated styling for various components to ensure consistency across the UI. - Refactored error handling and loading states in TerraformResourcesSection and ResourceDetails components. - Enhanced user feedback in ResourceTreeList and AutoDeployBadge components with improved class names and visual cues. * delete(pod-statuses-callout): remove PodStatusesCallout component and associated tests - Deleted the PodStatusesCallout component and its test file to streamline the codebase. - Removed related snapshot files to ensure no unused artifacts remain. - Updated ServiceOverview to remove references to PodStatusesCallout, improving clarity and maintainability. * fix(service-instance): adjust margin for job execution info display - Updated the margin of the job execution information section in the ServiceInstance component to improve layout and visual consistency. * remove(pod-statuses-callout): eliminate export of PodStatusesCallout from index.ts - Removed the export statement for PodStatusesCallout to streamline the codebase following its deletion in a previous commit. * refactor(routeTree): streamline route imports and remove unused references - Consolidated route imports in routeTree.gen.ts by removing unnecessary imports and reorganizing existing ones for better clarity. - Updated ServiceOverview component to eliminate the cluster prop, enhancing its simplicity and focus on relevant data. - Adjusted ResourceDetails component's table styling for improved visual consistency. * refactor(components): update snapshot styles and improve UI consistency - Adjusted various component snapshots to enhance styling, including updates to table and button classes for better visual consistency. - Replaced instances of `fa-solid` with `fa-regular` for icon classes to align with design standards. - Improved search input button accessibility by adding title and aria-label attributes. - Refactored table components to eliminate unnecessary overflow styles and ensure a more streamlined appearance. * refactor(routes): enhance route imports and improve service parameter handling - Updated routeTree.gen.ts to streamline route imports, adding new routes for better organization and clarity. - Modified AutoDeployBadge and NeedRedeployFlag components to improve parameter handling, ensuring consistency in serviceId usage. - Adjusted PodDetails component styling for improved layout and visual consistency. - Enhanced InstanceMetricsTable and TerraformVariablesLoadingState components for better user experience and accessibility. * fix(instance-metrics): update snapshot styles for improved table layout - Adjusted the class names in the instance-metrics snapshot to enhance the table layout and visual consistency. - Ensured proper border and rounding styles for table rows to align with design standards. * refactor(tables): update snapshot styles for improved visual consistency - Modified table snapshot styles across various components to replace border styles with divide classes for enhanced layout. - Ensured consistent use of thead elements without unnecessary class attributes, aligning with design standards. * refactor(application-settings): integrate environment prop and clean up unused queries - Added environment prop to ApplicationSettingsResources for better context handling. - Removed the useEnvironment hook and its associated query to streamline the component. - Updated PageSettingsResources to utilize the environment data directly, enhancing data flow and component clarity. * feat(service-overview): integrate NeedRedeployFlag into ServiceOverview and enhance tests - Added NeedRedeployFlag component to ServiceOverview for improved service management visibility. - Updated tests for NeedRedeployFlag to verify serviceId is passed correctly from route parameters. - Mocked NeedRedeployFlag in ServiceOverview tests to ensure proper rendering and integration. * refactor(service-overview): restructure ServiceOverview layout and improve component rendering - Refactored the ServiceOverview component to enhance layout and readability by restructuring JSX elements. - Integrated NeedRedeployFlag more effectively within the component. - Improved conditional rendering for database metrics and instances, ensuring clearer presentation of service information. - Updated sections for last deployment and output variables to maintain consistency across different service types. * feat(hooks): add suspense option to deployment history and service hooks - Introduced a `suspense` option to `useDeploymentHistory`, `useService`, and `useServiceType` hooks for improved loading state management. - Updated `ServiceHeader` and `ServiceLastDeployment` components to utilize suspense for better user experience during data fetching. - Enhanced skeleton loading states for `ServiceHeader` and `ServiceLastDeployment` to provide visual feedback while data is being loaded. * refactor(use-last-deployed-commit): simplify props and enhance commit retrieval logic - Refactored the `useLastDeployedCommit` hook to streamline props by removing `serviceId` and `serviceType`, relying solely on `gitRepository`. - Improved the logic for retrieving the last deployed commit, ensuring a more concise and efficient implementation. - Updated default commit information handling to directly reference properties from `gitRepository` without optional chaining. * refactor(page-general-feature): remove unused PageGeneralFeature and related components - Deleted the PageGeneralFeature component and its associated tests from both application and database feature directories. - Removed references to PageGeneralFeature in the router files to streamline routing and eliminate dead code. - Cleaned up the PageGeneral UI component and its tests, ensuring no residual dependencies remain. * feat(service-overview): implement ServiceOverviewSkeleton and enhance loading states - Introduced the `ServiceOverviewSkeleton` component to provide a loading placeholder for the ServiceOverview. - Updated the `ServiceOverview` component to utilize `Suspense` for improved loading state management, displaying the skeleton while data is being fetched. - Enhanced the `InstanceMetrics` and `ServiceHeader` components to accept the `service` prop directly, streamlining data handling. - Refactored tests for `InstanceMetrics` and `ServiceHeader` to accommodate the new prop structure and ensure accurate rendering during loading states. * fix(instance-metrics): update snapshot text for service status clarity - Changed snapshot text from "Application is not running" to "Service is not running" for better accuracy. - Updated related message from "Deploy the application first" to "Deploy the service first" to maintain consistency in terminology. * fix(last-commit-author): enhance author name display logic - Updated the author name rendering to include a fallback to the git repository owner or 'Unknown' if the author name is not available, improving user clarity in case of missing data.
…full list (#2421) * feat(audit-logs): enhance audit logs diff UI and add it to container-full list * fix(menu): update border styling for menu component
…nt deployment view (#2422) * feat(deployment-history): add service deployment and update environment view - Renamed 'Deployment' tab to 'Deployments' for consistency in navigation. - Added a new route for service deployments, improving the structure of deployment-related views. - Introduced a new `ServiceDeploymentList` component with enhanced loading states and UI consistency. - Updated `EnvironmentDeploymentList` to include an empty state for better user feedback when no deployments are available. - Refactored deployment-related tests to ensure accurate rendering and functionality. - Removed deprecated deployment feature pages to streamline the codebase. * refactor(routeTree): enhance route imports and organization - Updated routeTree.gen.ts to include new routes for improved organization and clarity. - Consolidated existing imports and added several new routes related to authentication, organization settings, and project management. - Removed unused route references to streamline the codebase and improve maintainability. * feat(deployment-queue): add suspense option to useDeploymentQueue hook - Introduced a `suspense` parameter to the `useDeploymentQueue` hook for improved loading state management. - Updated the `ServiceDeploymentList` component to utilize the new `suspense` option in both `useService` and `useDeploymentHistory` hooks, enhancing user experience during data fetching. * refactor(environment-deployment-list, service-deployment-list): simplify table cell styling - Removed unnecessary padding and border classes from table header and cell components in both EnvironmentDeploymentList and ServiceDeploymentList for improved consistency and readability. - Streamlined the mapping of header and cell elements by eliminating the index parameter where it was not needed. * refactor(environment-deployment-list, service-deployment-list): remove minWidth from table cell styles - Eliminated minWidth property from header and cell components in both EnvironmentDeploymentList and ServiceDeploymentList to simplify styling and improve layout consistency. * refactor(environment-deployment-list, service-deployment-list): remove minSize from table cell configurations
…umn sizes and improve skeleton loading states (#2423) - Adjusted column sizes in EnvironmentDeploymentList and ServiceDeploymentList for better layout consistency. - Enhanced skeleton loading states in both components to align with updated column dimensions. - Updated text size for action status in DeploymentAction component for improved readability.
…seless git diffs (#2424) impr(new-nav): update lint rules for routeTree.gen file so we avoid useless git diffs
…cross all settings pages (#2418) * feat(annotations-labels): add suspense and loading skeletons in settings labels annotations component * feat(org settings): add suspense and loading skeletons to missing settings page * fix(settings-api-token): remove unnecessary div wrapper around token name
…2417) * feat(roles-settings): update organization roles settings and remove deprecated components * feat(roles-settings): added organization roles on console v5 and updated routes and components * fix(tests): update import path for resetForm in RowProject test file * test(RowProject): replace fireEvent with userEvent for better interaction simulation * test(RowProject): format check * fix(tests): remove unused resetForm import in RowProject test and update render method * yarn format * refactor(roles-settings): rename handleSubmit to handleSubmitRolesEdit for clarity in settings roles edit functionality * refactor(roles-settings): remove deprecated roles route and update settings roles edit component with new permissions normalization test * refactor(use-available-roles): simplify suspense handling in useAvailableRoles hook
* feat(monitoring): add new monitoring routes and enhance UI components * refactor(routeTree): update route imports for enhanced organization and clarity - Added new routes related to authentication, organization settings, and project management. - Consolidated existing imports and removed unused references to streamline the codebase. - Improved overall structure for better maintainability and clarity in route management. * feat(monitoring): integrate EmptyState component for no metrics scenario * style(chart): update tooltip styling for improved visual consistency and clarity * feat(monitoring): enhance service monitoring dashboard with suspense handling and analytics integration - Updated service and cluster data fetching to utilize suspense for improved loading states. - Refactored analytics capture logic to use useEffect, ensuring it only triggers on relevant changes. - Improved overall structure and readability of the monitoring dashboard component. * fix(tests): update snapshots for cluster, environment, and service action toolbars - Adjusted snapshot IDs in cluster-action-toolbar, environment-action-toolbar, and service-action-toolbar to reflect changes in component structure. - Removed outdated snapshot data to ensure tests accurately represent current UI states. * fix(tests): update service-action-toolbar snapshots to reflect UI changes - Removed outdated snapshot data for the service-action-toolbar to ensure tests accurately represent the current UI state. - Adjusted snapshot structure to align with recent component modifications.
* feat(breadcrumbs): enhance keyboard navigation with search focus * feat(breadcrumbs): add service support + suffix rendering * refactor(breadcrumbs): replace DropdownMenu with CommandMenu for improved search functionality and navigation * fix: test snapshot service-list
…tabase (#2435) * feat(service-variables): add service variables route + hide it for database) * refactor(variable-list): hide service name column in service scope for visual alignment * feat(service-variables): enable suspense for service data fetching in variables component
* fix(service): add settings layout * fix(service settings): enable suspense for environment and service data fetching
* feat(new-nav): add environment overview * impr: color tokens for uninstall modal * impr: color token tweaks * impr: color token tweaks * Update color tokens * Updating the min-width of the status cells * Splitting components of the Services list table * Fix outdated snapshots * UI tweaks * Refactor env overview table using context * Correct lint warning * Update outdated snapshots * Update outdated snapshots * Update outdated snapshot * Update failing unit tests * Update failing unit tests * Fix TS issue * Remove useless context * Updating failing unit test * Post-review fixes * Add `hasShell` search param for service overview route
* feat(alerts): add new routes for alert creation and editing - Introduced routes for creating and editing alert metrics within the service monitoring section. - Enhanced the organization of alert-related components and improved navigation flow. - Updated the monitoring dashboard to handle new alert routes and provide better user feedback during alert management. - Refactored existing components to support the new alerting features and ensure a cohesive user experience. * refactor(monitoring): replace useRouterState with useMatchRoute for alert flow detection * refactor(alerting): remove unused alert creation and editing components - Deleted PageAlertingCreateFeature and PageAlertingEditFeature components to streamline the codebase. - Updated routing to remove references to the deleted components, enhancing clarity and maintainability. - Minor style adjustment in SummaryStep component for improved consistency. * test(service-alerting): update test to check for alerting page header * refactor(alerting): update IssueOverview component and remove deprecated monitoring features - Refactored IssueOverview to use `useParams` from `@tanstack/react-router` for improved routing. - Updated alert navigation links to utilize parameterized routes for better clarity and maintainability. - Deleted obsolete monitoring dashboard and placeholder components to streamline the codebase and enhance overall organization. - Removed related routing references to deprecated components, improving clarity in the routing structure. * refactor(routes): remove deprecated APPLICATION_MONITORING_ALERTS_URL constant - Deleted APPLICATION_MONITORING_ALERTS_URL from application.router.ts to streamline routing and eliminate references to obsolete monitoring features. * refactor(alerts): replace useRouterState with useMatchRoute for improved route matching * refactor(alerting): update routing and context usage in alerting components - Replaced `react-router-dom` with `@tanstack/react-router` for improved routing consistency across alerting components. - Simplified context usage in `SummaryStep` and `MetricConfigurationStep` by directly providing necessary values. - Removed mock implementations of routing hooks in tests to align with the new routing structure. - Enhanced test setups to reflect updated context and routing dependencies.
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.
What does this PR do?
PR Checklist