lrperlmu / emotional_clarity

Micro interventions to help teens get through stress.
0 stars 2 forks source link

Navigation clarity (the next issue) #112

Closed lrperlmu closed 4 years ago

lrperlmu commented 4 years ago

Be clear when you can't go back after clicking "next"

Only block the "back" action when absolutely necessary

mayacakmak commented 4 years ago

One idea is to change the non-reversable "Next" buttons to "Done" and "Submit" as appropriate. Not as explicit as option one above but more concise.

mayacakmak commented 4 years ago

I went ahead and implemented the simple indicators "OK" (if only statements) "submit" (if there are questions) or "done" (within the app) to replace "next" for non-reversible forward navigation buttons. is_next_reversible() was already implemented so this just required a simple check within the render() function of Nav, but had to add a has_questions flag to frames to have the more meaningful keywords for the buttons.