[codex] Navigation and responsiveness upgrade with grouped nav and prefetch cache #1
Reference in New Issue
Block a user
Delete Branch "codex/nav-prefetch-upgrade"
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
This PR upgrades application navigation and perceived responsiveness for cross-surface analyst workflows.
It replaces the flat shell navigation with grouped IA, adds route-aware active states for deep analysis routes, introduces breadcrumb context, preserves ticker query context across research pages, and adds mobile bottom navigation plus a More sheet.
It also adds a two-layer prefetch approach (route prefetch + data prefetch) backed by TanStack Query to reduce cold transitions between common paths.
User Impact
Before this change, users moving between analysis, filings, and financials had weak context continuity and slower transitions because each view relied on post-mount fetches with no shared in-memory query layer.
After this change, users can browse with clearer section orientation and quicker transitions, especially when navigating around an active ticker.
Root Cause
Navigation and loading behavior were fragmented:
What Changed
Navigation and IA
aria-currentand focus-visible parity across desktop/mobile nav.Prefetch and Cache Layer
Query invalidation and read paths
ensureQueryData) for faster revisits.Validation
bun run lint(TypeScript no-emit) passes.http://localhost:3020:/api/watchlistprefetch on nav hover).Notes
Pull request closed