-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Add pendingActions onto ui/dags #55041
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
Conversation
|
Need to do some more "Required Actions" -> "Needs Review" renaming but in another PR |
jscheffl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filter looks good in general but ... naming is hard. I am not 100% OK with "Needs Review". Functional and Code is perfect!
airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/StateFilters.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking, this can be done in follow-up PR.
Would it be better to check whether the pending_actions_select.value is None or not then decide whether to execute the pending_actions_select query?
airflow-core/src/airflow/api_fastapi/core_api/routes/ui/dags.py
Outdated
Show resolved
Hide resolved
|
If you plan to merge it before the 3.1 release, please consider my comment in this PR: #55119 (comment) |
sure :) |
b1421c8 to
f695cba
Compare
ddf2906 to
d9597b7
Compare
pierrejeambrun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one nit, but looks good. Thanks.
airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_dags.py
Outdated
Show resolved
Hide resolved
Thanks for the reminder. I'll try to reduce the i18n surface area of this PR and keep any renaming discussion on a follow up branch. |
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
* Add pendingActions onto ui/dags * refactor(api_fastapi): unify usage of the term Dag * refactor(api_fastapi): simplify HITL loading logic * test: add test case test_should_return_200_with_hitl * Refactor naming scheme and filter * fix(hitl): fix has_pending_actions to use >= 1 and == 0 to query * feat(zh-tw): update Taiwanese Mandarin translation * Reduce i18n surface area and parameterize dags test --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
Related: #54961
Add hitl that need reviews as
pending_actionson ui/dags. Show "Needs Review" as a badge on the dags list. Allow a user to filter the dags list to only show dags that need review. Dashboard link now redirects to the dags list filtered.^ 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.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.