Skip to content
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

feat: display auto sync status in application details view #11200

Merged
merged 6 commits into from Nov 18, 2022

Conversation

alexef
Copy link
Member

@alexef alexef commented Nov 5, 2022

first minor change to display the auto sync status (enabled or not) in the application details page:
Screenshot 2022-11-05 at 12 11 01

see enhancement proposal: #11102

Signed-off-by: Alex Eftimie alex.eftimie@getyourguide.com

Note on DCO:

If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • Optional. My organization is added to USERS.md.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).

Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com>
@codecov
Copy link

codecov bot commented Nov 5, 2022

Codecov Report

Base: 45.69% // Head: 45.69% // No change to project coverage 👍

Coverage data is based on head (02d2869) compared to base (2173b87).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11200   +/-   ##
=======================================
  Coverage   45.69%   45.69%           
=======================================
  Files         239      239           
  Lines       29013    29013           
=======================================
  Hits        13257    13257           
  Misses      13934    13934           
  Partials     1822     1822           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@alexef alexef added this to the v2.6 milestone Nov 9, 2022
<div className='application-status-panel__item-name'>
{application.status && application.status.sync && application.status.sync.revision && (
{application.status && application.status.sync && application.status.sync.revision && !application.spec.source.chart && (
<div className='application-status-panel__item-name'>
Copy link
Member Author

Choose a reason for hiding this comment

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

this empty div makes no sense for Helm source (only for git)

@alexef alexef requested a review from rbreeze November 10, 2022 14:50
Copy link
Member

@rbreeze rbreeze left a comment

Choose a reason for hiding this comment

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

Hi Alex, thanks for the PR. I agree that we should have a more obvious place to indicate if Auto-Sync is enabled, but I'm not sure this is the best place for it; the Current Sync Status area can already be quite crowded:

CleanShot 2022-11-10 at 08 25 13@2x

@alexef
Copy link
Member Author

alexef commented Nov 11, 2022

@rbreeze I see your point, but I can't think of a different place.

What if I change the area title, see mockup below? (Auto Sync Status vs Manual Sync Status)
Screenshot 2022-11-11 at 16 54 06
Screenshot 2022-11-11 at 16 54 19

@alexef alexef added the component:ui User interfaces bugs and enhancements label Nov 16, 2022
@alexef alexef requested a review from rbreeze November 17, 2022 11:41
@alexef
Copy link
Member Author

alexef commented Nov 17, 2022

@rbreeze after SIG UI yesterday, I assume we can give this approach another chance? I will follow up with the application list filter in a separate PR.

@rbreeze rbreeze enabled auto-merge (squash) November 18, 2022 17:27
@rbreeze rbreeze merged commit a72b262 into argoproj:master Nov 18, 2022
@alexef alexef deleted the auto-sync-status branch November 18, 2022 21:00
ashutosh16 pushed a commit to ashutosh16/argo-cd that referenced this pull request Nov 23, 2022
…11200)

Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com>
Co-authored-by: Remington Breeze <remington@breeze.software>
emirot pushed a commit to emirot/argo-cd that referenced this pull request Jan 27, 2023
…11200)

Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com>
Co-authored-by: Remington Breeze <remington@breeze.software>
Signed-off-by: emirot <emirot.nolan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:ui User interfaces bugs and enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants