Commit Graph

1567 Commits

Author SHA1 Message Date
Dominik Pschenitschni ed8eb84617 feat: improve password component (#1802)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1802
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-04-10 19:00:11 +00:00
Dominik Pschenitschni 53c669b108 chore: add some types (#1790)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1790
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-04-10 18:56:14 +00:00
Dominik Pschenitschni 656c020125 chore: fix spelling (#1786)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1786
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-04-10 18:55:43 +00:00
Dominik Pschenitschni b9637e1bb6 chore: simple Login view improvements (#1791)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1791
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-04-10 18:42:29 +00:00
Dominik Pschenitschni ba1a1fc041
chore: fix type 2022-04-09 19:57:19 +02:00
drone ca8a0ba8f8 [skip ci] Updated translations via Crowdin 2022-04-09 00:29:09 +00:00
drone b8bd41c51e [skip ci] Updated translations via Crowdin 2022-04-04 00:27:16 +00:00
kolaente 1eb19f8764
fix: resetting the list when changing from a list view to a non-list view 2022-04-03 14:28:41 +02:00
kolaente 480bfbceef
fix: reset all tasks before loading new ones 2022-04-03 14:25:29 +02:00
kolaente b2897545e4
fix: properly set list backgrounds when switching between lists
Probably caused by the blur hash feature, switching between lists would not work if the list background was set via unsplash. I've refactored the whole decision tree which checks if a background should be loaded or not. It actually does not matter where the background is from (unsplash or upload) or if we had one in the last list - we only need to know if the current list has a background or if we just changed it and need to update right away.
2022-04-03 14:20:16 +02:00
kolaente 010eca1d0c
fix: menu on mobile devices 2022-04-02 23:09:28 +02:00
kolaente 58b0397cec
fix: caldavToken model typehints 2022-04-02 17:37:52 +02:00
kolaente 898b22b377
fix: create token 2022-04-02 17:37:52 +02:00
Dominik Pschenitschni b1159f331f
feat: remove duplicate rel attribute 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
Dominik Pschenitschni eb7667e27e
chore: use BaseButton 2022-04-02 17:37:51 +02:00
kolaente 041f888492
chore: use .then instead of await 2022-04-02 17:37:51 +02:00
kolaente 343be4d5d6
chore: directly use newToken.value 2022-04-02 17:37:51 +02:00
kolaente b9fa08116d
chore: rename to useTokens 2022-04-02 17:37:51 +02:00
kolaente 460a4dbdbe
chore: use h5 2022-04-02 17:37:51 +02:00
kolaente d865af58a8
chore: return new model instead of modifying the existing 2022-04-02 17:37:51 +02:00
kolaente cd245e467c
chore: fix CalDAV casing 2022-04-02 17:37:51 +02:00
kolaente da4f5a0f75
chore: move success message after state changes 2022-04-02 17:37:51 +02:00
kolaente ca330fe63b
chore: use function statements everywhere 2022-04-02 17:37:51 +02:00
kolaente af6385bc60
chore: check for no results 2022-04-02 17:37:51 +02:00
kolaente 19b772f8ee
fix: type 2022-04-02 17:37:50 +02:00
kolaente b65839d0d7
fix: lint 2022-04-02 17:37:50 +02:00
kolaente 043bf62ef3
chore: extract getting all tokens into a composable 2022-04-02 17:37:50 +02:00
kolaente f042651986
chore: make server functions async 2022-04-02 17:37:50 +02:00
kolaente 0299ed32f3
chore: use findIndex to remove caldav token 2022-04-02 17:37:50 +02:00
kolaente cb067461aa
chore: use ts for caldav component 2022-04-02 17:37:50 +02:00
kolaente 6b899be202
chore: clarify token is required for non-local users 2022-04-02 17:37:50 +02:00
kolaente 7bdefd9a3e
chore: put action buttons right 2022-04-02 17:37:50 +02:00
kolaente 8e5a318d4c
feat: manage tokens 2022-04-02 17:37:50 +02:00
kolaente 75f09ec5db
chore: move to script setup 2022-04-02 17:37:48 +02:00
kolaente fb2eb4c439
fix: service worker path 2022-04-02 17:23:23 +02:00
Dominik Pschenitschni 175b786ec6
fix: remove self and replace with this 2022-04-02 17:17:09 +02:00
Dominik Pschenitschni 0e14e3053d
feat: convert create-edit to script setup and ts 2022-04-02 17:17:09 +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 b5f867cc66
feat: convert some helpers to typescript 2022-04-02 17:16:58 +02:00
Dominik Pschenitschni ba9f69344a
feat: use defineComponent wrapper 2022-04-02 17:16:57 +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: vikunja/frontend#1188
2022-04-02 15:05:30 +00:00
kolaente 53787a65df
fix: lint 2022-04-02 14:57:03 +02:00
kolaente dfed1f438a
feat: directly create a new task from relations when none was selected 2022-04-02 13:54:45 +02:00
kolaente ad8ca462cb
fix: indention of nested checklist items 2022-04-02 12:55:08 +02:00
kolaente 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
drone e494af094d [skip ci] Updated translations via Crowdin 2022-03-31 00:29:19 +00:00
drone f3294ce755 [skip ci] Updated translations via Crowdin 2022-03-30 00:29:13 +00:00
konrad 9b09fadbd0 feat: add date math for filters (#1342)
Reviewed-on: vikunja/frontend#1342
2022-03-28 17:30:42 +00:00
kolaente 46050611d8 fix: forgotten import 2022-03-27 21:06:30 +00:00
kolaente a055a3ea52 fix: lint 2022-03-27 21:06:30 +00:00
kolaente 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
kolaente 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
kolaente f9b7e2fd76 feat: use vueuse to lock scrolling 2022-03-27 20:42:21 +00:00
kolaente 574ecff12d feat: prevent scrolling the rest of the page when a modal is open 2022-03-27 20:42:21 +00:00
kolaente 0af6d79eff
Merge branch 'main' into feature/date-math 2022-03-27 22:41:53 +02:00
konrad 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
konrad 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
adrinux a8fe2cdcbd Redefine all Bulma variables to fix undefined variables (#1165)
As per discussion in vikunja/frontend#1074

This will hopefully eventually be fixed at the root - with missing scss variables properly passed though, possibly by switching to Bulvar.

But in the mean time I experimented with add ALL the bulma css color related variables into color.scss

This fixes the issue with the date picker in light mode. Also has me wondering if it will allow removal of some of other little overrides we made to fix niggling issues with dark mode, so marking this WIP.

Not suggesting this ever be merged, just exploring.

Resolves #1497
Resolves #1074

Co-authored-by: Adrian Simmons <adrian@perlucida.co.uk>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1165
Reviewed-by: konrad <k@knt.li>
Co-authored-by: adrinux <adrian@perlucida.co.uk>
Co-committed-by: adrinux <adrian@perlucida.co.uk>
2022-03-27 19:20:37 +00:00
renovate c8fa0cc6b1 chore(deps): update workbox monorepo to v6.5.2 (#1725)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1725
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-27 15:12:03 +00:00
kolaente 87ac22b448
fix: related done tasks strikethrough 2022-03-22 23:06:36 +01:00
kolaente 8f650316dc
fix: multiselect search results text color 2022-03-22 23:04:06 +01:00
kolaente d7b1d7da7f
fix: mobile menu backdrop 2022-03-22 23:00:43 +01:00
kolaente 63e04f874a
fix: modal close icon color in light mode on mobile 2022-03-22 22:55:28 +01:00
drone 8f367921cf [skip ci] Updated translations via Crowdin 2022-03-20 00:27:38 +00:00
drone 42fa8bda71 [skip ci] Updated translations via Crowdin 2022-03-14 00:21:14 +00:00
kolaente 81993cc2e6
fix: aria-label for password field 2022-03-06 13:31:57 +01:00
drone 9b67f5627e [skip ci] Updated translations via Crowdin 2022-03-05 00:14:52 +00:00
renovate 210e782c6a chore(deps): update workbox monorepo to v6.5.1 (#1635)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1635
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-04 14:24:44 +00:00
drone 913ec95982 [skip ci] Updated translations via Crowdin 2022-03-04 00:10:15 +00:00
kolaente cf5460d298
fix: keyboard shortcut text indicating what works where 2022-03-02 22:05:16 +01:00
kolaente f4b0e68322
feat: add a few new keyboard shortcuts 2022-03-02 21:59:51 +01:00
kolaente 7f2189b455
fix: don't rotate kanban cards while dragging
The way I implemented that had a few annoying side effects like wiggling around when clicking on the bucket
2022-02-27 19:43:05 +01:00
kolaente db47c1f10c
chore: move converting params to service 2022-02-27 17:21:07 +01:00
kolaente a8ee54d626
Merge branch 'main' into feature/date-math 2022-02-27 16:40:49 +01:00
kolaente b144802203
fix: "invalid date" error when trying to set a date and none was set before 2022-02-27 16:39:21 +01:00
kolaente a23b4a96ee
fix: kanban board layout on mobile 2022-02-27 16:36:20 +01:00
kolaente c06cc6ad7a
fix: pop sound not saved and played when marking tasks done 2022-02-26 14:48:46 +01:00
kolaente 553fd54f78
fix(kanban): background content scrolling when opening a task 2022-02-26 14:39:25 +01:00
kolaente 74ab197dc6
fix: don't always show a scrollbar 2022-02-26 14:36:43 +01:00
kolaente 5b509da215
fix(kanban): make sure the buckets don't appear glued to the bottom 2022-02-26 14:28:55 +01:00
kolaente f54f533700
fix(kanban): transition animation for bucket footer when adding a new task 2022-02-26 14:20:53 +01:00
kolaente 6d0cbc51f6
fix: missing app padding when opening the task detail modal 2022-02-26 14:13:37 +01:00
kolaente 17ba56f12d
feat: rotate task cards slightly while moving them between buckets 2022-02-26 14:03:30 +01:00
kolaente d5f0158b04
Merge branch 'main' into feature/date-math
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-02-26 13:30:07 +01:00
kolaente 051dd98ff7
fix: undo task done from list view 2022-02-26 13:18:44 +01:00
kolaente 7b62a0895d
fix: update page title when changing the task title 2022-02-26 13:14:08 +01:00
kolaente 45c05296a6
fix: hide "title required" error after entering text 2022-02-26 13:05:39 +01:00
kolaente 1256c37b69
fix: removing a label from a task 2022-02-26 12:57:59 +01:00
kolaente 9a55482681
fix: don't fire close event multiple times 2022-02-26 12:55:38 +01:00
kolaente b83cec2f0e
fix: don't try to validate nonexisting fields 2022-02-26 12:35:09 +01:00
kolaente 731506fab7
fix: don't try to filter notifications if there are none 2022-02-26 12:33:49 +01:00
kolaente 8cdcfaf071
fix: don't try to sort tasks when none were returned 2022-02-26 12:30:56 +01:00
renovate 52948864ad chore(deps): update workbox monorepo to v6.5.0 (#1603)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1603
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-24 08:15:11 +00:00
drone 9bb73d9f64 [skip ci] Updated translations via Crowdin 2022-02-23 00:10:44 +00:00
drone b512f4a6b8 [skip ci] Updated translations via Crowdin 2022-02-22 00:10:46 +00:00
drone 76566d3941 [skip ci] Updated translations via Crowdin 2022-02-21 00:13:32 +00:00