refactor: tech debt reduction sprint #41
Reference in New Issue
Block a user
Delete Branch "refactor/tech-debt-q1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
useCustomStepFlowhook from TreeNavigationPage.tsx (1,040 → 759 lines), consolidating custom step creation, continuation flow, fork flow, and branch mode statecore/filters.py(shared visibility filters) andservices/export_service.py(markdown/text/HTML export generation) — extracted from trees.py, steps.py, and sessions.pyidx_trees_fts)regex=→pattern=deprecation in FastAPI Query() params (3 occurrences in steps.py)Net change: +786 / -557 lines (12 files). Production code reduced by ~229 lines through extraction and deduplication.
Test plan
npm run buildpasses (zero TypeScript errors)from app.main import app)alembic upgrade headto apply FTS index migration🤖 Generated with Claude Code
🚅 Deployed to the patherly-pr-41 environment in selfless-grace