Commit graph

1356 commits

Author SHA1 Message Date
kolaente
a812793ead
feat: add setting for time zone to user settings 2022-02-06 16:04:00 +01:00
kolaente
59da6686d0
feat: add authenticated http factory to create an axios instance with bearer header 2022-02-06 16:01:56 +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
ba20ac3b89
fix: don't try to load a langauge if there's none provided
(cherry picked from commit 210a78be86)
2022-02-06 12:28:15 +01:00
Dominik Pschenitschni
c1978e2f6c [skip ci] Updated translations via Crowdin 2022-02-06 00:12:30 +00:00
Dominik Pschenitschni
a8ac2fc2dd
Merge branch 'main' into feature/login-improvements 2022-02-05 18:04:33 +01:00
Dominik Pschenitschni
9a5b5c688d
Merge branch 'fix/app-ready' into feature/vue3-modals-with-router-4 2022-02-05 17:38:28 +01:00
Dominik Pschenitschni
6827390b77
feat: merge TaskDetailViewModal with modal 2022-02-05 17:29:15 +01:00
Dominik Pschenitschni
24a154422d
chore: remove vikunjaReady from store 2022-02-01 23:09:41 +01:00
kolaente
dfa30258aa
chore: rename function 2022-02-01 21:25:42 +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
3d420c3770
fix: make isButton prop optional 2022-01-30 23:27:22 +01:00
kolaente
3e311e07cd
fix: undefined prop subscription 2022-01-30 23:18:13 +01:00
kolaente
00ffe17eb8
fix: related task with the same namespace 2022-01-30 23:07:31 +01:00
kolaente
a16e8fea61
Merge branch 'fix/app-ready' into feature/vue3-modals-with-router-4 2022-01-30 21:53:24 +01:00
kolaente
2a819eccb4
revert: model properties
partially reverts de3c47dc69
2022-01-30 20:18:34 +01:00
kolaente
8f04b10e08
Revert "fix: improve ListModel typing"
This reverts commit 98b41a22c6.
2022-01-30 20:15:53 +01:00
Dominik Pschenitschni
0bd235cea3
fix: expose configureCompat types
see: https://github.com/vuejs/docs/pull/1475
2022-01-30 17:24:38 +01:00
Dominik Pschenitschni
6ff621ada1
chore: ignore wrong second argument argument for cause
see: https://github.com/tc39/proposal-error-cause
2022-01-30 16:58:59 +01:00
Dominik Pschenitschni
8937b42321
feat: improve Sort component 2022-01-30 16:53:46 +01:00
Dominik Pschenitschni
6894024ad4
fix: use to.hash for returned element 2022-01-30 16:53:46 +01:00
Dominik Pschenitschni
de3c47dc69
fix ts errors in various files 2022-01-30 16:53:46 +01:00
Dominik Pschenitschni
98b41a22c6
fix: improve ListModel typing 2022-01-30 16:53:45 +01:00
Dominik Pschenitschni
a9fb24aa35
fix: currentList typing 2022-01-30 16:53:45 +01:00
Dominik Pschenitschni
57965b1ea3
fix: keyboard-shortcuts typing 2022-01-30 16:53:45 +01:00
Dominik Pschenitschni
187e62a7ec
feat: make subscription a BaseButton 2022-01-30 16:53:45 +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
d913fa1745
fix: edge cases for dates where the next month had fewer days than the current one 2022-01-30 12:38:17 +01:00
kolaente
931941359b
fix: don't try to parse date numbers with letters around them 2022-01-30 12:37:14 +01:00
kolaente
b3697cb9bf
fix: subscription icon not rendered correctly
The computed property "icon" which holds the icon string to be rendered was overriding the <icon> component. Therefore, the component wasn't rendered at all, instead vue would render a html tag with the icon name.
2022-01-29 22:30:47 +01:00
konrad
c98ab42e75 feat: move lists between namespaces (#1430)
Frontend implementation of https://kolaente.dev/vikunja/api/pulls/1096

I've implemented this re-using the drag and drop part of rearranging the list position in the menu. The only problem we have is there's no way to check if a namespace is read-only and disable dropping a list into it. I hope to solve this in the future on the api but for now you can drop a list into it and get an error message. I felt like properly handling the error and restoring the list and its position given this will change anyway.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1430
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-29 21:12:46 +00: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
Dominik Pschenitschni
6db0559b81 fix: replace faker with community fork faker-js/faker (#1408)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1408
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-01-20 07:54:39 +00:00
Dominik Pschenitschni
5867f79735
fix: use AsyncEditor again in comments and description 2022-01-19 23:26:34 +01:00
Dominik Pschenitschni
959b53b3a6
chore: remove console.log 2022-01-19 23:16:44 +01:00
Dominik Pschenitschni
c896ad5883
fix: subscription prop validation linting 2022-01-19 23:07:02 +01:00
Dominik Pschenitschni
375c3adfb1 fix: show namespace count for long titles (#1057)
When the namespace title is to long the count was only shown in the toolip. With this pull request the count is separated from the title and always shown.

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Co-authored-by: konrad <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1057
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-19 06:57:45 +00:00
drone
637f2e9742 [skip ci] Updated translations via Crowdin 2022-01-18 22:22:48 +00:00
kolaente
0548649257
fix: lint 2022-01-18 23:12:28 +01:00
kolaente
8555ffcd17
Merge branch 'main' into feature/vue3-modals-with-router-4 2022-01-18 22:27:32 +01:00
kolaente
ca938b8615
fix: subscription prop validation 2022-01-18 22:26:27 +01:00
kolaente
6a6203f553
fix: label edit spacing 2022-01-18 22:22:32 +01:00
kolaente
ff9e1b3fca
fix: vuex store manipulation warning when modifying task labels 2022-01-18 22:12:08 +01:00
kolaente
1818ed3648
fix: scrolling to heading if it wasn't available 2022-01-18 22:00:13 +01:00
kolaente
8233c8c953
fix: check if a shortcut has an available function before trying to invoke it 2022-01-18 21:51:24 +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
50c3bcd793 fix: don't try to format invalid dates as ISO 2022-01-18 20:43:52 +00:00
kolaente
2e77df2db2 fix(a11y): remove wrong aria-label 2022-01-18 20:43:52 +00:00
kolaente
56d321e513 feat(a11y): make sure the contrast for the primary color works with dark and light themes 2022-01-18 20:43:52 +00:00
kolaente
cb776872aa feat(a11y): honor prefer-reduced-motion 2022-01-18 20:43:52 +00:00
kolaente
c255e3f025 feat(a11y): add aria-expanded 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
443a9c14b9
fix: attachment meta data not aligned properly 2022-01-18 21:42:43 +01:00
kolaente
cc3fcdf1c3
fix: keyboard shortcut message bottom margin 2022-01-18 21:33:10 +01:00
kolaente
b73165fce4
fix: update available text color in dark mode 2022-01-18 21:31:40 +01:00
drone
729432bceb [skip ci] Updated translations via Crowdin 2022-01-18 18:18:15 +00:00
drone
eddccc709d [skip ci] Updated translations via Crowdin 2022-01-18 14:18:13 +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
c7ac81a99f
fix: save user language when it wasn't saved previously 2022-01-14 22:11:13 +01:00
drone
b6788d9367 [skip ci] Updated translations via Crowdin 2022-01-12 21:10:32 +00:00
kolaente
796a56d5d8
fix: translation typo 2022-01-12 19:53:02 +01:00
drone
8d811fcf19 [skip ci] Updated translations via Crowdin 2022-01-09 10:29:59 +00:00
konrad
6080e49f26 fix: flatpickr date not updating (#1336)
Fixes https://github.com/go-vikunja/api/issues/16

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1336
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-09 10:17:18 +00:00
konrad
ed88fb91bc fix: don't recognize emails in quick add magic (#1335)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1335
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-09 10:17:01 +00:00
konrad
76fe2ceac6 fix: editor color in dark mode (#1338)
This PR fixes the editor colors in dark mode. It bothered me enough to finally fix it :)
The implementation is probably only "good enough" as we'll replace the editor anyway in the future.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1338
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-09 10:16:13 +00:00
drone
c2e4fc1e3c [skip ci] Updated translations via Crowdin 2022-01-08 22:31:19 +00:00
dmorlitz
044f2b927d feat: changed green "Done" button to read "Mark task done" (#1340)
The green button can be confusing because the wording "Done" can be interpreted as "done editing the task" or "the task should be marked as done". Changing the text in the button makes the description more precise.

Co-authored-by: David Morlitz <david@morlitz.com>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1340
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dmorlitz <david@morlitz.com>
Co-committed-by: dmorlitz <david@morlitz.com>
2022-01-08 21:18:06 +00:00
kolaente
0473c385d6
fix: editor cursor color 2022-01-08 17:34:13 +01:00
kolaente
55826bb8c9
fix: make sure the app is fully ready before trying to redirect to the login page 2022-01-08 15:44:33 +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
49a6569db0 fix: remove obsolet code (#1312)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1312
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-01-06 10:34:14 +00:00
Dominik Pschenitschni
49955eb03a
fix: remove some of the typescript warnings 2022-01-05 16:17:14 +01:00
Dominik Pschenitschni
64d632b0a5 [skip ci] Updated translations via Crowdin 2022-01-05 14:36:24 +00:00
Dominik Pschenitschni
e28f0f5be4 chore(addTask) improve order (#1297)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1297
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-01-05 13:14:50 +00: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
e6e8a98514
fix: don't set defined values for search and page 2022-01-04 21:55:33 +01: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
e837621ef8
Try to cache list views 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
58207db6c3
fix: kanban tests 2022-01-04 21:55:31 +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
Dominik Pschenitschni
c70211ad32
feat: unify modal view
fix: List.vue
2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
281c922de1
feat: make taskList a composable 2022-01-04 21:55:29 +01:00
Dominik Pschenitschni
5a0c0eff9f
feat: implement modals with vue router 4
This is an implementation of the modals with the new possibilities of vue router 3.

See: https://github.com/vuejs/vue-router/issues/703#issuecomment-865066913 for a better explanation
and the linked example implementation: https://github.com/vuejs/vue-router-next/blob/master/e2e/modal/index.ts
2022-01-04 21:55:29 +01:00
Dominik Pschenitschni
29d8422e94
fix(ready): remove class form fragment 2022-01-04 21:15:02 +01:00
Dominik Pschenitschni
cdbd1c2ac4 feat: create BaseButton component (#1123)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1123
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-01-04 18:58:06 +00:00