zeeguu / web

Frontend for the zeeguu web application.
https://www.zeeguu.org
3 stars 5 forks source link

UX principle: UI elements should not jump around if possible #354

Open mircealungu opened 2 months ago

mircealungu commented 2 months ago

e.g. the text visible jumps between the exercise and solution and it is unpleasant:

image

this would be one possible version where text would not jump around:

image

we should try to implement this @merleschoen @tfnribeiro

merleschoen commented 2 months ago

Yes, we should look into that! I remember having a discussion with @tfnribeiro whether the solution should be above or under the context and we agreed that it should be above the context for all exercises with bottom input for consistency, but I guess we can revisit that decision.

tfnribeiro commented 1 month ago

What about we place the button above. The idea is that most of the time we have Word -> Context -> Input, so we can keep this idea for the audio exercises. Here is how it looks:

SpellWhatYouHear

image

image

TranslateWhatYouHear

image

image

image

tfnribeiro commented 1 week ago

Implemented in https://github.com/zeeguu/web/tree/audio-exercise-aligned-with-sol, will do a PR with the screenshots of before and after. Essentially, the word is always shown on top after the progress bar, followed by context if it exists, input correct and navigation.