DoctorFuchs / kiosk

Kiosk cash system app
GNU General Public License v3.0
7 stars 3 forks source link

Backup shop data at startup and then every 10 minutes as separate file, maximum of 10 backups #36

Closed codenius closed 2 years ago

DoctorFuchs commented 2 years ago

New Task:

Add a documentation how to rollback

codenius commented 2 years ago

Did it! 2cb69bf

codenius commented 2 years ago

Next one

DoctorFuchs commented 2 years ago

instead of a panic button, we may need a function to undo the last actions. (Maybe saved in cookies)

codenius commented 2 years ago

(Maybe saved in cookies)

Why not use a variable?

DoctorFuchs commented 2 years ago

Thats a question of frontend or backend, both is possible. I prefer frontend, because the action started here, so it's maybe easier to revert an action.

codenius commented 2 years ago

I meant a JavaScript runtime variable. Or do you think that it's required to keep this data over site refresh?

DoctorFuchs commented 2 years ago

Maybe it's more comfortable for users. At init we can get a json from a cookie