You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bb...@apache.org on 2022/03/23 16:37:19 UTC
[airflow] branch mapped-task-drawer updated (713f85a -> a5dec48)
This is an automated email from the ASF dual-hosted git repository.
bbovenzi pushed a change to branch mapped-task-drawer
in repository https://gitbox.apache.org/repos/asf/airflow.git.
from 713f85a Address PR feedback
add a5dec48 Handle task/run action sideeffects by separating autorefresh and treeData hooks
No new revisions were added by this update.
Summary of changes:
airflow/www/static/js/tree/Tree.jsx | 16 ++-
airflow/www/static/js/tree/api/index.js | 2 +
airflow/www/static/js/tree/api/useClearRun.js | 21 +++-
airflow/www/static/js/tree/api/useClearTask.js | 21 +++-
airflow/www/static/js/tree/api/useMarkFailedRun.js | 3 +
.../www/static/js/tree/api/useMarkFailedTask.js | 3 +
.../www/static/js/tree/api/useMarkSuccessRun.js | 3 +
.../www/static/js/tree/api/useMarkSuccessTask.js | 3 +
airflow/www/static/js/tree/api/useQueueRun.js | 3 +
airflow/www/static/js/tree/api/useRunTask.js | 20 +++-
.../www/static/js/tree/{ => api}/useTreeData.js | 66 +++---------
.../static/js/tree/{ => api}/useTreeData.test.jsx | 67 +++---------
airflow/www/static/js/tree/dagRuns/index.jsx | 2 +-
airflow/www/static/js/tree/dagRuns/index.test.jsx | 17 +--
airflow/www/static/js/tree/details/Header.jsx | 2 +-
.../js/tree/details/content/dagRun/index.jsx | 2 +-
.../js/tree/details/content/taskInstance/index.jsx | 2 +-
.../content/taskInstance/taskActions/Run.jsx | 4 +-
airflow/www/static/js/tree/details/index.jsx | 12 ++-
airflow/www/static/js/tree/index.jsx | 9 +-
.../www/static/js/tree/providers/autorefresh.jsx | 69 ++++++++++++
.../static/js/{utils.js => tree/treeDataUtils.js} | 35 +++---
airflow/www/views.py | 119 ++++++++++-----------
23 files changed, 282 insertions(+), 219 deletions(-)
rename airflow/www/static/js/tree/{ => api}/useTreeData.js (53%)
rename airflow/www/static/js/tree/{ => api}/useTreeData.test.jsx (57%)
create mode 100644 airflow/www/static/js/tree/providers/autorefresh.jsx
copy airflow/www/static/js/{utils.js => tree/treeDataUtils.js} (60%)