Commit Graph

1506 Commits

Author SHA1 Message Date
58b0397cec
fix: caldavToken model typehints 2022-04-02 17:37:52 +02:00
898b22b377
fix: create token 2022-04-02 17:37:52 +02:00
b1159f331f
feat: remove duplicate rel attribute 2022-04-02 17:37:52 +02:00
50575ffd68
feat: flatten and reorder after all 2022-04-02 17:37:51 +02:00
eb7667e27e
chore: use BaseButton 2022-04-02 17:37:51 +02:00
041f888492
chore: use .then instead of await 2022-04-02 17:37:51 +02:00
343be4d5d6
chore: directly use newToken.value 2022-04-02 17:37:51 +02:00
b9fa08116d
chore: rename to useTokens 2022-04-02 17:37:51 +02:00
460a4dbdbe
chore: use h5 2022-04-02 17:37:51 +02:00
d865af58a8
chore: return new model instead of modifying the existing 2022-04-02 17:37:51 +02:00
cd245e467c
chore: fix CalDAV casing 2022-04-02 17:37:51 +02:00
da4f5a0f75
chore: move success message after state changes 2022-04-02 17:37:51 +02:00
ca330fe63b
chore: use function statements everywhere 2022-04-02 17:37:51 +02:00
af6385bc60
chore: check for no results 2022-04-02 17:37:51 +02:00
19b772f8ee
fix: type 2022-04-02 17:37:50 +02:00
b65839d0d7
fix: lint 2022-04-02 17:37:50 +02:00
043bf62ef3
chore: extract getting all tokens into a composable 2022-04-02 17:37:50 +02:00
f042651986
chore: make server functions async 2022-04-02 17:37:50 +02:00
0299ed32f3
chore: use findIndex to remove caldav token 2022-04-02 17:37:50 +02:00
cb067461aa
chore: use ts for caldav component 2022-04-02 17:37:50 +02:00
6b899be202
chore: clarify token is required for non-local users 2022-04-02 17:37:50 +02:00
7bdefd9a3e
chore: put action buttons right 2022-04-02 17:37:50 +02:00
8e5a318d4c
feat: manage tokens 2022-04-02 17:37:50 +02:00
75f09ec5db
chore: move to script setup 2022-04-02 17:37:48 +02:00
fb2eb4c439
fix: service worker path 2022-04-02 17:23:23 +02:00
175b786ec6
fix: remove self and replace with this 2022-04-02 17:17:09 +02:00
0e14e3053d
feat: convert create-edit to script setup and ts 2022-04-02 17:17:09 +02:00
16d8c2224b
feat: add TSDoc definition to some models 2022-04-02 17:17:09 +02:00
658ca4c955
feat: convert navigation to script setup and ts 2022-04-02 17:17:08 +02:00
b5f867cc66
feat: convert some helpers to typescript 2022-04-02 17:16:58 +02:00
ba9f69344a
feat: use defineComponent wrapper 2022-04-02 17:16:57 +02:00
a3329f1b42
feat: add lang ts to script block 2022-04-02 17:15:46 +02:00
15b67136fe
feat: rename js files to ts 2022-04-02 17:14:59 +02:00
4cff3ebee1 feat: use blurHash when loading list backgrounds (#1188)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1188
2022-04-02 15:05:30 +00:00
53787a65df
fix: lint 2022-04-02 14:57:03 +02:00
dfed1f438a
feat: directly create a new task from relations when none was selected 2022-04-02 13:54:45 +02:00
ad8ca462cb
fix: indention of nested checklist items 2022-04-02 12:55:08 +02:00
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
e494af094d [skip ci] Updated translations via Crowdin 2022-03-31 00:29:19 +00:00
f3294ce755 [skip ci] Updated translations via Crowdin 2022-03-30 00:29:13 +00:00
9b09fadbd0 feat: add date math for filters (#1342)
Reviewed-on: vikunja/frontend#1342
2022-03-28 17:30:42 +00:00
46050611d8 fix: forgotten import 2022-03-27 21:06:30 +00:00
a055a3ea52 fix: lint 2022-03-27 21:06:30 +00:00
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
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
f9b7e2fd76 feat: use vueuse to lock scrolling 2022-03-27 20:42:21 +00:00
574ecff12d feat: prevent scrolling the rest of the page when a modal is open 2022-03-27 20:42:21 +00:00
0af6d79eff
Merge branch 'main' into feature/date-math 2022-03-27 22:41:53 +02:00
3639498b3f fix: add task input layout on mobile (#1615)
On non-english locales the placeholder text would wrap, making the placeholder longer than it needed to be. To fix that, I've made sure the placeholder will never wrap and reduced the button to a single icon.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1615
2022-03-27 20:37:25 +00:00
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: vikunja/frontend#1251
2022-03-27 19:56:56 +00:00