Description
The OverviewPage renders keyboard shortcut hints at the bottom showing "R refresh", but there is no keydown handler for the R key. Only N (new session) is implemented.
Location
dashboard/src/pages/OverviewPage.tsx lines ~229-234:
<span><kbd>R</kbd> refresh</span>
The useEffect keyboard handler only handles n key:
if (e.key === ' && !isInput && ...) {
e.preventDefault();
setModalOpen(true);
}
Expected Behavior
Either:
- Implement the
R shortcut (call fetchAnalytics), OR
- Remove the hint from the UI
Fix
Add R handler:
if (e.key === ' && !isInput && !e.ctrlKey && !e.metaKey && !e.altKey) {
e.preventDefault();
void fetchAnalytics();
}
Or remove the misleading hint.
Environment
- Aegis Dashboard (all versions with CCMeter overview)
Description
The OverviewPage renders keyboard shortcut hints at the bottom showing "R refresh", but there is no keydown handler for the
Rkey. OnlyN(new session) is implemented.Location
dashboard/src/pages/OverviewPage.tsxlines ~229-234:The
useEffectkeyboard handler only handlesnkey:Expected Behavior
Either:
Rshortcut (callfetchAnalytics), ORFix
Add
Rhandler:Or remove the misleading hint.
Environment