Skip to content

feat: app status modal #2669

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

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from
Open

feat: app status modal #2669

wants to merge 16 commits into from

Conversation

AbhishekA1509
Copy link
Member

Description

  • replace AppStatusDetailModal with AppStatusModal and update related components
  • Removed AppStatusDetailModal and its associated type definitions.
  • Integrated AppStatusModal in AppDetails and EnvironmentStatusComponent for improved status display.
  • Updated modal props and handling to align with new structure.
  • Added ConfigDriftModal import for future use.
  • Minor style adjustments in base.scss for button radius.

Fixes # (issue)

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

… related components

- Removed AppStatusDetailModal and its associated type definitions.
- Integrated AppStatusModal in AppDetails and EnvironmentStatusComponent for improved status display.
- Updated modal props and handling to align with new structure.
- Added ConfigDriftModal import for future use.
- Minor style adjustments in base.scss for button radius.
@AbhishekA1509 AbhishekA1509 self-assigned this Apr 23, 2025
@github-actions github-actions bot added the PR:Issue-verification-failed PR:Issue-verification-failed label Apr 23, 2025
…sModal

- Replaced inline title definitions in AppStatusModal with getAppStatusModalTitle for consistency across components.
- Updated AppDetails, EnvironmentStatusComponent, and DevtronStackManager to use the new title function.
- Cleaned up unused comments and improved code readability.
…ents

- Combined environmentName and namespace for a more concise title in AppStatusModal.
- Removed outdated comment regarding status text in DevtronStackManager.utils.ts for improved clarity.
- Set ENABLE_CI_JOB, ENABLE_CHART_SEARCH_IN_HELM_DEPLOY, HIDE_EXCLUDE_INCLUDE_GIT_COMMITS, ENABLE_BUILD_CONTEXT, FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE, FEATURE_CONFIG_DRIFT_ENABLE, and FEATURE_SWAP_TRAFFIC_ENABLE to true in environment configuration.
- Updated AppDetails component to correctly reference ConfigDriftModal.
- Enhanced styling in AppStatusCard, IssuesCard, and SecurityVulnerabilityCard for improved UI consistency.
- Added new button states for deployed, uninstalling, pending install, pending upgrade, and pending rollback.
- Updated existing states to include disconnect and superseded.
- Adjusted color coding for updated, waiting, queued, missing, and unknown states for better visual distinction.
- Set HIDE_NETWORK_STATUS_INTERFACE to true in environment configuration for better user experience.
- Refactored AppDetails component to utilize app details from IndexStore for improved data consistency.
- Changed modal type in EnvironmentStatusComponent from 'external-apps' to 'other-apps' for better categorization.
- Added appType to the return object in getAppDetailsFromResourceStatusData for enhanced data structure.
showAppStatusMessage={false}
showConfigDriftInfo={isConfigDriftEnabled}
<AppStatusModal
title={getAppStatusModalTitle([
Copy link
Contributor

Choose a reason for hiding this comment

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

instead of this util can we move this into AppStatusModal?

or make a component for it?

RohitRaj011
RohitRaj011 previously approved these changes Apr 29, 2025
feat: add new height utility class for 2px
vivek-devtron
vivek-devtron previously approved these changes Apr 29, 2025
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR:Issue-verification-failed PR:Issue-verification-failed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants