Skip to content

feat: DB env var toggle + demo bootstrap guard#80

Merged
adeebahmed merged 2 commits intomainfrom
feat/market-tape-raf-speed-toggle
Apr 29, 2026
Merged

feat: DB env var toggle + demo bootstrap guard#80
adeebahmed merged 2 commits intomainfrom
feat/market-tape-raf-speed-toggle

Conversation

@adeebahmed
Copy link
Copy Markdown
Owner

Summary

  • LIBERTAS_DB env var points backend at any SQLite file (demo vs real)
  • LIBERTAS_SKIP_DEMO_BOOTSTRAP=1 prevents demo CSV ingest on empty real DB
  • Enables clean swap between demo data and real Plaid-connected data without losing either

Test plan

  • Default startup still loads data/libertas.db (no env var set)
  • Set LIBERTAS_DB=data/libertas-real.db + LIBERTAS_SKIP_DEMO_BOOTSTRAP=1 → fresh DB stays empty until Plaid syncs

🤖 Generated with Claude Code

adeebahmed and others added 2 commits April 19, 2026 23:07
…oggle

Swaps CSS animation for a JS requestAnimationFrame loop that owns the
tape position directly, enabling smooth lerp-based speed transitions.
ArrowRight toggles between 1× and 3× speed; releasing focus resets to 1×.
Removes all drag/pointer interaction code.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…pport

- LIBERTAS_DB env var selects which SQLite file the backend uses
- LIBERTAS_SKIP_DEMO_BOOTSTRAP=1 prevents demo CSV ingest on empty real DB
- Enables safe swap between demo and real Plaid-connected data

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@adeebahmed adeebahmed merged commit 982348f into main Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant