Skip to content

feat: app status modal#707

Merged
AbhishekA1509 merged 38 commits into
developfrom
feat/app-status-modal
May 13, 2025
Merged

feat: app status modal#707
AbhishekA1509 merged 38 commits into
developfrom
feat/app-status-modal

Conversation

@AbhishekA1509

@AbhishekA1509 AbhishekA1509 commented Apr 22, 2025

Copy link
Copy Markdown
Member

Description

This PR includes changes to bring new App Status modal which caters to the cases of devtron-apps, external-apps, release and stack manager through a single component.

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?

QA

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

…ssibility, remove deprecated AppStatusDetailsChart, and enhance AppStatusBody with custom messages
…yling, including grid adjustments and word break handling
…to require envId, and enhance styling in AppStatusModal and DeploymentStatusDetailRow components
Comment thread src/Shared/Components/CICDHistory/StatusFilterButtonComponent.tsx
…and layout, including adjustments to ErrorBar and AppStatusContent styling
…useMemo hooks and enhancing layout with improved styling
Comment thread src/Shared/types.ts
Comment thread src/Shared/Components/Error/utils.tsx Outdated
Comment thread src/Shared/Components/Error/utils.tsx Outdated
Comment thread src/Shared/Components/Error/utils.tsx Outdated
Comment thread src/Shared/Components/CICDHistory/DeploymentStatusDetailRow.tsx Outdated
Comment thread src/Shared/Components/CICDHistory/StatusFilterButtonComponent.tsx
Comment thread src/Shared/Components/AppStatusModal/AppStatusModal.component.tsx Outdated
Comment thread src/Shared/Components/AppStatusModal/AppStatusModal.component.tsx
…handling

- Updated Drawer export to simplify import paths.
- Refactored AppStatusModal to accept title segments as an array, improving title rendering.
- Removed unused utility function for title generation.
- Cleaned up imports in AppStatusModal for better clarity.
- Introduced a new constant for app health dropdown list in CICDHistory.
Comment thread src/Shared/Components/AppStatusModal/AppStatusBody.tsx Outdated
Comment thread src/Shared/Components/AppStatusModal/AppStatusModal.component.tsx Outdated
Comment thread src/Shared/Components/AppStatusModal/utils.tsx
…ntent rendering

- Moved GenericEmptyState and GenericFilterEmptyState exports to a new index file for better structure.
- Updated AppStatusModal to utilize GenericEmptyState for improved content handling when app details are unavailable.
vivek-devtron
vivek-devtron previously approved these changes Apr 29, 2025
…s filter in StatusFilterButtonComponent

- Updated AppStatusModal to ensure proper cleanup of resources on unmount.
- Enhanced StatusFilterButtonComponent to handle cases where the selected tab is not found in the status filters.
- Introduced new SCSS styles for the StatusFilterButton, enhancing the segmented control appearance.
- Updated StatusFilterButtonComponent to apply new styles and ensure proper handling of selected tab values.
…lterButtonComponent key handling

- Removed unnecessary dependency from SegmentedControl's useEffect for improved performance.
- Added a unique key to the SegmentedControl in StatusFilterButtonComponent to ensure proper re-rendering based on inline filters.
@AbhishekA1509 AbhishekA1509 merged commit ca32621 into develop May 13, 2025
6 checks passed
@AbhishekA1509 AbhishekA1509 deleted the feat/app-status-modal branch May 13, 2025 09:26
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