shubhamraj-git commented on PR #45587:
URL: https://github.com/apache/airflow/pull/45587#issuecomment-2585699243
I have currently utilised the Run status colour which closely aligns with
the pool slot options. Reason to that is, run status colours are used all over
the UI from a single source of truth(airflow/ui/src/utils/stateColor.ts). Just
to not confuse users I kept the same colours of that.
The stateColor currently used are:
```
export const stateColor = {
deferred: "mediumpurple",
failed: "red",
null: "lightblue",
queued: "gray",
removed: "lightgrey",
restarting: "violet",
running: "lime",
scheduled: "tan",
skipped: "hotpink",
success: "green",
up_for_reschedule: "turquoise",
up_for_retry: "gold",
upstream_failed: "orange",
};
```
One advantage of this would be when users will personalise the status
colours of runs
(https://airflow.apache.org/docs/apache-airflow/1.10.13/howto/customize-state-colors-ui.html)
these values will also change.
I would alternately use the below options if we are open to chose colours:
```
Open Slots Green
Scheduled Slots Gray
Running Slots Blue
Queued Slots Orange
Occupied Slots Yellow
Deferred Slots Red
```
Which would look like
<img width="1725" alt="Screenshot 2025-01-12 at 4 01 20 PM"
src="https://github.com/user-attachments/assets/5fda2655-45d7-48ce-86b7-60f92620787e"
/>
--
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]