kaxil commented on code in PR #68028:
URL: https://github.com/apache/airflow/pull/68028#discussion_r3366362794
##########
airflow-core/src/airflow/utils/state.py:
##########
@@ -157,6 +160,7 @@ class State:
TaskInstanceState.REMOVED: "lightgrey",
TaskInstanceState.SCHEDULED: "tan",
TaskInstanceState.DEFERRED: "mediumpurple",
+ TaskInstanceState.AWAITING_INPUT: "darkorange",
Review Comment:
`state_color` maps each state to a distinct CSS color name, and `orange` is
already taken by `UPSTREAM_FAILED` there. `theme.ts` can use `orange` for
`awaiting_input` because it maps `upstream_failed` to `amber` instead (it's a
separate Chakra-palette system, so the two don't need identical strings).
`darkorange` keeps `awaiting_input` in the same orange family as the UI token
while staying distinct in `state_color`. Happy to switch to another shade if
you'd prefer.
--
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]