Commit graph

525 commits

Author SHA1 Message Date
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
kolaente
c06cc6ad7a
fix: pop sound not saved and played when marking tasks done 2022-02-26 14:48:46 +01:00
kolaente
553fd54f78
fix(kanban): background content scrolling when opening a task 2022-02-26 14:39:25 +01:00
kolaente
5b509da215
fix(kanban): make sure the buckets don't appear glued to the bottom 2022-02-26 14:28:55 +01:00
kolaente
f54f533700
fix(kanban): transition animation for bucket footer when adding a new task 2022-02-26 14:20:53 +01:00
kolaente
17ba56f12d
feat: rotate task cards slightly while moving them between buckets 2022-02-26 14:03:30 +01:00
kolaente
d5f0158b04
Merge branch 'main' into feature/date-math
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-02-26 13:30:07 +01:00
kolaente
051dd98ff7
fix: undo task done from list view 2022-02-26 13:18:44 +01:00
kolaente
7b62a0895d
fix: update page title when changing the task title 2022-02-26 13:14:08 +01:00
kolaente
b83cec2f0e
fix: don't try to validate nonexisting fields 2022-02-26 12:35:09 +01:00
kolaente
8cdcfaf071
fix: don't try to sort tasks when none were returned 2022-02-26 12:30:56 +01:00
kolaente
622f08fb1b
fix: lint 2022-02-20 21:34:45 +01:00
kolaente
4ce9ac9c66
chore: remove showAll prop and make it a computed instead 2022-02-20 21:32:02 +01:00
kolaente
95d8cdffe4
chore: return the title directly 2022-02-20 21:22:31 +01:00
kolaente
564f669ed4
chore: return key directly 2022-02-20 21:21:06 +01:00
kolaente
74766ce1d0
chore: hack the planet 2022-02-20 21:17:24 +01:00
kolaente
0b6a74d11e
Merge branch 'main' into feature/date-math 2022-02-20 20:25:06 +01:00
Dominik Pschenitschni
8ea9d7541f feat: rename percent done to progress (#1542)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1542
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-02-18 16:56:15 +00:00
Dominik Pschenitschni
45e1ae66d6
feat: restore styling / fix styling issues 2022-02-13 13:49:32 +01:00
Dominik Pschenitschni
e2c81d840f
fix: hack to fix wrong index position 2022-02-13 13:49:32 +01:00
Dominik Pschenitschni
69654b823e
feat: increase task drop area size for bucket list 2022-02-13 13:49:31 +01:00
kolaente
8b90b8f6a8
fix: namespace archive success message 2022-02-12 23:41:03 +01:00
kolaente
204e94aa74
chore: programmatically convert filter values to snake_case 2022-02-06 20:48:37 +01:00
kolaente
aac777e286
fix: lint 2022-02-06 20:32:21 +01:00
kolaente
84f177c80e
feat: reduce dependency on router and move everything to route props instead 2022-02-06 20:11:13 +01:00
kolaente
436c0416d7
chore: use a primary button to select range in upcoming 2022-02-06 19:39:05 +01:00
kolaente
60be8b428e
chore: rename date ranges export 2022-02-06 19:33:52 +01:00
kolaente
c5d598cac4
chore: refactor trigger to slot 2022-02-06 18:46:53 +01:00
konrad
581b2cb4ab fix: related tasks add button and task dates in read only view (#1268)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1268
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-06 15:58:52 +00:00
kolaente
eeee1c842a
fix: correctly send filter values 2022-02-06 16:58:23 +01:00
kolaente
6d6f2b4e33
chore: cleanup 2022-02-06 16:48:28 +01:00
kolaente
cbbcb7ef23
fix: setTitle import 2022-02-06 16:36:12 +01:00
kolaente
bcd34efe91
chore: convert ShowTasks component to script setup and ts 2022-02-06 16:04:49 +01:00
kolaente
a812793ead
feat: add setting for time zone to user settings 2022-02-06 16:04:00 +01:00
konrad
3d3ccf629a feat: add remember me style login (#1339)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1339
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-02-06 13:17:55 +00:00
kolaente
9e7c258347
fix: sort tasks correctly by due date 2022-02-06 12:43:42 +01:00
kolaente
7135288800
fix: lint 2022-02-06 12:43:42 +01:00
kolaente
7aa2cfc8d4
feat: add date range filter to task filters 2022-02-06 12:43:40 +01:00
kolaente
a74fc47335
fix: llama position 2022-02-06 12:42:13 +01:00
kolaente
0ae8a0e6ef
feat: add more pre-defined ranges 2022-02-06 12:42:13 +01:00
kolaente
6c55411f71
fix: now correctly showing the title of predefined ranges 2022-02-06 12:41:41 +01:00
kolaente
dabe87af4b
feat: make sure showTasks can handle dynamic dates 2022-02-06 12:41:19 +01:00
kolaente
ecf679d8e1
chore: completely move logic of ShowTasksInRange component to ShowTasks and remove it 2022-02-05 21:14:40 +01:00
kolaente
43e83350bd
feat: move logic of ShowTasksInRange component to ShowTasks 2022-02-05 21:12:35 +01:00
kolaente
ccd8602bfd
chore: remove unused style 2022-02-05 20:18:42 +01:00
kolaente
4e8a03066e
chore: use v-else 2022-02-05 20:17:34 +01:00
kolaente
d272eb2a7a
Merge branch 'main' into fix/upcoming
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-02-05 20:02:30 +01:00
Dominik Pschenitschni
a8ac2fc2dd
Merge branch 'main' into feature/login-improvements 2022-02-05 18:04:33 +01:00
Dominik Pschenitschni
6827390b77
feat: merge TaskDetailViewModal with modal 2022-02-05 17:29:15 +01:00
Dominik Pschenitschni
de626eab31
feat: don't open task detail in modal for list and table view 2022-01-31 01:31:41 +01:00
kolaente
3e311e07cd
fix: undefined prop subscription 2022-01-30 23:18:13 +01:00
Dominik Pschenitschni
de3c47dc69
fix ts errors in various files 2022-01-30 16:53:46 +01:00
Dominik Pschenitschni
24b7821c50
fix: ts errors in subscription 2022-01-30 16:53:44 +01:00
kolaente
423195155e
Merge branch 'main' into feature/vue3-modals-with-router-4 2022-01-30 12:40:36 +01:00
kolaente
fdd2e7e538
fix: vuex store mutation violation when archiving a namespace 2022-01-26 14:36:32 +01:00
konrad
cd92d224a2 Merge branch 'main' into feature/login-improvements 2022-01-23 17:06:49 +00:00
kolaente
8555ffcd17
Merge branch 'main' into feature/vue3-modals-with-router-4 2022-01-18 22:27:32 +01:00
kolaente
1818ed3648
fix: scrolling to heading if it wasn't available 2022-01-18 22:00:13 +01:00
kolaente
e2d9aa3d7f
Merge branch 'main' into feature/vue3-modals-with-router-4
# Conflicts:
#	src/router/index.ts
#	src/views/tasks/TaskDetailView.vue
2022-01-18 21:47:17 +01:00
kolaente
cb776872aa feat(a11y): honor prefer-reduced-motion 2022-01-18 20:43:52 +00:00
kolaente
b96af50338 feat(a11y): use better markup tags everywhere 2022-01-18 20:43:52 +00:00
kolaente
0e47cebed5 feat(a11y): use <time> tag for dates everywhere 2022-01-18 20:43:52 +00:00
kolaente
26a94c7e8c
fix: some typechecks
Most of what's still left now is related to models not exporting visible properties for typescript, that's a problem for another day.
2022-01-16 22:24:51 +01:00
kolaente
01323a1b45
Merge branch 'main' into fix/upcoming
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-01-09 11:48:37 +01:00
kolaente
68a76faacc
fix: don't reset active fields when saving
Resolves #590
2022-01-08 15:13:49 +01:00
kolaente
4579dd3ce7
fix: button size on task detail view 2022-01-08 15:11:55 +01:00
kolaente
310578d349
Merge branch 'main' into feature/login-improvements
# Conflicts:
#	src/components/misc/no-auth-wrapper.vue
#	src/styles/components/_index.scss
#	src/views/user/Login.vue
#	src/views/user/Register.vue
2022-01-08 13:44:35 +01:00
Dominik Pschenitschni
49955eb03a
fix: remove some of the typescript warnings 2022-01-05 16:17:14 +01:00
konrad
c618b7e0b6 fix: namespace new buttons on mobile (#1262)
Before:

![image](/attachments/7626e28d-8a13-4f92-b162-697676f765c7)

After:

![image](/attachments/5331af47-4887-4ba5-98d7-ee70311e20d7)

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1262
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-05 12:46:33 +00:00
Dominik Pschenitschni
76f4cca5fe
fix: move local storage list view to router 2022-01-04 21:55:33 +01:00
Dominik Pschenitschni
5916a44724
feat: provide listId prop via router 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
6d62ca1ada
fix: check now just once 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
e54d95802b
fix: closing modal 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
2db820d926
feat: review changes 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
f3358269e5
fix task remove label test 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
700fce3c2c
fix: sharing components 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
e78d47fdcf
fix: list specs 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
5937f01cc5
fix: list loading 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
29a9335844
feat: save current list view just once 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
7eed0628d0
feat: mount list views as route-views 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
16b0d03601
fix: readd modal transitions 2022-01-04 21:55:30 +01:00