You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2022/04/19 20:40:50 UTC
[airflow] branch main updated: Make Grid and Graph buttons consistent. (#23097)
This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 5b76552e6d Make Grid and Graph buttons consistent. (#23097)
5b76552e6d is described below
commit 5b76552e6d87f973b0273afe5912c7344463f27d
Author: Brent Bovenzi <br...@gmail.com>
AuthorDate: Tue Apr 19 15:40:39 2022 -0500
Make Grid and Graph buttons consistent. (#23097)
---
airflow/www/static/js/dag.js | 2 ++
airflow/www/static/js/tree/details/content/taskInstance/Nav.jsx | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/airflow/www/static/js/dag.js b/airflow/www/static/js/dag.js
index 96f4a74484..ca8b7cc676 100644
--- a/airflow/www/static/js/dag.js
+++ b/airflow/www/static/js/dag.js
@@ -218,12 +218,14 @@ export function callModal({
$('#btn_rendered').hide();
$('#btn_xcom').hide();
$('#btn_log').hide();
+ $('#btn_task').hide();
} else {
$('#task_actions').text('Task Actions');
$('#btn_rendered').show();
$('#btn_xcom').show();
$('#btn_log').show();
$('#btn_mapped').hide();
+ $('#btn_task').show();
}
$('#dag_dl_logs').hide();
diff --git a/airflow/www/static/js/tree/details/content/taskInstance/Nav.jsx b/airflow/www/static/js/tree/details/content/taskInstance/Nav.jsx
index 1b7062f898..93ee175b69 100644
--- a/airflow/www/static/js/tree/details/content/taskInstance/Nav.jsx
+++ b/airflow/www/static/js/tree/details/content/taskInstance/Nav.jsx
@@ -98,7 +98,7 @@ const Nav = ({
<LinkButton href={xcomLink}>XCom</LinkButton>
</>
)}
- <LinkButton href={allInstancesLink} title="View all instances across all DAG runs">All Instances</LinkButton>
+ <LinkButton href={allInstancesLink} title="View all instances across all DAG runs">List Instances, all runs</LinkButton>
<LinkButton href={filterUpstreamLink}>Filter Upstream</LinkButton>
</Flex>
<Divider mt={3} />