UX: Show source integrity status in the UI/CLI
Summary
Display the source integrity error status for the app in the UI (in the all apps overview and also in the detail).
Motivation
When using the source integrity feature and there are some errors with the source integrity I want a way to clearly see the apps with the problems.
Currently the source integrity error causes Sync Error to be shown for the app. I want to add a way to distinguish between the other sync errors and the source integrity related ones, so I can see the information clearly at glance on the app list and the app detail instead of having to go to the detail and then to the log to figure out what is the problem.
Proposal
Implement this by introducing new special operation status: "Source Integrity failed" that will be an addition to the existing sync error, sync failed, sync OK etc. The app sync will be in this status in case of the source integrity failures instead of the generic sync error.
The operation status is already in the list filters in the UI, allowing to easily filter for all failing apps. In the detail the status is also there, so it will be in that place. See screenshots below for mock of the basic idea.
Having special status would allow the cli to show this as well.
The exact wording, icon etc is not final in the following screenshots.
Possible alternative: instead of operation status use sync status or some other field
LMK what you think, and if you like the proposed way to implement this or if you have any more suitable alternative for this, thanks!
PS: I can work on this when we reach some conclusions :)
Source: argoproj/argo-cd