Jef Oliver eljef
  • Joined on 2023-01-17
eljef pushed to base_path_fix at eljef/frontend 2023-01-18 16:55:16 +00:00
385e2b389b fix(base): Use Build Time Base Path
eljef pushed to base_path_fix at eljef/frontend 2023-01-18 16:47:01 +00:00
020d3e6ec1 fix(base): Use Build Time Base Path
2a2c27af92 chore: use es6 imports for deploy-preview-netlify (#2970)
e1b35ff023 feat: add .env.local.example (#2972)
Compare 3 commits »
eljef pushed to main at eljef/frontend 2023-01-18 16:46:39 +00:00
2a2c27af92 chore: use es6 imports for deploy-preview-netlify (#2970)
e1b35ff023 feat: add .env.local.example (#2972)
Compare 2 commits »
eljef commented on pull request vikunja/frontend#2964 2023-01-18 16:00:51 +00:00
fix: Use Build Time Base Path

I think we only need to set Vites base option with VIKUNJA_FRONTEND_SUBPATH.

Does this cover the case where the user uses --base AND VIKUNJA_FRONTEND_SUBPATH? I don't want to have the…

eljef commented on pull request vikunja/frontend#2964 2023-01-18 15:33:03 +00:00
fix: Use Build Time Base Path

Anyway, that's probably nitpicking now.

It really feels like it, I know! Sorry also @eljef.

I'm used to arguing over patches via mailing lists. The level of nitpicking comes down to…

eljef commented on pull request vikunja/vikunja#1363 2023-01-18 01:23:40 +00:00
fix(doc): Update Subdirectory Documentation

vikunja/frontend#2964 is updated accordingly. This documentation update is still needed to clarify the need for a trailing slash. Pending the approval of the front-end PR.

eljef commented on pull request vikunja/frontend#2964 2023-01-18 01:21:13 +00:00
fix: Use Build Time Base Path

Updated commit in place and it is quite minimal now.

I will explore making this more dynamic in the future. I'd like to not build each release if I can help it :)

eljef commented on pull request vikunja/frontend#2964 2023-01-18 01:19:09 +00:00
fix: Use Build Time Base Path

./ fixes the issue with loading of the PWA from a sub-directory. Using that here.

eljef pushed to base_path_fix at eljef/frontend 2023-01-18 01:17:04 +00:00
783ceb26c4 fix(base): Use Build Time Base Path
eljef commented on pull request vikunja/frontend#2964 2023-01-18 01:10:53 +00:00
fix: Use Build Time Base Path

I found this comment from the vue router author. Considering this we really should use vites base option in the configuratio…

eljef commented on pull request vikunja/frontend#2964 2023-01-18 00:40:32 +00:00
fix: Use Build Time Base Path

This is the only usage of process.env.BASE_URL in the patch. When base: is undefined, it falls back to '/'. I've built and tested this a few times now.

However, to handle this case as a…

eljef commented on pull request vikunja/vikunja#1363 2023-01-18 00:28:02 +00:00
fix(doc): Update Subdirectory Documentation
BASE_URL=/SUBPATH/ && pnpm run build

process.env.BASE_URL does not set import.meta.env.BASE_URL. This is actually set in the inverse. import.meta.env.BASE_URL sets…

eljef pushed to base_path_fix at eljef/frontend 2023-01-17 22:43:57 +00:00
b98bb50596 fix(base): Use Build Time Base
95b2bcf5fb fix(deps): update dependency axios to v1.2.3 (#2974)
Compare 2 commits »
eljef pushed to main at eljef/frontend 2023-01-17 22:43:26 +00:00
95b2bcf5fb fix(deps): update dependency axios to v1.2.3 (#2974)
da26ec7f1c fix(deps): update sentry-javascript monorepo to v7.31.1 (#2973)
14466bf9b7 feat: add describe project better in package.json (#2971)
903e9a9904 chore: add has content="false" to gantt charts (#2969)
56fd25e888 chore: improve migrate title (#2968)
Compare 8 commits »
eljef commented on pull request vikunja/frontend#2964 2023-01-17 16:51:06 +00:00
fix: Use Build Time Base Path

I'm 100% willing to do this. What repo are the docs located in?

Awesome! They are here: https://kolaente.dev/vikunja/api/src/branch/main/docs/content/doc/setup/subdirectory.md

PR…

eljef commented on pull request vikunja/vikunja#1363 2023-01-17 16:50:25 +00:00
fix(doc): Update Subdirectory Documentation

Requires vikunja/frontend#2964

WIP until other is merged.

eljef created pull request vikunja/vikunja#1363 2023-01-17 16:50:02 +00:00
WIP: fix(doc): Update Subdirectory Documentation
eljef created branch subpath_update in eljef/api 2023-01-17 16:49:12 +00:00
eljef pushed to subpath_update at eljef/api 2023-01-17 16:49:12 +00:00
b81d4e8504 fix(doc): Update Subdirectory Documentation
eljef created repository eljef/api 2023-01-17 16:41:37 +00:00