Deleting a namespace would remove the item from the store and then try to remove it from the search index. That failed because the item was already removed from the store and thus undefined when it was passed to the store.
Remove/show favorites namespace if a task/list is the first to being marked as favorite
Add special case to prevent marking an archived list as favorite
Add marking a task as favorite on namespaces page
Prevent toggling the favorite state for the favorites list
Add method to toggle list favorite in the menu
Add favorite icon to lists in menu
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/237
Add loading spinner when updating a task
Show favorites namespace if the favorited task is the first favorite
Show the list favorited tasks belong to
Fix task width
Add method to mark a function as favorite
Make favorite clickable
Format
Hide favorite button when not hovered
Add button to mark a task as favorite
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/236
Merge branch 'master' into feature/vuex
Cleanup
Move namespaces handling to store
Move fullpage setting to store
Move online/offline handling to store
Remove debug log
Fix loading namepaces
Rename errorMsg
Handle registering through the store
Use store to determine wether or not a user is authenticated on login page
Use store in edit team
Use store to get the current user's avatar
Use store to figure out if the current user belongs to a team
Use store to figure out if the current user is list admin
Use store to get user info when listing labels
Use store to get username on home
Use store to figure out if the user is namespace admin
Use the store for configuration
Use the store to check if a user is authenticated everywhere
Only renew token if the user is logged in
Fix renewing auth from jwt token
Move logout to store
Move renew token to store
Move log in to store
Only show enabled migrators
Only show registration button if registration is enabled
Put all config information from the backend in the store
Remove old config handler
Move config state to seperate module
Add vuex and get the motd through it
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/126