Closed nicolaswurtz closed 1 year ago
I have 2 comments :
about the legend, why not display it with a hover on a '?' icon ?
The endpoint you'll want to use to retrieve the hierarchy of electrical profiles per mode is EDITOAST_URL/electrical_profile_set/<id>/level_order
with <id>
being the identifier of the electrical profile set chosen for the current timetable
at this moment, it looks like that:
Description and goal
Electrical profiles have to be shown on GEV like horizontal bars using color values from existing catenaries voltage colors (purple for 25000V, red for 1500V, cyan for 15000V, green for other voltages.
Acceptance criteria
used
.seen
is displayed inside white rounded (4px radius) inside bar if there's enough space, else it isn't displayed. The text inside always has the main color of voltage mode (doesn't become lighter with profiles step).seen
is differend than the valueused
, the rectangle must be hashed. The rules above still apply (color of hashes = color of modeused
, text inside the box = mode SEEN with the corresponding color).