Files
token-circles/.gitignore
T
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

90 lines
1.4 KiB
Plaintext

# Database files (track structure only)
db/*.db
db/*.db-shm
db/*.db-wal
db/sessions.db
backend/*.db
backend/*.db-shm
backend/*.db-wal
*.sqlite
# Uploaded files (track structure only)
!/assets/.gitkeep
# Build output
frontend/dist/
frontend/build/
frontend/vite/
frontend/node_modules/
frontend/test-results/
frontend/playwright-report/
frontend/playwright.local.config.ts
frontend/coverage/
coverage/
frontend/assets/
frontend/index-old.html
# Generated PWA service worker artifacts (vite-plugin-pwa / workbox) — emitted into dist/ at build
sw.js
sw.js.map
workbox-*.js
registerSW.js
dev-dist/
# Local planning (public roadmap is ROADMAP.md)
todo.md
# Environment
.env
.env.local
.env.*.local
# Logs
*.log
logs/
# Node modules
node_modules/
dist/
.idea
assets/receipts/
# Runtime files
*.pid
# Editor backup files
*.swp
*.swo
.DS_Store
Thumbs.db
# IDE
.vscode/
.idea/
# Claude Code agent workspace (per-user, machine-specific) — never commit.
# Keeps internal plans/skills/settings out of the public repo.
.claude/
# Test artifacts
test-results/
test-output.png
# Symlinks (machine-specific)
backend/db
public/frontend
assets/local/
.audit_telemetry/
# Local scratch folders (per-developer; matches any `local/` dir at any depth)
local/
# One-off debug/seed scripts (kept in place — relative require/db paths tie them here)
/test-bills.js
/test-seed.js
/backend/test-seed.js
/backend/test-seed2.js
CLAUDE.md