Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

(Some) settings from the database are ignored #568

Closed
BelKed opened this issue May 9, 2024 · 1 comment · Fixed by #573
Closed

(Some) settings from the database are ignored #568

BelKed opened this issue May 9, 2024 · 1 comment · Fixed by #573

Comments

@BelKed
Copy link
Contributor

BelKed commented May 9, 2024

(Some) settings that aren't saved in Local Storage are ignored by ActivityWatch. For example, the landing page setting — even if it is changed to Activity (unknown) (/activity/unknown/view/), the default homepage will be loaded:

Screenshot


Another example is using the default categorization even if a custom one is in the database and also loaded in the web UI by a request (/api/0/settings).

@ErikBjare
Copy link
Member

ErikBjare commented May 9, 2024

The issue of landing page settings I "fixed", but had to revert due to it not being initialized on time: 6bffa65#comments

I'm not really sure how to fix that one, except try to keep a value around in localStorage that gets refreshed on every settings fetch (which might not be happening right now).


Another example is using the default categorization even if a custom one is in the database and also loaded in the web UI by a request

Yes, I remember something being weird there. Will have a look along with #567.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants