e92559dc00
fix(base): Use Build Time Base Path
...
* If a base path is provided at build time, use it.
* Base path can be set with `VIKUNJA_FRONTEND_BASE` at
build time
* `VIKUNJA_FRONTEND_BASE` sets `import.meta.env.BASE_URL` after Vite resolves it.
* Usages of `import.meta.env.BASE_URL` are statically replaced
at build time.
* If base path is not provided, `import.meta.env.BASE_URL`
defaults to '/'.
* Documentation:
https://vitejs.dev/guide/env-and-mode.html
* Fixes:
* Manifest not loading because of incorrect path.
* Service Worker not loading because path is incorrect in
manifest.
* Service Worker crashing because import of workbox is from
wrong path.
* Service Worker not loading a task because path is incorrect
in event listener.
* Incorrect URLs being set on window because base path is
incorrect.
* ex: `/login` vs `/base/login`
Signed-off-by: Jef Oliver <jef@eljef.me>
2023-02-03 09:21:06 +01:00
1749d6ba0a
fix(list): make sure favorite lists are not duplicated in the menu when renaming them
...
Resolves vikunja/frontend#3031
2023-01-31 17:12:11 +01:00
b799233bca
fix(quick add magic): correctly parse "next {weekday}" on the beginning of the text
...
Resolves vikunja/frontend#3022
2023-01-29 15:32:01 +01:00
Frederick [Bot]
fc8824d942
[skip ci] Updated translations via Crowdin
2023-01-28 00:27:10 +00:00
Frederick [Bot]
81c5c54aed
[skip ci] Updated translations via Crowdin
2023-01-27 00:28:14 +00:00
Frederick [Bot]
8e6e976867
[skip ci] Updated translations via Crowdin
2023-01-26 00:28:07 +00:00
9adf1aba89
chore: simplify getting the error text from an exception
2023-01-25 18:44:02 +01:00
e67088fdb7
chore: simplify error handling for login and OpenId Auth
2023-01-25 18:41:30 +01:00
da241d21f3
fix(quick actions): hide edges of last entry on hover
2023-01-25 16:26:05 +01:00
97133010af
fix(quick actions): don't throw an error message when selecting the last items with the arrow keys
2023-01-25 16:23:46 +01:00
4576da0dd3
fix: make sure global error handler handles unrejected promises correctly
...
Resolves vikunja/frontend#2992
2023-01-25 15:05:54 +01:00
2be784766f
feat: small content auth improvements ( #2998 )
...
Reviewed-on: vikunja/frontend#2998
2023-01-24 22:09:25 +00:00
Dominik Pschenitschni
13a39be3de
feat: unindent settings page ( #2996 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2996
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-01-24 21:54:48 +00:00
c6ed925424
chore: move class name to top
2023-01-23 22:26:26 +01:00
7ed1a37de5
feat: use v-show for navigation buttons
2023-01-23 22:26:14 +01:00
Frederick [Bot]
e49e9352e5
[skip ci] Updated translations via Crowdin
2023-01-23 00:29:07 +00:00
Dominik Pschenitschni
9922fcba65
fix: close button hover for sidebar ( #2981 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2981
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-01-21 11:02:17 +00:00
Frederick [Bot]
bb44beb4ba
[skip ci] Updated translations via Crowdin
2023-01-21 00:29:03 +00:00
Frederick [Bot]
7adc5ceb9f
[skip ci] Updated translations via Crowdin
2023-01-20 00:31:29 +00:00
Frederick [Bot]
6c192b6f59
[skip ci] Updated translations via Crowdin
2023-01-19 00:30:50 +00:00
8ff1b3006b
fix(task): don't show the list color on the task when only viewing the list ( #2975 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#2975
2023-01-18 21:12:59 +00:00
Dominik Pschenitschni
903e9a9904
chore: add has content="false" to gantt charts ( #2969 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2969
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-01-17 14:32:56 +00:00
Dominik Pschenitschni
56fd25e888
chore: improve migrate title ( #2968 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2968
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-01-17 14:04:48 +00:00
2af42f8fbe
fix(quick add magic): make sure assignees which don't exist are not removed from task title
...
Resolves vikunja/frontend#2927
2023-01-12 13:32:00 +01:00
5999def569
fix(task): update task description when switching between related tasks
...
Resolves vikunja/frontend#2936
2023-01-12 12:22:56 +01:00
b719766062
redirect to oidc provider if configured correctly ( #2805 )
...
Co-authored-by: konrad <k@knt.li>
Reviewed-on: vikunja/frontend#2805
Reviewed-by: konrad <k@knt.li>
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-committed-by: viehlieb <pf@pragma-shift.net>
2023-01-11 21:17:53 +00:00
a4424e089c
feat: add histoire ( #2724 )
...
Reviewed-on: vikunja/frontend#2724
2023-01-06 09:27:09 +00:00
Frederick [Bot]
945128c3cd
[skip ci] Updated translations via Crowdin
2023-01-06 00:34:21 +00:00
35cfb2f3ca
feat: add card story
2023-01-05 23:12:58 +01:00
ccc85b9a82
feat: add XButton story
2023-01-05 23:12:58 +01:00
9523f60763
fix(BaseButton): prop type
2023-01-05 23:12:58 +01:00
7be8e892e2
feat: add histoire
2023-01-05 23:12:58 +01:00
Dominik Pschenitschni
6049427322
chore(config): remove unused URL_PREFIX const ( #2926 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2926
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-01-05 13:35:28 +00:00
Dominik Pschenitschni
a029887102
fix(useOnline): only log if actually faking state ( #2924 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2924
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-01-05 13:33:37 +00:00
Dominik Pschenitschni
0f7b7f72d0
fix(faker): remove mock types ( #2921 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2921
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-01-05 13:27:36 +00:00
5dfaa48ea5
fix(deps): update dependency axios to v1
2023-01-04 23:13:25 +00:00
Dominik Pschenitschni
4be53b098c
feat: add-task usability improvements ( #2767 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2767
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-01-04 15:54:09 +00:00
Dominik Pschenitschni
1f25386f54
feat: remove date-fns formatISO ( #2899 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2899
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-01-03 14:20:06 +00:00
93f2ccf2e6
[skip ci] Updated translations via Crowdin
2022-12-24 00:34:12 +00:00
96dd0aab34
fix(i18n): incorrect translation string
2022-12-23 17:19:05 +01:00
367f55c04a
[skip ci] Updated translations via Crowdin
2022-12-23 00:34:13 +00:00
373b04bd58
feat(i18n): add Norwegian translation
2022-12-22 13:05:42 +01:00
c09fbe9abe
fix(migration): actually pass migration oauth code from query param
2022-12-18 20:38:38 +01:00
f6171935ca
fix(tasks): translation for multiple related tasks now works
...
Resolves https://github.com/go-vikunja/frontend/issues/98
2022-12-16 14:42:58 +01:00
Dominik Pschenitschni
b6a89a0cde
feat: use variable fonts with subsetting ( #2817 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2817
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-12-15 21:37:02 +00:00
a72cd31202
[skip ci] Updated translations via Crowdin
2022-12-11 00:30:17 +00:00
2141171529
fix(task): move task color bubble next to task index and done badge on mobile
2022-12-10 22:28:19 +01:00
9b050846a4
Revert "feat: use img for logo so that it's not part of the main bundle ( #2684 )"
...
This reverts commit 02de481297
.
2022-12-10 22:21:50 +01:00
463d22b07c
fix(quick add magic): don't create a new label multiple times if it is used in multiple tasks
...
Resolves https://github.com/go-vikunja/frontend/issues/94
2022-12-04 20:19:43 +01:00
b2da4fd126
fix(task): pass a list specified via quick add magic down to all subtasks created via indention
...
Resolves vikunja/frontend#2771
2022-12-02 18:39:52 +01:00