Skip to content
Strata v1.2.12

v1.2.11

Released: 2026-05-17

Fixed desktop tab navigation bounce to startup loader

Section titled “Fixed desktop tab navigation bounce to startup loader”

In Tauri installed app mode, frontend runs under /app/. Some links were hardcoded as root absolute paths (/assets, /categories, /tags, etc.), which could escape /app/ and land on root loader path (Starting services…).

This release fixes routing behavior by making navigation base-aware:

  • Added shared path helper: front/src/lib/appPath.ts
    • appHref() builds links correctly for both web (/) and desktop static (/app/)
    • normalizeAppPath() normalizes runtime paths for active-nav logic
  • Migrated high-risk links in:
    • front/src/components/layout/Sidebar.tsx
    • front/src/components/dashboard/DashboardPage.tsx
    • front/src/components/assets/AssetHeader.tsx
    • front/src/components/portfolios/PortfolioDetailPage.tsx
  • Added regression coverage:
    • front/src/lib/__tests__/appPath.test.ts
    • front/src/components/layout/__tests__/Sidebar.test.tsx (/app/... active-path case)
  • Backend unit coverage: ✅ (cd backend && npm run test:cov)
  • Backend e2e: ✅ (cd backend && npm run test:e2e)
  • Frontend unit coverage: ✅ (cd front && npx vitest run --coverage)
  • Frontend e2e: ✅ (cd front && npm run test:e2e)
  • Docs build: ✅ (cd docs && npm run build)
  • Desktop install/runtime gate: ✅ (npm run tauri:install)
  • 15e6684 — fix(front): keep desktop nav under /app base
  • c33b21f — chore: release v1.2.11