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

Simplify DAG trigger UI #34567

Merged
merged 1 commit into from
Sep 22, 2023
Merged

Simplify DAG trigger UI #34567

merged 1 commit into from
Sep 22, 2023

Conversation

jedcunningham
Copy link
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
Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

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
43 checks passed
@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
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