asascience / ott-coops

Project Tracking for OTT Co-Ops
1 stars 0 forks source link

Sync Virtual Station, Custom Layer, and Traffic Light Layer UI #418

Closed kvmartin001 closed 2 years ago

kvmartin001 commented 2 years ago
jamesdoyle21 commented 2 years ago

This looks good. It just needs one more thing. For the Custom Layers tool, when the user clicks save, the "Cancel" switches to "Back" - as I would expect. For the virtual station and traffic light tool, cancel never switches to back like it should

https://user-images.githubusercontent.com/82955395/168124152-ff9cde44-224f-4149-b152-1e1ac0cd723d.mp4

jamesdoyle21 commented 2 years ago

One other small thing. When you have a layer saved and edit that layer, virtual stations looks good, custom layers looks good, but traffic light tool opens the edit page with cancel and save highlighted, not back and save like the other two.

https://user-images.githubusercontent.com/82955395/176214962-8a65f663-a57a-4053-ba00-a5d785836f3b.mp4

jamesdoyle21 commented 2 years ago

@kvmartin001 this seems like an easy win. Just need to change the cancel button in traffic light layers to act like the back button in virtual stations

kvmartin001 commented 2 years ago

@jamesdoyle21 I'm planning to tackle this tomorrow morning. This is caused by the traffic light range slider causing too many value changes in the form, so it's a bit tricky