YoavHaifa / WorkersRightsComputer

Half ready version
1 stars 0 forks source link

Clearing the user name should be separate from clearing the individual worker's information #27

Open eyalroz opened 4 years ago

eyalroz commented 4 years ago

When finishing entering details and generating outputs for one client, the user typically presses the Reset button. Unfortunately, that also clears the user's name field at the bottom of the calculator - which, with most button presses, the user does not wish to do: It is still the same user which enters information, now for a different client.

Additionally, when the user (= the person using the calculator) actually gets replaced by another person, that is usually after the computer has either been shut down, or has been inactive for a long period of time (end of the workday).

I therefore suggest that the Reset button not clear the user name field by default; and that the field either never be cleared automatically (except on startup), or alternatively - cleared on Reset after a long period of inactivity (e.g. 30 minutes or 1 hour).

This issue is independent of question of what the field gets reset to (issue #6).