Skip to content

Simplify DAG trigger UI#34567

Merged
bbovenzi merged 1 commit into
apache:mainfrom
astronomer:update_trigger_ui
Sep 22, 2023
Merged

Simplify DAG trigger UI#34567
bbovenzi merged 1 commit into
apache:mainfrom
astronomer:update_trigger_ui

Conversation

@jedcunningham

Copy link
Copy Markdown
Member

We don't need to show details on how to access dagrun conf on the trigger page every time - DAG authors can find it in the docs.

Also, don't show the "unpause dag" toggle if the DAG is already unpaused - no matter your choice it'll unpaused.

Before:

Screenshot 2023-09-22 at 2 53 58 PM

After - DAG Unpaused:

Screenshot 2023-09-22 at 2 53 28 PM

After - DAG Paused:

Screenshot 2023-09-22 at 2 53 18 PM

We don't need to show details on how to access dagrun conf on the
trigger page every time - DAG authors can find it in the docs.

Also, don't show the "unpause dag" toggle if the DAG is already unpaused -
no matter your choice it'll unpaused.
@boring-cyborg boring-cyborg Bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Sep 22, 2023

@pierrejeambrun pierrejeambrun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Like it!

@pierrejeambrun pierrejeambrun added this to the Airflow 2.7.2 milestone Sep 22, 2023
@bbovenzi bbovenzi merged commit 0d80cc9 into apache:main Sep 22, 2023
@bbovenzi bbovenzi deleted the update_trigger_ui branch September 22, 2023 22:43
@ephraimbuddy ephraimbuddy added the type:improvement Changelog: Improvements label Oct 3, 2023
@jscheffl

Copy link
Copy Markdown
Contributor

Cool, just found this change by adding another PR as "beautification" in #35284 - congrats to this cool PR ID!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues type:improvement Changelog: Improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants