MsZoezo / dayta

GNU General Public License v3.0
0 stars 0 forks source link

Storing settings #18

Open MsZoezo opened 2 months ago

MsZoezo commented 2 months ago

What is the Problem?

We aren't storing the users settings.

Why is This a Problem?

Without settings being stored, they are lost when the user exists the app which is unexpected behaviour.

How do We Fix it?

When starting the application we'll send a json object containing our settings from rust to our react front-end. We'll store settings in the front end using react context. Upon changing and saving our settings we'll send them back to rust where we'll save them in an appropriate way for each platform.