Commit graph

605 commits

Author SHA1 Message Date
kolaente
dac9d918b5
feat(kanban): show loading indicators when handling tasks 2022-07-19 18:33:45 +02:00
kolaente
e7de930129
fix: properly update state when duplicating a list 2022-07-19 17:15:39 +02:00
kolaente
a0d0c2cb1f
fix(kanban): error when moving a task to an empty bucket 2022-07-19 17:13:22 +02:00
kolaente
62bbffb17e
fix: user avatar settings 2022-07-19 17:00:40 +02:00
Dominik Pschenitschni
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
kolaente
a4c3939fb6
fix: make sure saved filter data is correctly populated when editing a filter
Resolves https://kolaente.dev/vikunja/frontend/issues/2114
2022-07-13 17:52:42 +02:00
kolaente
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
kolaente
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
kolaente
4a8b7a726a
fix: task sorting in table
Resolves https://kolaente.dev/vikunja/frontend/issues/2118
2022-07-13 16:19:58 +02:00
kolaente
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
kolaente
ab7bf7d8f9
fix: datepicker button color and spacing for overdue dates 2022-07-11 16:41:08 +02:00
Dominik Pschenitschni
9a26310ad6 fix(ListList): use ButtonLink 2022-07-06 21:07:26 +00:00
Dominik Pschenitschni
6ddede4863 feat(BaseButton): add target _blank for links by default 2022-07-06 21:07:26 +00:00
Dominik Pschenitschni
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
Dominik Pschenitschni
58358481bc fix linting 2022-07-04 21:50:48 +00:00
kolaente
580b012993
feat: add inputmode=generic to totp fields 2022-07-04 16:55:27 +02:00
kolaente
2b8a786825
fix: archiving a list 2022-06-30 18:04:41 +02:00
kolaente
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
kolaente
e0864fab3e
fix: properly define focus expose for new task input field
resolves #1993
2022-06-17 14:25:59 +02:00
konrad
e468595ce4 feat: ask for confirmation before deleting a label (#1996)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1996
2022-06-16 16:21:06 +00:00
kolaente
31c49aed4b
feat: add option to configure overdue reminders email time 2022-06-16 16:52:25 +02:00
kolaente
0997c3868d
chore: migrate namespace edit component to script setup 2022-06-12 15:12:14 +02:00
kolaente
aadf75c7bf
fix: don't try to load the namespace again when navigating away from the settings page
Resolves https://github.com/go-vikunja/frontend/issues/58
2022-06-12 14:59:53 +02:00
kolaente
6fc87e1515
feat: add print styles 2022-06-02 23:00:21 +02:00
konrad
efed128f03 fix: rely on api to properly sort tasks on home page (#1997)
This PR changes the behaviour of how tasks are sorted. Before, the frontend would sort tasks but this resulted in some cases where tasks were not sorted properly. Most of this is test code to reliably reproduce the problem and make fixing it easier.
The actual bug was in Vikunja's api, therefore I've removed all sorting of tasks in the frontend and ensured the api properly sorts tasks.

Fixes https://github.com/go-vikunja/frontend/issues/54

Depends on https://kolaente.dev/vikunja/api/pulls/1177

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1997
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-06-01 16:59:59 +00:00
Dominik Pschenitschni
d996e39a86 feat: OpenIdAuth script setup 2022-05-27 17:41:35 +00:00
kolaente
72c123f3f9
feat: add alt+r shortcut to bring up reminder input on task detail view 2022-05-23 22:58:54 +02:00
kolaente
745d4660d8
fix: properly reference task input textarea from parent component
Resolves #1993
2022-05-23 22:33:43 +02:00
Dominik Pschenitschni
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
Dominik Pschenitschni
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
Dominik Pschenitschni
53dc7d12f7
feat: remove vue3 compat mode 2022-05-22 23:44:16 +02:00
Dominik Pschenitschni
17b77c25c1 feat: ListTeams script setup 2022-05-22 15:44:05 +00:00
Dominik Pschenitschni
93b2482d4c feat: archive list script setup 2022-05-22 15:32:52 +00:00
Dominik Pschenitschni
27f7541b25 feat: Migrate script setup 2022-05-22 15:32:34 +00:00
Dominik Pschenitschni
c1e4eba7f5 feat: TOTP script setup 2022-05-22 15:32:10 +00:00
Dominik Pschenitschni
829eed0b9f fix: problem with newTaskInput ref (#1986)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1986
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-05-22 15:13:12 +00:00
Dominik Pschenitschni
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
Dominik Pschenitschni
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
Dominik Pschenitschni
6bab1088c7 feat: make user settings links config driven (#1990)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1990
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:03:09 +00:00
Dominik Pschenitschni
2c270d063e feat: user General script setup (#1938)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1938
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-20 05:36:08 +00:00
Dominik Pschenitschni
d11fae1c38 feat: user DataExport script setup 2022-05-19 20:44:43 +00:00
Dominik Pschenitschni
4b6015da99 fix: import in PasswordReset (#1923)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1923
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-05-14 15:05:49 +00:00
Dominik Pschenitschni
6538a3591e feat: EmailUpdate script setup (#1932)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1932
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-05-14 14:51:33 +00:00
Dominik Pschenitschni
3ecd1d8db6 feat: user PasswordUpdate script setup (#1933)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1933
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-05-14 14:50:52 +00:00
Dominik Pschenitschni
fe698a6f84 feat: user Avatar script setup (#1935)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1935
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-05-14 14:48:29 +00:00
Dominik Pschenitschni
76826855e4 feat: user deletion script setup (#1936)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1936
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-05-14 14:45:45 +00:00
kolaente
a38bd7e971
fix: list title not set as page title after closing a task popup 2022-05-08 11:58:37 +02:00
kolaente
c2694dc089
fix: filter button alignments and backgrounds for link shares 2022-05-08 11:13:19 +02:00
kolaente
ed85557cf3
fix: dark mode for user and team settings 2022-05-01 22:25:15 +02:00
kolaente
cbecea62ae
chore: convert edit team to script setup 2022-05-01 22:19:20 +02:00
kolaente
86efe9fd23
fix: remove user from team 2022-05-01 21:47:07 +02:00
kolaente
b40d6f783c
fix: actually deleting the list now works 2022-04-25 19:59:02 +02:00
Dominik Pschenitschni
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
kolaente
62adf171ec
feat: show the number of tasks we're about to remove when deleting a list 2022-04-24 18:11:10 +02:00
kolaente
24701a17f5
fix: new task input focus 2022-04-24 17:26:57 +02:00
kolaente
89c81ae854
fix: subscription works correctly again 2022-04-24 17:06:00 +02:00
Dominik Pschenitschni
17a42dc2e7 feat: remove copy-to-clipboard (#1797)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1797
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-04-23 15:58:29 +00:00
kosssi
bf3e16c6ee fix: checklist summary design on home page (#1842)
Co-authored-by: Simon C <simonc@linux.com>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1842
Reviewed-by: konrad <k@knt.li>
Co-authored-by: kosssi <kosssi@noreply.kolaente.de>
Co-committed-by: kosssi <kosssi@noreply.kolaente.de>
2022-04-22 08:07:15 +00:00
Dominik Pschenitschni
080675b38f fix: uppercase types (#1810)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1810
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:40 +00:00
Dominik Pschenitschni
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
Dominik Pschenitschni
8473bd6a8b feat: add scroll snapping to kanban view 2022-04-11 22:09:06 +00:00
Dominik Pschenitschni
b9637e1bb6 chore: simple Login view improvements (#1791)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1791
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-10 18:42:29 +00:00
kolaente
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
kolaente
898b22b377
fix: create token 2022-04-02 17:37:52 +02:00
Dominik Pschenitschni
b1159f331f
feat: remove duplicate rel attribute 2022-04-02 17:37:52 +02:00
Dominik Pschenitschni
50575ffd68
feat: flatten and reorder after all 2022-04-02 17:37:51 +02:00
Dominik Pschenitschni
eb7667e27e
chore: use BaseButton 2022-04-02 17:37:51 +02:00
kolaente
041f888492
chore: use .then instead of await 2022-04-02 17:37:51 +02:00
kolaente
343be4d5d6
chore: directly use newToken.value 2022-04-02 17:37:51 +02:00
kolaente
b9fa08116d
chore: rename to useTokens 2022-04-02 17:37:51 +02:00
kolaente
460a4dbdbe
chore: use h5 2022-04-02 17:37:51 +02:00
kolaente
da4f5a0f75
chore: move success message after state changes 2022-04-02 17:37:51 +02:00
kolaente
ca330fe63b
chore: use function statements everywhere 2022-04-02 17:37:51 +02:00
kolaente
af6385bc60
chore: check for no results 2022-04-02 17:37:51 +02:00
kolaente
19b772f8ee
fix: type 2022-04-02 17:37:50 +02:00
kolaente
b65839d0d7
fix: lint 2022-04-02 17:37:50 +02:00
kolaente
043bf62ef3
chore: extract getting all tokens into a composable 2022-04-02 17:37:50 +02:00
kolaente
f042651986
chore: make server functions async 2022-04-02 17:37:50 +02:00
kolaente
0299ed32f3
chore: use findIndex to remove caldav token 2022-04-02 17:37:50 +02:00
kolaente
cb067461aa
chore: use ts for caldav component 2022-04-02 17:37:50 +02:00
kolaente
6b899be202
chore: clarify token is required for non-local users 2022-04-02 17:37:50 +02:00
kolaente
7bdefd9a3e
chore: put action buttons right 2022-04-02 17:37:50 +02:00
kolaente
8e5a318d4c
feat: manage tokens 2022-04-02 17:37:50 +02:00
kolaente
75f09ec5db
chore: move to script setup 2022-04-02 17:37:48 +02:00
Dominik Pschenitschni
ba9f69344a
feat: use defineComponent wrapper 2022-04-02 17:16:57 +02:00
Dominik Pschenitschni
a3329f1b42
feat: add lang ts to script block 2022-04-02 17:15:46 +02:00
konrad
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
kolaente
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
konrad
9b09fadbd0 feat: add date math for filters (#1342)
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1342
2022-03-28 17:30:42 +00:00
kolaente
46050611d8 fix: forgotten import 2022-03-27 21:06:30 +00:00
kolaente
a055a3ea52 fix: lint 2022-03-27 21:06:30 +00:00
kolaente
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
kolaente
42c0fc6185 fix: make sure a list background is set in store when adding one
When creating a new list, setting a background and then navigating to the home page, the list background would not be shown in the list card. Now, we're setting the newly updated list with all its background information properly in store (why are there even multiple places for this?).
2022-03-27 21:06:30 +00:00
kolaente
0af6d79eff
Merge branch 'main' into feature/date-math 2022-03-27 22:41:53 +02:00
konrad
7f56a3537c fix: load the list tasks only after the list itself was loaded (#1251)
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: https://kolaente.dev/vikunja/frontend/pulls/1251
2022-03-27 19:56:56 +00:00
kolaente
f4b0e68322
feat: add a few new keyboard shortcuts 2022-03-02 21:59:51 +01:00
kolaente
7f2189b455
fix: don't rotate kanban cards while dragging
The way I implemented that had a few annoying side effects like wiggling around when clicking on the bucket
2022-02-27 19:43:05 +01:00
kolaente
db47c1f10c
chore: move converting params to service 2022-02-27 17:21:07 +01:00
kolaente
a8ee54d626
Merge branch 'main' into feature/date-math 2022-02-27 16:40:49 +01:00
kolaente
a23b4a96ee
fix: kanban board layout on mobile 2022-02-27 16:36:20 +01:00