Commit Graph

12 Commits

Author SHA1 Message Date
627d92d5d4
fix: forgotten import
All checks were successful
continuous-integration/drone/pr Build is passing
2022-03-27 22:40:23 +02:00
db2005658c
fix: lint
Some checks reported errors
continuous-integration/drone/pr Build was killed
2022-03-27 22:38:59 +02:00
063a17e5ee
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 22:38:56 +02: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