sashuk / watsonc

WatsonC Vidi extension
0 stars 2 forks source link

Small fix for profile-tool #92

Closed ksnwatsonc closed 5 years ago

ksnwatsonc commented 5 years ago

Hey @sashuk

We have done some slight changes to the profile tool menu, to make the user path more obvious. Basically, only one step get revealed at a time. First the user types a name for the profile and clicks "Fortsæt" (continue). This opens up for the next step, where the user can make adjustment to buffer, "profilbund" and data type, and draw the profile.

When the user chooses a data type, it should be possible to pick nothing. On the list, this option should be named "Vis uden datatype" and be the first option on the list.

Once the user clicks "Tegn profil", the adjustments above are faded and non-clickable, as the users can not make these changes now.

When the user has drawn the line, the "Fortsæt"-button (continue) gets more visible. The user can also choose to "Fortryd" (undo) the line, and change the adjustments or just re-draw the line.

Once the user clicks "Fortsæt" the models/maps are generated. The user makes his decision and press "Gem og afslut" (Save and continue). This will add the newly created profile to the users list, and the profile tool steps will close down to show only the first step again.

Web 1920 – 1 Web 1920 – 5 Web 1920 – 7 Web 1920 – 9 Web 1920 – 10 Web 1920 – 11

sashuk commented 5 years ago

@mapcentia @ksnwatsonc Implemented in https://github.com/sashuk/watsonc/commit/b5c2b5a10fc8e395250123b6c62ed112b64d0df6

Demo: profiles