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
c09fbe9abe
fix(migration): actually pass migration oauth code from query param
2022-12-18 20:38:38 +01:00
Dominik Pschenitschni
fd1d01164f
feature/load-views-async ( #2672 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2672
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-11-13 21:52:28 +00:00
Dominik Pschenitschni
8b7b4d61a3
feat: MigrateService script setup ( #2432 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2432
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-11-03 14:19:42 +00:00
Dominik Pschenitschni
9807858436
feat: unify savedFilter logic in service ( #2491 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2491
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-10-27 19:56:14 +00:00
cf0eaf9ba1
chore: don't pass other params to ListGantt than route
2022-10-27 17:49:35 +02:00
acdbf2f8f5
feat: working route sync
2022-10-27 17:46:36 +02:00
9f146c8c7f
chore(gantt): wip daterange
2022-10-27 17:46:28 +02:00
6083301d1f
fix: wait until everything is loaded before replacing the current view with the last or login view
2022-10-23 16:12:48 +02:00
f61723dac2
fix: redirect with query parameters
2022-10-23 13:12:04 +02:00
e6f7ddc9ce
fix: email confirmation
2022-10-20 16:19:19 +02:00
73575302de
fix: password reset
2022-10-20 16:15:58 +02:00
f405b2105b
fix: lint
2022-10-05 17:57:55 +02:00
3af20b6220
fix: don't try to render auth routes when the user is not authenticated
...
Resolves #2419
2022-10-05 16:51:35 +02:00
Dominik Pschenitschni
2dc36c032b
feat: TaskDetail as script setup ( #1792 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1792
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-10-01 15:02:35 +00:00
7b53e684aa
feat: port auth store to pinia
2022-09-28 23:43:14 +02:00
d57e27b4a6
feat: task relatedTasks script setup ( #1939 )
...
Reviewed-on: vikunja/frontend#1939
Reviewed-by: konrad <k@knt.li>
2022-09-21 18:22:30 +00:00
Dominik Pschenitschni
0814890cac
feat: deleteNamespace script setup ( #2387 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2387
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-21 18:21:47 +00:00
943d5f7975
feat: task relatedTasks script setup
2022-09-21 18:35:46 +02:00
Dominik Pschenitschni
a38075f376
feat: move list store to pina ( #2392 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2392
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-21 16:21:25 +00:00
ad6b335d41
feat: namespace settings archive script setup
2022-09-15 20:46:26 +00:00
84260841be
feat(list): add info dialoge to show list description ( #2368 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#2368
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-09-15 12:36:43 +00:00
Dominik Pschenitschni
f6437c81da
feat: list settings edit script setup ( #1988 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1988
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-02 15:13:32 +00:00
d064f0acc0
fix import type
2022-07-04 21:50:48 +00:00
aadf75c7bf
fix: don't try to load the namespace again when navigating away from the settings page
...
Resolves https://github.com/go-vikunja/frontend/issues/58
2022-06-12 14:59:53 +02:00
a38bd7e971
fix: list title not set as page title after closing a task popup
2022-05-08 11:58:37 +02:00
badbae0e9a
fix: mark query parameter as string
2022-02-09 17:52:27 +01:00
aac777e286
fix: lint
2022-02-06 20:32:21 +01:00
84f177c80e
feat: reduce dependency on router and move everything to route props instead
2022-02-06 20:11:13 +01:00
ecf679d8e1
chore: completely move logic of ShowTasksInRange component to ShowTasks and remove it
2022-02-05 21:14:40 +01:00
a8ac2fc2dd
Merge branch 'main' into feature/login-improvements
2022-02-05 18:04:33 +01:00
9a5b5c688d
Merge branch 'fix/app-ready' into feature/vue3-modals-with-router-4
2022-02-05 17:38:28 +01:00
dfa30258aa
chore: rename function
2022-02-01 21:25:42 +01:00
de626eab31
feat: don't open task detail in modal for list and table view
2022-01-31 01:31:41 +01:00
a16e8fea61
Merge branch 'fix/app-ready' into feature/vue3-modals-with-router-4
2022-01-30 21:53:24 +01:00
6894024ad4
fix: use to.hash for returned element
2022-01-30 16:53:46 +01:00
de3c47dc69
fix ts errors in various files
2022-01-30 16:53:46 +01:00
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
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
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
49955eb03a
fix: remove some of the typescript warnings
2022-01-05 16:17:14 +01:00
76f4cca5fe
fix: move local storage list view to router
2022-01-04 21:55:33 +01:00
5916a44724
feat: provide listId prop via router
2022-01-04 21:55:32 +01:00
700fce3c2c
fix: sharing components
2022-01-04 21:55:32 +01:00
5937f01cc5
fix: list loading
2022-01-04 21:55:30 +01:00
7eed0628d0
feat: mount list views as route-views
2022-01-04 21:55:30 +01:00
c70211ad32
feat: unify modal view
...
fix: List.vue
2022-01-04 21:55:30 +01:00
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
1d916e7e03
feat: change wording
2021-12-21 15:21:22 +01:00
Dominik Pschenitschni
063592ca3d
fix: auth and move logic to router ( #1201 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1201
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2021-12-21 08:02:03 +00:00