Some settings not getting saved #1250
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1250
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version information:
Frontend Version: sha256:4aeda57e0037e9f2db56f5706b7232c4252671657e74d35b9aa65feeac121d0f
API Version: sha256:8b707ff1beebc1c8e61c482a6968d10b5132e83f7fa35d066c15388376790b6b
Browser and OS Version: Firefox (104.0.2) & Windows 10 Version 21H2
Steps to reproduce:
...
Expected behavior:
'Color Scheme' and 'Play a sound when marking tasks as done' should be saved
Actual behavior:
'Color Scheme' and 'Play a sound when marking tasks as done' are not saved
How to fix it:
Missing columns in the users table and user_settings.go does not set 'Color Scheme' and 'Play a sound when marking tasks as done'. There might be more settings which are not getting set, I only did notice it on these both.
Checklist:
The settings were saved in localStorage.
Since https://kolaente.dev/vikunja/frontend/commit/51ffe93 they get cleared when you log out since they leaked between users.
Related: vikunja/frontend#2247
As you point out this should be saved in the database.
@konrad:
Not sure if we should add a new column for every simple user setting.
Wouldn't it make more sense to have a field that contains a json to join simple settings? Else we need to adjust api / tables for every small persistent setting.
I see... thanks for the information. I guess I will search for a work around until they found a fitting solution for the issue.
@WaduLag:
If you are using the app alone on your computer you can check 'Stay logged in' in order to prevent logout and deletion of the
localStorage
cache.Yes. I think we should add a json field to the db for all settings that are exclusive for the frontend.
See: vikunja/api#1452
@konrad I guess this issue is done