1
0

11 Commits

Author SHA1 Message Date
kolaente
f1451abebe
fix(home): explicitly use filter for tasks on home page when one is set
Resolves https://github.com/go-vikunja/vikunja/issues/289
Resolves https://community.vikunja.io/t/various-sorting-filtering-issues/2781/5

(cherry picked from commit 97e030a1fc032c73ca6144139a488c18979fb310)
2024-09-20 14:26:24 +02:00
Dominik Pschenitschni
96884372b4
fix(projects): trigger only single mutation
Previously these store methods created multiple edits on deep objects in the store or edited a deep nested object directly.

This is bad because:
- multiple edits lead to multiple triggers of all the watchers on the project.
- in theory we should listen deep to a project if we use some deep reactive value of a project, if we want deep updates. Because this is easy to forget, it's better to update the project directly. For this the method `setProject` already existed in the store. This is no real overhead because Vue is smart enough to only trigger listeners that use data of the modified state.

By modifying only a copy of the view and submitting the modified result __once__ we can save us a lot of headache.

PS: I'm not sure if there were any visible problems, because Vue is really fast and the reactivity system works quite well. Regardless of this we should try not to modify state unnecessarily.
(cherry picked from commit 1e632397d29e9d45609b9271e00111c0a6cb2c57)
2024-08-12 20:16:15 +02:00
Dominik Pschenitschni
d707e1576a
feat: improve projects store
(cherry picked from commit 1e523a1a39810ffd578f15fbefe034c70ed5a066)
2024-08-12 20:16:11 +02:00
kolaente
d12deee977
feat(views): allow reordering views
Resolves https://community.vikunja.io/t/reordering-views/2394
2024-06-18 16:39:52 +02:00
Dominik Pschenitschni
917cbf9cb6 fix(vue): toValue instead of unref 2024-06-10 13:53:13 +00:00
kolaente
0bc9a670d7
fix(task): do not crash when loading a task if parent projects are not loaded
Related to https://community.vikunja.io/t/vikunja-freezes/2246
Related to https://github.com/go-vikunja/vikunja/issues/233
2024-04-12 17:56:19 +02:00
kolaente
7acd1a7e51
fix(project): remove child projects from state when deleting a project 2024-04-07 15:03:18 +02:00
kolaente
bec9e3eb7d
fix(views): set current project after modifying views 2024-03-19 00:47:51 +01:00
kolaente
434b1ea0e8
feat(views): crud in frontend 2024-03-19 00:47:50 +01:00
kolaente
89b01e86bc
fix(projects): load all projects when first opening Vikunja 2024-03-02 13:43:04 +01:00
kolaente
fc4676315d
chore: move frontend files 2024-02-07 14:56:56 +01:00