Jorricks commented on code in PR #26457:
URL: https://github.com/apache/airflow/pull/26457#discussion_r981430493


##########
airflow/www/static/js/dag/grid/dagRuns/Bar.tsx:
##########
@@ -110,7 +110,11 @@ const DagRunBar = ({
             width="10px"
             height={`${(duration / max) * BAR_HEIGHT}px`}
             minHeight="14px"
-            backgroundColor={stateColors[state]}
+            background={
+              run.notes != null && run.notes !== ''
+                ? `linear-gradient(-135deg,#000 8px, ${stateColors[state]} 0);`

Review Comment:
   Also added support for this in the Mapped instances. Don't mind the Chrome 
black inversion :)
   <img width="775" alt="image" 
src="https://user-images.githubusercontent.com/20257392/192575928-d3bec207-cdfc-4e61-83f3-9008141679a9.png";>
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to