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

Add is_paused toggle #42621

Merged
merged 3 commits into from
Oct 2, 2024
Merged

Add is_paused toggle #42621

merged 3 commits into from
Oct 2, 2024

Conversation

bbovenzi
Copy link
Contributor

@bbovenzi bbovenzi commented Oct 1, 2024

Add switch to toggle DAGs paused and unpaused. I decided to use "enabled" and "disabled" nomenclature as discussed in #41519, but happy to adjust this.

Also had to add a fix to an outdated eslint rule.

Screenshot 2024-10-01 at 3 24 08 PM

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 1, 2024
@bbovenzi bbovenzi changed the title Add is paused toggle Add is_paused toggle Oct 1, 2024
@pierrejeambrun
Copy link
Member

Code looks good and is working as expected.

I'm fine with both enabled/etcc or unpaused/etc..., leaving that up to you guys :)

@bbovenzi
Copy link
Contributor Author

bbovenzi commented Oct 2, 2024

Code looks good and is working as expected.

I'm fine with both enabled/etcc or unpaused/etc..., leaving that up to you guys :)

Going to merge so we have examples of PATCH requests in the UI. We can always update the naming scheme later.

@bbovenzi bbovenzi merged commit 6fa3319 into apache:main Oct 2, 2024
53 checks passed
@bbovenzi bbovenzi deleted the add-is_paused-toggle branch October 2, 2024 09:08
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
* Add pause/unpause DAG toggle

* wire up onSuccess handler

* Refactor query names
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
* Add pause/unpause DAG toggle

* wire up onSuccess handler

* Refactor query names
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants