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/05/04 19:02:20 UTC

[airflow] branch main updated: Visually distinguish task group summarys (#23488)

This is an automated email from the ASF dual-hosted git repository.

bbovenzi 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 0fde90d92a Visually distinguish task group summarys (#23488)
0fde90d92a is described below

commit 0fde90d92ae306f37041831f5514e9421eee676b
Author: Brent Bovenzi <br...@gmail.com>
AuthorDate: Wed May 4 15:01:51 2022 -0400

    Visually distinguish task group summarys (#23488)
    
    Bold task groups names and darken their bottom row border.
---
 airflow/www/static/js/grid/TaskName.jsx       | 1 +
 airflow/www/static/js/grid/renderTaskRows.jsx | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/airflow/www/static/js/grid/TaskName.jsx b/airflow/www/static/js/grid/TaskName.jsx
index d2f57ff95e..34736842d8 100644
--- a/airflow/www/static/js/grid/TaskName.jsx
+++ b/airflow/www/static/js/grid/TaskName.jsx
@@ -35,6 +35,7 @@ const TaskName = ({
     mr={4}
     width="100%"
     alignItems="center"
+    fontWeight={isGroup || isMapped ? 'bold' : 'normal'}
   >
     <Text
       display="inline"
diff --git a/airflow/www/static/js/grid/renderTaskRows.jsx b/airflow/www/static/js/grid/renderTaskRows.jsx
index 8713c3801d..9c4f6d7690 100644
--- a/airflow/www/static/js/grid/renderTaskRows.jsx
+++ b/airflow/www/static/js/grid/renderTaskRows.jsx
@@ -132,7 +132,7 @@ const Row = (props) => {
       <Tr
         bg={isSelected && 'blue.100'}
         borderBottomWidth={isFullyOpen ? 1 : 0}
-        borderBottomColor="gray.200"
+        borderBottomColor={isGroup && isOpen ? 'gray.400' : 'gray.200'}
         role="group"
         _hover={!isSelected && { bg: hoverBlue }}
         transition="background-color 0.2s"