Commit graph

1328 commits

Author SHA1 Message Date
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
Dominik Pschenitschni
cb37fd773d feat: convert to composable useDateTimeSalutation 2022-01-04 18:44:07 +00:00
kolaente
d2577f1df6 feat: use useNow to provide auto updates 2022-01-04 18:44:07 +00:00
kolaente
27534a98e9 feat: return full translation key 2022-01-04 18:44:07 +00:00
kolaente
de77393905 feat: move the calculation of the current salutation to a different function 2022-01-04 18:44:07 +00:00
Dominik Pschenitschni
8114012997
feat: replace jest with vitest 2022-01-04 14:16:47 +01:00
konrad
4a7d2d8414 feat: save and restore the user language on the server (#1181)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1181
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-12-30 20:20:45 +00:00
kolaente
0befa58908 fix: blockquote styling in dark mode 2021-12-30 15:59:59 +00:00
kolaente
8ae84eaf42 fix: padding and centering of the kanban limit and dropdown 2021-12-30 15:59:59 +00:00
Dominik Pschenitschni
cd10bc9d7a fix(gantt): use function to create default date 2021-12-30 13:05:29 +00:00
drone
c2ea932c09 [skip ci] Updated translations via Crowdin 2021-12-26 19:09:18 +00:00
kolaente
9c5613ad98
fix: lint 2021-12-26 13:42:21 +01:00
kolaente
0322daf4d4
feat: move password to separate component 2021-12-26 13:37:33 +01:00
kolaente
6041ad1482
Merge branch 'main' into feature/login-improvements 2021-12-26 12:19:44 +01:00
Dominik Pschenitschni
3743cdc058 [skip ci] Updated translations via Crowdin 2021-12-22 02:09:16 +00:00
Dominik Pschenitschni
ce02462cfe [skip ci] Updated translations via Crowdin 2021-12-21 22:09:27 +00:00
Dominik Pschenitschni
7af21c48d5 [skip ci] Updated translations via Crowdin 2021-12-21 18:07:40 +00:00
Dominik Pschenitschni
943e554a58 feat: improve playPop helper (#1229)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1229
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2021-12-21 17:56:48 +00:00
Michaelpalacce
7ebca9afc5 feat/alphabetical-sort (#1162)
Alphabetical sorting.
Disables re-ordering when applied.
Does not work with the search button as expected, but neither do the filters tbh... Works fine with the search in the filters menu.

I know we talked about having a dropdown but since this is pretty much finished I thought I'd submit a PR. I am a bit short on time these days but may submit a new PR to add the dropdown ( should be simple enough )

Co-authored-by: Stefan Genov <stefantigro@gmail.com>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1162
Reviewed-by: konrad <k@knt.li>
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: Michaelpalacce <stefantigro@gmail.com>
Co-committed-by: Michaelpalacce <stefantigro@gmail.com>
2021-12-21 16:29:49 +00:00
Dominik Pschenitschni
9a3069c20d
fix: propType validation in message.vue 2021-12-21 16:07:38 +01:00
Dominik Pschenitschni
27cd9535bf
fix: remove @ts-ignore 2021-12-21 15:47:57 +01:00
Dominik Pschenitschni
c46273ca34
fix: remove unused var 2021-12-21 15:47:40 +01:00
kolaente
a4ec41e937
fix: motd on mobile 2021-12-21 15:21:23 +01:00
kolaente
3eb0d58f79
fix: add .vue suffix to fix typescript warning 2021-12-21 15:21:23 +01:00
kolaente
5558d91f44
feat: change links to login / register pages 2021-12-21 15:21:23 +01:00
kolaente
9c04fb4e40
fix: disable login button 2021-12-21 15:21:23 +01:00
kolaente
1fc1c20c87
feat: add extra prop for message center text 2021-12-21 15:21:23 +01:00
kolaente
a1814ea29d
fix: message spacing 2021-12-21 15:21:23 +01:00
kolaente
fda0b81d9c
feat: add tooltip and aria-label 2021-12-21 15:21:22 +01:00