1
0
Commit Graph

252 Commits

Author SHA1 Message Date
1a11b43ca8 feat: improve models 2022-09-13 14:59:02 +00:00
54de368642 fix: use typed useStore 2022-09-05 20:10:32 +02:00
49f3b928cb chore: minor fixes 2022-09-05 19:01:42 +02:00
7d4ba6249e feat: add modelTypes 2022-09-05 17:57:21 +02:00
041a1a4cc0 move constants 2022-09-05 17:43:55 +02:00
244478400a feat: improve store typing 2022-09-05 17:43:23 +02:00
3766b5e51b feat: improve store and model typing 2022-09-05 17:43:22 +02:00
42e72d14a4 chore: better variable typing 2022-09-05 17:38:37 +02:00
4a247b2a7d chore: remove global mixing 2022-09-05 17:38:11 +02:00
332acf012c feat: function attribute typing 2022-09-05 16:37:37 +02:00
8fb00653e4 feat: constants 2022-09-05 16:37:37 +02:00
af630d3b8c chore: improve type imports 2022-09-05 16:37:36 +02:00
f6437c81da feat: list settings edit script setup (#1988)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1988
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-09-02 15:13:32 +00:00
ff655808b3 feat: settings background script setup (#2104)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2104
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-09-01 16:09:50 +00:00
ad7ed86d36 fix: don't replace the last edited task with the one currently editing 2022-08-02 15:27:24 +02:00
cdb63b578d chore: use the <dropdown> and <dropdown-item> components everywhere
Resolves https://kolaente.dev/vikunja/frontend/issues/2176
2022-07-20 17:08:58 +02:00
175fb02629 fix: don't allow marking a task as done in a read-only list 2022-07-19 18:37:11 +02:00
dac9d918b5 feat(kanban): show loading indicators when handling tasks 2022-07-19 18:33:45 +02:00
e7de930129 fix: properly update state when duplicating a list 2022-07-19 17:15:39 +02:00
a0d0c2cb1f fix(kanban): error when moving a task to an empty bucket 2022-07-19 17:13:22 +02:00
0456f4a041 fix: use of sortable js with transition-group (#2160)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2160
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-07-19 14:32:12 +00:00
99cd68ad43 fix(kanban): make sure the task position is calculated correctly
The very first task in a bucket always has the position 0. Now, if we move another task in front of that, it too gets the position 0 assigned. That means the two first tasks now both have the position 0 and are not sorted correctly. This commit fixes that: When moving a task to the very first position it checks if the task now on the second position also has position 0 assigned to it. If that's the case, we'll now update that task's position as well to make sure it has another position than 0.
2022-07-13 16:51:56 +02:00
99a5afc817 fix: task sorting by position in list view
Resolves https://kolaente.dev/vikunja/frontend/issues/2119
2022-07-13 16:24:50 +02:00
4a8b7a726a fix: task sorting in table
Resolves https://kolaente.dev/vikunja/frontend/issues/2118
2022-07-13 16:19:58 +02:00
579cff647d feat: allow marking a task done from a filter
Resolves https://kolaente.dev/vikunja/frontend/issues/2113
2022-07-12 11:59:39 +02:00
9a26310ad6 fix(ListList): use ButtonLink 2022-07-06 21:07:26 +00:00
6ddede4863 feat(BaseButton): add target _blank for links by default 2022-07-06 21:07:26 +00:00
3b9bc5b2f8 feat: use BaseButton where easily possible
This replaces links with BaseButton components. BaseButton will use `<button type="button">` inside for this case. This improves accessibility a lot. Also we might be able to remove the `.stop` modifiers in some places because AFAIK the button element stops propagation by default.
2022-07-06 21:07:26 +00:00
2b8a786825 fix: archiving a list 2022-06-30 18:04:41 +02:00
8eed0be072 feat: enable kanban scroll snap only for mobile devices
Fixes https://github.com/go-vikunja/frontend/issues/64
2022-06-30 16:59:45 +02:00
e0864fab3e fix: properly define focus expose for new task input field
resolves #1993
2022-06-17 14:25:59 +02:00
745d4660d8 fix: properly reference task input textarea from parent component
Resolves #1993
2022-05-23 22:33:43 +02:00
5ef939a230 feature/fix-vue-i18n-9.2.31 (#1994)
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1994
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-05-23 05:23:59 +00:00
1569042471 fix: replace vue.draggable.next with zhyswan-draggable
Reason: Author doesn't maintain vue port anymore.
See: https://github.com/SortableJS/vue.draggable.next/issues/140#issuecomment-1123622724=
2022-05-22 23:44:16 +02:00
93b2482d4c feat: archive list script setup 2022-05-22 15:32:52 +00:00
5291fc1192 feat: NewList script setup (#1989)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1989
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-05-22 15:10:44 +00:00
96fce73192 fix: disabled attribute fallback (#1984)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1984
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-05-22 15:08:37 +00:00
a38bd7e971 fix: list title not set as page title after closing a task popup 2022-05-08 11:58:37 +02:00
c2694dc089 fix: filter button alignments and backgrounds for link shares 2022-05-08 11:13:19 +02:00
b40d6f783c fix: actually deleting the list now works 2022-04-25 19:59:02 +02:00
8578225982 feat: simplify namespace search (#1835)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1835
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-04-25 17:38:57 +00:00
62adf171ec feat: show the number of tasks we're about to remove when deleting a list 2022-04-24 18:11:10 +02:00
24701a17f5 fix: new task input focus 2022-04-24 17:26:57 +02:00
9c2438026b fix: remove obsolete watchEffect (#1795)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1795
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-04-18 17:32:21 +00:00
8473bd6a8b feat: add scroll snapping to kanban view 2022-04-11 22:09:06 +00:00
b2897545e4 fix: properly set list backgrounds when switching between lists
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
ba9f69344a feat: use defineComponent wrapper 2022-04-02 17:16:57 +02:00
a3329f1b42 feat: add lang ts to script block 2022-04-02 17:15:46 +02:00
4cff3ebee1 feat: use blurHash when loading list backgrounds (#1188)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1188
2022-04-02 15:05:30 +00:00
2e537f6d63 fix: loading list views would sometimes not get loaded
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