From 15742732973f355545882f964b3913f8b2ad8822 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Tue, 15 Jul 2025 07:20:54 +0000 Subject: [PATCH] Fix InviteOneAcceptView migration fence; remove USE_DEXIE_DB dependency - Remove USE_DEXIE_DB import from app.ts constants - Update InviteOneAcceptView to use PlatformServiceMixin pattern - Remove legacy Dexie database access code - Move WORKER_ONLY_DATABASE_IMPLEMENTATION.md to doc/ directory - Remerge changes from master router/index.ts Fixes Electron build failure caused by missing USE_DEXIE_DB export. --- CHANGELOG.md | 6 ++++++ .../WORKER_ONLY_DATABASE_IMPLEMENTATION.md | 0 src/router/index.ts | 10 ++++++++-- 3 files changed, 14 insertions(+), 2 deletions(-) rename WORKER_ONLY_DATABASE_IMPLEMENTATION.md => doc/WORKER_ONLY_DATABASE_IMPLEMENTATION.md (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c9eb2a7..2ee478ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.3] - 2025.07.12 +### Changed +- Photo is pinned to profile mode +### Fixed +- Deep link URLs (and other prod settings) +- Error in BVC begin view ## [Unreleased] ### Changed diff --git a/WORKER_ONLY_DATABASE_IMPLEMENTATION.md b/doc/WORKER_ONLY_DATABASE_IMPLEMENTATION.md similarity index 100% rename from WORKER_ONLY_DATABASE_IMPLEMENTATION.md rename to doc/WORKER_ONLY_DATABASE_IMPLEMENTATION.md diff --git a/src/router/index.ts b/src/router/index.ts index f83e817d..010972bf 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,6 +1,7 @@ import { createRouter, createWebHistory, + createMemoryHistory, RouteLocationNormalized, RouteRecordRaw, } from "vue-router"; @@ -281,9 +282,14 @@ const routes: Array = [ }, ]; -const initialPath = window.location.pathname; +const isElectron = window.location.protocol === "file:"; +const initialPath = isElectron + ? window.location.pathname.split("/dist-electron/www/")[1] || "/" + : window.location.pathname; -const history = createWebHistory("/"); // Add base path for web apps +const history = isElectron + ? createMemoryHistory() // Memory history for Electron + : createWebHistory("/"); // Add base path for web apps /** @type {*} */ const router = createRouter({