Motivation & Problem
In MongoExplorerView and RedisExplorerView, opening Statistics from the breadcrumb bar:
- Triggers a hard, abrupt cut without any animation (if (_showStats) return MongoStatsView(...)), completely breaking the fluid motion aesthetic of Querya Desktop.
- The entire breadcrumb navigation bar ([Connection] › [Database] › [Collection]) is replaced by the standalone statistics view header, causing complete loss of navigation context.
- The return button in the stats header is simply labeled Explorer, with no indication of which database or collection will be restored.
- If the user clicks the connection root in the sidebar while looking at explorer stats, selectedMongoDb is cleared, stranding the user in global server stats with the Explorer return button gone.
Proposed Scope & Fluid Motion
- Fluid Transitions:
- Wrap the Explorer ↔ Stats toggle inside QueryaCrossFadeStack or QueryaSwitchingBody with QueryaMotion.standard (200ms) enter/exit curves.
- Off-screen explorer state and documents stay keep-alive, preventing re-queries or re-connections.
- Persistent Context & Breadcrumbs:
- Retain the top breadcrumb bar when viewing statistics, displaying [Connection] › [Database] › Statistics.
- Allow 1-click navigation back to databases or collections directly through the breadcrumbs.
- Optimized Polling Lifecycle:
- Ensure statistics polling timers (_pollInterval) pause gracefully via TickerGatedPolling / TickerMode when returning to the Explorer view.
Acceptance Criteria
- Switching between Explorer and Statistics in Mongo/Redis uses smooth fluid crossfade/morph instead of hard cut.
- Navigation breadcrumbs remain visible and functional in both Explorer and Stats modes.
- Returning to Explorer restores exact previous collection/key view and scroll position.
- No leaked timers or lingering socket polling when inactive.
Reactions are currently unavailable
Motivation & Problem
In MongoExplorerView and RedisExplorerView, opening Statistics from the breadcrumb bar:
Proposed Scope & Fluid Motion
Acceptance Criteria