akuity / kargo

Application lifecycle orchestration
https://kargo.akuity.io/
Apache License 2.0
1.75k stars 145 forks source link

fix(ui): live image matrix view #2884

Closed Marvin9 closed 2 weeks ago

Marvin9 commented 3 weeks ago

fixes https://github.com/akuity/kargo/issues/2768

API constructs data for that table. But this lacked live updates. Its expensive to re-construct this view using API. This PR takes an advantage of the fact that Stage resource has lastPromotion field which helps to determine what should be changed in the table. We were already watching Stage events.

netlify[bot] commented 3 weeks ago

Deploy Preview for docs-kargo-io canceled.

Name Link
Latest commit cf560acb45225cb53134745d15b810a849163deb
Latest deploy log https://app.netlify.com/sites/docs-kargo-io/deploys/6722c65099deb20008fc1b18
codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 49.98%. Comparing base (1a7ab78) to head (cf560ac). Report is 7 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2884 +/- ## ======================================= Coverage 49.98% 49.98% ======================================= Files 275 275 Lines 24526 24526 ======================================= Hits 12259 12259 Misses 11596 11596 Partials 671 671 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.