akuity / kargo

Application lifecycle orchestration

Home Page:https://kargo.akuity.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ui: selectively display promotion buttons

krancour opened this issue · comments

Follow-up to #1842

We used to allow promotion to "control flow" Stages, but such promotions always succeeded instantly without actually doing anything.

#1842 removes the ability to create such promotions.

We need a complementary UI change to:

  1. Not display the target button on the left of a control flow Stage.
  2. Not display the truck button on the right of a control flow Stage if all its downstreams are control flow stages.

Duplicating this to #1867