You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bo...@apache.org on 2018/01/11 20:10:17 UTC
incubator-airflow git commit: [AIRFLOW-1988] Change BG color of None
state TIs
Repository: incubator-airflow
Updated Branches:
refs/heads/master 26911864f -> 61419ddc8
[AIRFLOW-1988] Change BG color of None state TIs
On Task Instances page 'None' state TIs are not-
visible due to white
background. Changing background color for better
UX.
Closes #2931 from msumit/AIRFLOW-1988
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/61419ddc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/61419ddc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/61419ddc
Branch: refs/heads/master
Commit: 61419ddc8db5f393bd79d200fc09424721877729
Parents: 2691186
Author: Sumit Maheshwari <su...@qubole.com>
Authored: Thu Jan 11 21:10:10 2018 +0100
Committer: Bolke de Bruin <bo...@xs4all.nl>
Committed: Thu Jan 11 21:10:10 2018 +0100
----------------------------------------------------------------------
airflow/utils/state.py | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/61419ddc/airflow/utils/state.py
----------------------------------------------------------------------
diff --git a/airflow/utils/state.py b/airflow/utils/state.py
index 4a1dfb6..6561065 100644
--- a/airflow/utils/state.py
+++ b/airflow/utils/state.py
@@ -48,6 +48,7 @@ class State(object):
UPSTREAM_FAILED,
UP_FOR_RETRY,
QUEUED,
+ NONE,
)
dag_states = (
@@ -67,6 +68,7 @@ class State(object):
SKIPPED: 'pink',
REMOVED: 'lightgrey',
SCHEDULED: 'white',
+ NONE: 'lightblue',
}
@classmethod