Files
token-circles/docs
KomediruzeckiandGitHub 3b6f071572 perf: eliminate page-reload UX on mutations and navigation (#317)
* perf: eliminate page-reload UX on mutations and navigation

Phase 1 — Background refresh (no content-destroying spinner):
- Transactions, Dashboard, Goals, Accounts, Portfolio, Loans, Bills,
  Housing, Retirement, Counterparties: replace setLoading(true)/false
  with initialLoad signal — existing data stays visible during re-fetch
- Render spinner only on first-ever load (no data yet), not on every
  mutation or navigation return

Phase 2 — Keep-alive page mounting (no destroy on nav):
- App.tsx: replace <Show when={activePage === name}> with CSS visibility
  toggle — pages stay mounted after first visit
- Track visited pages via mountedPages signal, mount on first access
- Navigation is instant: no remount, no re-fetch, preserved scroll

11 files, typecheck + lint + build all pass.

* docs: update plan status, gitignore CLAUDE.md

* fix: falsy-empty-array checks in Counterparties and Retirement

!array is always false for empty arrays (arrays are truthy in JS).
Changed to .length === 0 so the loading spinner actually renders
during initial fetch instead of showing empty-state prematurely.

* fix: remove unused eslint-disable directive in idb.ts
2026-07-14 16:29:42 +02:00
..

Documentation Index

Getting Started

Deploying

Feature Specifications

Detailed EARS (Exactly As Required Specification) documents for all features:

Frontend

Module Spec
Dashboard specs/frontend/dashboard.md
Transactions specs/frontend/transactions.md
Accounts specs/frontend/accounts.md
Categories specs/frontend/categories.md
Budgets specs/frontend/budgets.md
Goals specs/frontend/goals.md
Loans specs/frontend/loans.md
Bills specs/frontend/bills.md
Housing specs/frontend/housing.md
Retirement specs/frontend/retirement.md
Compound Interest specs/frontend/compound-interest.md
Emergency Fund specs/frontend/emergency-fund.md
Analytics specs/frontend/analytics.md
Import specs/frontend/import.md
Settings specs/frontend/settings.md
Rent vs Buy specs/frontend/rent-buy.md
Loans specs/frontend/loans.md

Backend

Module Spec
Authentication specs/backend/auth.md
Profiles specs/backend/profiles.md
Transactions specs/backend/transactions.md
Accounts specs/backend/accounts.md
Categories specs/backend/categories.md
Tags specs/backend/tags.md
Budgets specs/backend/budgets.md
Bills specs/backend/bills.md
Loans specs/backend/loans.md
Savings Goals specs/backend/savings-goals.md
Reports specs/backend/reports.md
Settings specs/backend/settings.md
Health specs/backend/health.md
Analytics specs/backend/analytics.md
Housing specs/backend/housing.md
Receipts specs/backend/receipts.md
Recurring specs/backend/recurring.md
Calculator specs/backend/calculator.md
Profiles specs/backend/profiles.md

See also: specs/INDEX.md