From e099538ea992729ed6c6f9b4fd22c1eeaae633b4 Mon Sep 17 00:00:00 2001 From: Andrew Charlwood Date: Wed, 4 Feb 2026 18:59:08 +0000 Subject: [PATCH] feat: enable app_v2 via package init, verify reflex compilation - Update pathways_app/__init__.py to re-export app from app_v2 - Verified reflex run compiles 33/33 components successfully - App runs on localhost:3003 (frontend) and :8002 (backend) - Mark completion criteria "App compiles" as verified --- IMPLEMENTATION_PLAN.md | 4 ++-- pathways_app/__init__.py | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/IMPLEMENTATION_PLAN.md b/IMPLEMENTATION_PLAN.md index f631e8f..7bde188 100644 --- a/IMPLEMENTATION_PLAN.md +++ b/IMPLEMENTATION_PLAN.md @@ -190,14 +190,14 @@ cd pathways_app && timeout 60 python -m reflex run 2>&1 | head -30 ### 5.5 Cleanup - [ ] Remove or comment out old `pathways_app.py` code paths -- [ ] Update any imports/references to use new app +- [x] Update any imports/references to use new app (updated __init__.py to re-export from app_v2) - [ ] Update README with new run instructions - [ ] Document any breaking changes ## Completion Criteria All tasks marked `[x]` AND: -- [ ] App compiles without errors (`reflex run` succeeds) +- [x] App compiles without errors (`reflex run` succeeds) - [ ] All filters work with instant (debounced) updates - [ ] KPIs display correct numbers matching filter state - [ ] Icicle chart renders and updates reactively diff --git a/pathways_app/__init__.py b/pathways_app/__init__.py index e69de29..d165788 100644 --- a/pathways_app/__init__.py +++ b/pathways_app/__init__.py @@ -0,0 +1,4 @@ +# Re-export app from app_v2 for the new UI redesign +from pathways_app.app_v2 import app + +__all__ = ["app"]