Commit Graph

15 Commits

Author SHA1 Message Date
b2897545e4
fix: properly set list backgrounds when switching between lists
Some checks failed
continuous-integration/drone/push Build is failing
Probably caused by the blur hash feature, switching between lists would not work if the list background was set via unsplash. I've refactored the whole decision tree which checks if a background should be loaded or not. It actually does not matter where the background is from (unsplash or upload) or if we had one in the last list - we only need to know if the current list has a background or if we just changed it and need to update right away.
2022-04-03 14:20:16 +02:00
4cff3ebee1 feat: use blurHash when loading list backgrounds (#1188)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #1188
2022-04-02 15:05:30 +00:00
2e537f6d63
fix: loading list views would sometimes not get loaded
All checks were successful
continuous-integration/drone/push Build is passing
To make sure the tasks of a list are only loaded after the list itself is fetched from the server, we hide the list view until the list is fully loaded. When switching between different views of the same list, this would cause the list view to not be loaded at all because the list was already loaded at that point.

closes #1732
2022-04-02 12:47:13 +02:00
46050611d8 fix: forgotten import
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-27 21:06:30 +00:00
a055a3ea52 fix: lint 2022-03-27 21:06:30 +00:00
b7a976a9cf fix: setting the last viewed list after navigating away from it
The new list background was set on the home page when navigating to the list. This was because the `CURRENT_LIST` was set to the last visited list, even after the call to `this.$store.commit(CURRENT_LIST, null)` because everything is async. I tracked the problem down to the call to `watchEffect` in the ListWrapper component. Apparently, `watchEffect` is called every time _the watched variable is assigned to_ and not only when it changes. When navigating away from the list, that watcher is getting called with the list id, the one already loaded, and sets it in store which in turn overrides the call from the contentAuth component.
2022-03-27 21:06:30 +00:00
7f56a3537c fix: load the list tasks only after the list itself was loaded (#1251)
Some checks failed
continuous-integration/drone/push Build is failing
Currently, when opening a list sometimes the tasks are shown before the list itself is loaded. Because the list contains the rights, this means no edit buttons etc are available at that point which is pretty confusing.

This PR ensures the list-specific view is loaded only after the list itself is loaded.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #1251
2022-03-27 19:56:56 +00:00
a23b4a96ee
fix: kanban board layout on mobile
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-27 16:36:20 +01:00
de3c47dc69
fix ts errors in various files 2022-01-30 16:53:46 +01:00
76f4cca5fe
fix: move local storage list view to router 2022-01-04 21:55:33 +01:00
5916a44724
feat: provide listId prop via router 2022-01-04 21:55:32 +01:00
2db820d926
feat: review changes 2022-01-04 21:55:32 +01:00
5937f01cc5
fix: list loading 2022-01-04 21:55:30 +01:00
29a9335844
feat: save current list view just once 2022-01-04 21:55:30 +01:00
7eed0628d0
feat: mount list views as route-views 2022-01-04 21:55:30 +01:00