Commit graph

122 commits

Author SHA1 Message Date
Dominik Pschenitschni
f083f181e2 fix: only warn once if triggeredNotifications are not supported (#2344)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2344
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-09-14 12:45:21 +00:00
Dominik Pschenitschni
1a11b43ca8 feat: improve models 2022-09-13 14:59:02 +00:00
Dominik Pschenitschni
7d4ba6249e
feat: add modelTypes 2022-09-05 17:57:21 +02:00
Dominik Pschenitschni
8416b1f448
fix: use new assignData method for default data 2022-09-05 17:57:21 +02:00
Dominik Pschenitschni
8be1f81848
fix: use IAbstract to extend model interface 2022-09-05 17:57:20 +02:00
Dominik Pschenitschni
d36577c04e
fix: mark abstractModel and abstractService abstract 2022-09-05 17:57:19 +02:00
Dominik Pschenitschni
96f5f00c07
fix: use definite assignment assertion operator
We used declare which is the wrong use-case for this. See: https://www.typescriptlang.org/docs/handbook/2/classes.html#--strictpropertyinitialization
2022-09-05 17:43:56 +02:00
Dominik Pschenitschni
041a1a4cc0
move constants 2022-09-05 17:43:55 +02:00
Dominik Pschenitschni
106abfc842
fix: merge duplicate types 2022-09-05 17:43:24 +02:00
Dominik Pschenitschni
3ba423ed23
fix: use correct model for generics 2022-09-05 17:43:23 +02:00
Dominik Pschenitschni
a6b96f857d
feat: extend mode interface from class instead from interface 2022-09-05 17:43:22 +02:00
Dominik Pschenitschni
3766b5e51b
feat: improve store and model typing 2022-09-05 17:43:22 +02:00
Dominik Pschenitschni
c9e85cb52b
feat: improve types 2022-09-05 17:38:37 +02:00
Dominik Pschenitschni
8fb00653e4
feat: constants 2022-09-05 16:37:37 +02:00
Dominik Pschenitschni
797de0c543
feat: add properties to models 2022-09-05 16:37:36 +02:00
kolaente
37c36560fb
fix: task default color should be set and evaluated properly 2022-06-16 18:11:49 +02:00
Dominik Pschenitschni
297d283090 feat: improve colorIsDark helper
(also improve contrast of white label text)
2022-05-22 15:44:45 +00:00
kolaente
58b0397cec
fix: caldavToken model typehints 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
kolaente
8e5a318d4c
feat: manage tokens 2022-04-02 17:37:50 +02:00
Dominik Pschenitschni
16d8c2224b
feat: add TSDoc definition to some models 2022-04-02 17:17:09 +02:00
Dominik Pschenitschni
658ca4c955
feat: convert navigation to script setup and ts 2022-04-02 17:17:08 +02:00
Dominik Pschenitschni
a3329f1b42
feat: add lang ts to script block 2022-04-02 17:15:46 +02:00
Dominik Pschenitschni
15b67136fe
feat: rename js files to ts 2022-04-02 17:14:59 +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
Dominik Pschenitschni
17dc276971 fix: property spelling 2022-02-14 17:00:10 +00:00
kolaente
a812793ead
feat: add setting for time zone to user settings 2022-02-06 16:04:00 +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
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
dpschen
b029889f27 fix: check for notification api (#1043)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1043
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-11-22 19:03:27 +00:00
kolaente
8389587a60
fix: check if notifications are available at all before checking if triggered are available
Should fix sentry issue FRONTEND-OSS-J
2021-10-31 12:56:32 +01:00
Dominik Pschenitschni
bb94c1ba3a
feat: use async / await where it makes sense 2021-10-16 18:59:53 +02:00
dpschen
faa2daa876 feat: remove lodash dependency (#743)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/743
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-06 20:25:06 +00:00
kolaente
2a1004ac68
fix: make task relation kinds translatable
Related to #774
2021-10-04 21:52:27 +02:00
dpschen
07a6a31f47 chore: move constants in folder (#732)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/732
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-10 14:21:33 +00:00
dpschen
0295113f50 feat: use store getters to check auth (#731)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/731
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-10 13:04:00 +00:00
dpschen
dae441a373 feat: simplify heading blur logic (#727)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/727
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-10 12:57:59 +00:00
dpschen
87c70cec0e chore: define default label background color once (#713)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/713
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-08 21:44:56 +00:00
kolaente
a1e1fe4eb0
Add missing position property to list and bucket models 2021-07-28 22:46:33 +02:00
konrad
3c7f8d7aa2 Reorder tasks, lists and kanban buckets (#620)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/620
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-28 19:56:29 +00:00
kolaente
dcb846324d
Cleanup broken sw functions 2021-07-26 23:09:49 +02:00
kolaente
fd5d331eca
Fix sorting labels
Resolves #603
2021-07-26 10:55:19 +02:00
konrad
c45911fd36 Fix date parsing parsing words with weekdays in them (#607)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/607
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-25 10:45:17 +00:00
kolaente
83b530b8ba
Sort labels alphabetically on tasks 2021-07-22 22:05:34 +02:00
sytone
306a926c66 Add default list setting & creating tasks from home (#520)
Co-authored-by: sytone <github@sytone.com>
Co-authored-by: Sytone <github@sytone.com>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/520
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: sytone <kolaente@sytone.com>
Co-committed-by: sytone <kolaente@sytone.com>
2021-07-17 21:21:46 +00:00
kolaente
01ed17a0f0
Fix setting task favorite status in test fixtures 2021-07-13 12:18:54 +02:00
kolaente
e37145cd43
Add setting for the first day of the week 2021-06-03 18:12:40 +02:00
kolaente
603345b326
Fix setting a default color when none was saved 2021-04-18 19:16:53 +02:00