frigate/web/src/pages
Josh Hawkins f44f485f48
Improve metrics UI performance (#22691)
* embed cpu/mem stats into detectors, cameras, and processes

so history consumers don't need the full cpu_usages dict

* support dot-notation for nested keys

to avoid returning large objects when only specific subfields are needed

* fix setLastUpdated being called inside useMemo

this triggered a setState-during-render warning, so moved to a useEffect

* frontend types

* frontend

hide instead of unmount all graphs - re-rendering is much more expensive and disruptive than the amount of dom memory required

keep track of visited tabs to keep them mounted rather than re-mounting or mounting all tabs

add isActive prop to all charts to re-trigger animation when switching metrics tabs

fix chart data padding bug where the loop used number of series rather than number of data points

fix bug where only a shallow copy of the array was used for mutation

fix missing key prop causing console logs

* add isactive after rebase

* formatting

* skip None values in filtered output for dot notation
2026-03-29 11:58:47 -06:00
..
AccessDenied.tsx feat: add i18n (translation/localization) (#16877) 2025-03-16 10:36:20 -05:00
Chat.tsx Add GenAI Backend Streaming and Chat (#22152) 2026-02-27 09:07:30 -07:00
ClassificationModel.tsx Classification Model UI (#18571) 2025-08-16 10:20:33 -05:00
ConfigEditor.tsx Miscellaneous Fixes (#21063) 2025-11-27 07:58:35 -06:00
Events.tsx Various Tweaks (#22609) 2026-03-24 13:53:39 -06:00
Explore.tsx Support using GenAI for embeddings / semantic search (#22323) 2026-03-08 10:55:00 -05:00
Exports.tsx i18n workflow improvements and tweaks (#22586) 2026-03-23 08:48:02 -05:00
FaceLibrary.tsx Reclassification (#22603) 2026-03-24 07:18:06 -06:00
Live.tsx i18n workflow improvements and tweaks (#22586) 2026-03-23 08:48:02 -05:00
LoginPage.tsx Face setup wizard (#17203) 2025-03-17 13:50:13 -06:00
Logs.tsx Debug replay (#22212) 2026-03-04 10:07:34 -06:00
MotionSearch.tsx Improve motion review and add motion search (#22253) 2026-03-05 17:53:48 -06:00
NoMatch.tsx feat: add i18n (translation/localization) (#16877) 2025-03-16 10:36:20 -05:00
Replay.tsx UI tweaks and fixes (#22448) 2026-03-15 07:26:23 -05:00
Settings.tsx Tweaks (#22656) 2026-03-26 13:47:24 -05:00
System.tsx Improve metrics UI performance (#22691) 2026-03-29 11:58:47 -06:00
UIPlayground.tsx Add zoom icons to timeline (#20717) 2025-10-29 12:04:29 -06:00