Commit graph

778 commits

Author SHA1 Message Date
kolaente
1e4ef96150
chore: cleanup unnecessary css 2022-02-06 19:41:20 +01:00
kolaente
4268eee1f2
chore: simplify nesting 2022-02-06 19:40:11 +01:00
kolaente
a78ca6fad3
chore: fix nesting and positioning 2022-02-06 19:38:36 +01:00
kolaente
356b291a57
chore: change return 2022-02-06 19:35:30 +01:00
kolaente
60be8b428e
chore: rename date ranges export 2022-02-06 19:33:52 +01:00
kolaente
f435ca99f4
chore: change import order and useStore 2022-02-06 19:31:48 +01:00
kolaente
eefe6bd413
chore: move date math explanation to separate component 2022-02-06 19:29:15 +01:00
kolaente
204136266f
chore: watch values instead of listening to changes 2022-02-06 18:56:45 +01:00
kolaente
18f7adf420
chore: use more BaseButtons 2022-02-06 18:51:47 +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
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
3a12be505d
feat: add prop to maybe show selected date 2022-02-06 12:42:50 +01:00
kolaente
0ae8a0e6ef
feat: add more pre-defined ranges 2022-02-06 12:42:13 +01:00
kolaente
e7fa1d3383
feat: add explanation of how date math works 2022-02-06 12:42:12 +01:00
kolaente
6c55411f71
fix: now correctly showing the title of predefined ranges 2022-02-06 12:41:41 +01:00
kolaente
4d23fae9ad
fix: reset the flatpickr range when setting a date either manually or through a quick setting 2022-02-06 12:41:40 +01:00
kolaente
16f48bcc2d
fix: custom date range with nothing specified 2022-02-06 12:41:40 +01:00
kolaente
1e46849c78
feat: make sure date ranges work with date picker and vice-versa 2022-02-06 12:41:39 +01:00
kolaente
8d5bfbe828
feat: add two inputs to toggle flatpickr 2022-02-06 12:41:20 +01:00
kolaente
6667df5f1f
feat: move everything to fancy date math ranges 2022-02-06 12:40:23 +01:00
kolaente
32bdf16892
feat: use object and loop to set date options 2022-02-06 12:40:23 +01:00
kolaente
c41397f5db
feat: add slot for trigger button in <datepicker-with-range> component 2022-02-05 20:29:57 +01:00
kolaente
8d13b979ec
chore: remove unrequired type 2022-02-05 20:03:16 +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
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
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
Dominik Pschenitschni
8937b42321
feat: improve Sort component 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
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
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
konrad
cd92d224a2 Merge branch 'main' into feature/login-improvements 2022-01-23 17:06:49 +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
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
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
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
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
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
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
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
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
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
5916a44724
feat: provide listId prop via router 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
5937f01cc5
fix: list loading 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
kolaente
8ae84eaf42 fix: padding and centering of the kanban limit and dropdown 2021-12-30 15:59:59 +00:00
kolaente
1648bcdb70
chore: make select date button actually a button 2021-12-30 16:12:44 +01:00
Dominik Pschenitschni
cd10bc9d7a fix(gantt): use function to create default date 2021-12-30 13:05:29 +00:00
kolaente
0710cea9e5
fix: lint 2021-12-29 21:33:55 +01:00
kolaente
294e89b6f7
fix: z-index 2021-12-29 21:12:43 +01:00
kolaente
950fdce111
chore: move datepicker popup to real popup component 2021-12-29 20:54:01 +01:00
kolaente
932f1774ec
feat: move date filter to popup and improve styling 2021-12-29 20:36:53 +01:00
kolaente
729aa7d4cc
fix: date format 2021-12-29 17:08:33 +01:00
kolaente
c24b8af00d
fix: pay attention to week start setting 2021-12-29 16:51:21 +01:00
kolaente
8f8d25ece1
feat: add more date ranges and make sure they actually make sense 2021-12-29 16:48:34 +01:00
kolaente
a5b23a7048
feat: disable time 2021-12-29 16:03:29 +01:00
kolaente
12317c56b3
feat: make the custom button actually do stuff 2021-12-29 16:01:59 +01:00
kolaente
378f782d44
fix: disable broken stuff 2021-12-29 16:01:23 +01:00
kolaente
b274a796d4
chore: use ts 2021-12-29 16:00:06 +01:00
kolaente
3d1c1e41c7
feat: make active class work 2021-12-29 15:56:50 +01:00