Dashboard insights + project-wide DRY pass #32
Reference in New Issue
Block a user
Delete Branch "dev"
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
Two bodies of work since v26.05.28.0 (18 commits).
Dashboard insights (Subscriptions hub)
last_verified_atfield-name bug)Project-wide DRY pass — 8 chunks, ~-600 lines net, behavior-preserving
utils/{toast,date.formatRelative,downloadStatus}app/clienttest fixtures hoisted into conftest (−424)useAsyncActionstore lifecycle helper (11 stores,errorAspreserves each store's error shape)_baderror helper →api/_responses.py(8 blueprints)async_session_factory→tasks/_async_session.py(3 tasks)ImportSettings.load()/load_sync()classmethods (15 sites)Importer._get_or_createrace-safe find-or-create (3 methods, reduces drift risk on a banked race-condition pattern)useTabQuerycomposable (?tab=routing, 2 views)Deliberately skipped where extraction would be premature/over-engineering: dashboard cluster (already collapsed by F2), settings/modal (
DestructiveConfirmModalalready shared), extension platform table (intentional cross-runtime dup), model timestamp mixin (unverifiable core-ORM change for trivial columns).Test plan
🤖 Generated with Claude Code