Skip to content

0022 settings error logic

donaldsonm edited this page Mar 10, 2021 · 2 revisions

Settings error logic

  • Status: Accepted
  • Deciders: Brandon Liu, Michael Donaldson
  • Date: 2021-03-09

Context and Problem Statement

What should happen if the user enters invalid input in the settings for Pomodoro lengths and volue?

Considered Options

  • Value becomes default values
  • Value becomes min and max values
  • Value returns to the value it was previously

Decision Outcome

Chosen option: Option 2 was chosen, as, most of the time when a user enters an invalid input, it will be because they want more or less time/volume than what we allow (primarily more, because our min is pretty low already.) In the case that a user wants more time, it makes more sense to give them the maximum time allowed, instead of giving them something else.

Clone this wiki locally