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
Motivation & Problem
In
MongoExplorerViewandRedisExplorerView, opening Statistics from the breadcrumb bar:if (_showStats) return MongoStatsView(...)), completely breaking the fluid motion aesthetic of Querya Desktop.[Connection] › [Database] › [Collection]) is replaced by the standalone statistics view header, causing complete loss of navigation context.Explorer, with no indication of which database or collection will be restored.selectedMongoDbis cleared, stranding the user in global server stats with theExplorerreturn button gone.Proposed Scope & Fluid Motion
Explorer ↔ Statstoggle insideQueryaCrossFadeStackorQueryaSwitchingBodywithQueryaMotion.standard(200ms) enter/exit curves.[Connection] › [Database] › Statistics._pollInterval) pause gracefully viaTickerGatedPolling/TickerModewhen returning to the Explorer view.Acceptance Criteria