acteng / atip

Active Travel Infrastructure Platform
https://acteng.github.io/atip/
Apache License 2.0
22 stars 4 forks source link

Overhaul sketch page UX #370

Closed dabreegster closed 1 year ago

dabreegster commented 1 year ago

248, #228, #134

I'll describe the changes when I mark this PR as ready for review. For now, please give feedback about https://acteng.github.io/atip/modal_shift/scheme.html?authority=Adur. Robin doesn't like the new top toolbar.

My TODOs:

Bigger followup ideas:

Pete-Y-CS commented 1 year ago

Some UI niggles: image which intervention has a problem?

image Filling in a form on the left and having to confirm in the top bar is a little confusing (keyboard shortcut would be nice too)

more significant bug: image It seems that the route snapper finishing loading doesn't enable route and snapped polygon: these have remained disabled for me until I input e.g. a freehand polygon, and once I finish doing that new route and snapped polygon are enabled

Pete-Y-CS commented 1 year ago

Another thought, well two thoughts, well three thoughts:

  1. a lot of LCWIPs have routes sharing some sections, depending on how we represent might be good to allow the user to colour code paths
  2. some LCWIPs include existing, to be upgraded, fully new in their LCWIP, I suppose we want to collect all 3 of these categories? The alternative would be upgraded and fully new only I suppose
  3. How do we want to represent shared paths? Here's an example from Peterborough where there are 3 conceptually distinct routes stacked together for most of their lengths: image
Pete-Y-CS commented 1 year ago

This isn't really about the rework but I'm gonna add here anyway: I think a useful feature would be freehand when editing an existing node on a path using edit geometry i.e. hold shift and the link to the previous and next node become a straight line and you can place the edited node whereever

Actually another thought, how hard would it be to add image

Add points to start

dabreegster commented 1 year ago

Thanks for all the feedback! Starting to look into some of these issues.

I think a useful feature would be freehand when editing an existing node on a path using edit geometry i.e. hold shift and the link to the previous and next node become a straight line and you can place the edited node whereever

Not sure I understood -- do you mean converting an existing node from snapped to freehand, probably in the middle of the route somewhere? This indeed seems useful. Maybe it'd be helpful to style snapped and freehand nodes differently, to make it even more clear which is which?

Filling in a form on the left and having to confirm in the top bar is a little confusing (keyboard shortcut would be nice too)

Agreed. The intention was for the main navigation / state-changing buttons to consistently be in the top bar. But maybe this is confusing. What if we instead just use the left sidebar for all of the controls? The current top bar will only be present in the neutral list mode, to give room for all of the "new" buttons. Or we could even change that -- go back to the right sidebar (and have it vanish once you're in any other mode) or have one "new" button in the left sidebar or something else. Suggestions / mockups welcome!

Pete-Y-CS commented 1 year ago

Fully removing the top bar whilst filling in the form at least feels worth trying.

Not sure I understood -- do you mean converting an existing node from snapped to freehand, probably in the middle of the route somewhere? This indeed seems useful. Maybe it'd be helpful to style snapped and freehand nodes differently, to make it even more clear which is which?

Yeah so you start dragging a node, press shift, and suddenly it becomes freehand, exactly. Styling them differently seems like a nice touch too

dabreegster commented 1 year ago

Fully removing the top bar whilst filling in the form at least feels worth trying.

Done. I think this looks better. Should we do it for all modes?

dabreegster commented 1 year ago

And summarizing all the bugs / feedback reported so far:

Fixed:

Later:

dabreegster commented 1 year ago

Alright, all the tests fixed up -- I think this MVP is ready!