kvm/ui/src/components
Adam Shiervani ea1a7fffc0 Enhance connection stats sidebar (#748)
* feat: add Metric component for data visualization

* refactor: update ConnectionStatsSidebar to use Metric component for improved data visualization

* feat: add someIterable utility function and update Metric components for consistent metric handling

- Introduced `someIterable` function to check for the presence of a metric in an iterable.
- Updated `CustomTooltip` and `Metric` components to use `metric` instead of `stat` for improved clarity.
- Refactored `StatChart` to align with the new metric naming convention.

* refactor: rename variable for clarity in Metric component

* docs: add JSDoc comments to createChartArray function in Metric component for better documentation

* feat: do an actual avg reference calc

* feat: Dont collect stats without a video track

* refactor: rename variables for clarity
2025-09-26 08:21:18 +00:00
..
extensions Add ability to track modifier state on the device (#725) 2025-09-26 08:21:18 +00:00
popovers Upgrade vite and react-router (#778) 2025-09-26 08:21:18 +00:00
sidebar Enhance connection stats sidebar (#748) 2025-09-26 08:21:18 +00:00
ActionBar.tsx Add ability to track modifier state on the device (#725) 2025-09-26 08:21:18 +00:00
AuthLayout.tsx Upgrade vite and react-router (#778) 2025-09-26 08:21:18 +00:00
AutoHeight.tsx refactor: network settings UI (#486) 2025-09-26 08:21:17 +00:00
Button.tsx Upgrade vite and react-router (#778) 2025-09-26 08:21:18 +00:00
Card.tsx chore(ui): Patch-bump packages and use tailwind upgrade (#456) 2025-09-26 08:21:17 +00:00
CardHeader.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
Checkbox.tsx refactor: network settings UI (#486) 2025-09-26 08:21:17 +00:00
Combobox.tsx chore(ui): Patch-bump packages and use tailwind upgrade (#456) 2025-09-26 08:21:17 +00:00
ConfirmDialog.tsx feat: add local web server loopback mode configuration (#511) 2025-09-26 08:21:18 +00:00
Container.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
CustomTooltip.tsx Enhance connection stats sidebar (#748) 2025-09-26 08:21:18 +00:00
DhcpLeaseCard.tsx refactor: network settings UI (#486) 2025-09-26 08:21:17 +00:00
EmptyCard.tsx fix(ui): Adjust EmptyCard icon size and tweak SettingsMacros (#452) 2025-09-26 08:21:17 +00:00
ExtLink.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
FeatureFlag.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
FieldLabel.tsx Added crontab scheduler for jiggler (#316) 2025-09-26 08:21:18 +00:00
Fieldset.tsx Upgrade vite and react-router (#778) 2025-09-26 08:21:18 +00:00
GridBackground.tsx refactor: Migrate from tailwind.js config to Tailwind CSS config (#451) 2025-09-26 08:21:17 +00:00
Header.tsx Upgrade vite and react-router (#778) 2025-09-26 08:21:18 +00:00
Icons.tsx Release 202412292127 2024-12-29 21:27:42 +01:00
InfoBar.tsx feat: hid rpc channel (#755) 2025-09-26 08:21:18 +00:00
InputField.tsx Added crontab scheduler for jiggler (#316) 2025-09-26 08:21:18 +00:00
Ipv6NetworkCard.tsx refactor: network settings UI (#486) 2025-09-26 08:21:17 +00:00
JigglerSetting.tsx fix: useJsonRpc "any" issue 2025-09-26 08:21:18 +00:00
KvmCard.tsx Upgrade vite and react-router (#778) 2025-09-26 08:21:18 +00:00
LoadingSpinner.tsx chore: Upgrade UI vite and tailwind packages (#443) 2025-09-26 08:21:17 +00:00
MacroBar.tsx fix: useJsonRpc "any" issue 2025-09-26 08:21:18 +00:00
MacroForm.tsx Add ability to track modifier state on the device (#725) 2025-09-26 08:21:18 +00:00
MacroStepCard.tsx Add ability to track modifier state on the device (#725) 2025-09-26 08:21:18 +00:00
Metric.tsx Enhance connection stats sidebar (#748) 2025-09-26 08:21:18 +00:00
MetricsChart.tsx Enhance connection stats sidebar (#748) 2025-09-26 08:21:18 +00:00
Modal.tsx refactor: network settings UI (#486) 2025-09-26 08:21:17 +00:00
NotFoundPage.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
PeerConnectionStatusCard.tsx Improve error handling when `RTCPeerConnection` throws (#289) 2025-09-26 08:21:16 +00:00
SelectMenuBasic.tsx Added crontab scheduler for jiggler (#316) 2025-09-26 08:21:18 +00:00
SettingsNestedSection.tsx Added crontab scheduler for jiggler (#316) 2025-09-26 08:21:18 +00:00
SettingsPageheader.tsx Move settings to modals & better modal handling (#194) 2025-02-27 16:48:50 +01:00
SettingsSectionHeader.tsx Move settings to modals & better modal handling (#194) 2025-02-27 16:48:50 +01:00
SidebarHeader.tsx Release 202412292127 2024-12-29 21:27:42 +01:00
SimpleNavbar.tsx Upgrade vite and react-router (#778) 2025-09-26 08:21:18 +00:00
StatusCards.tsx Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
StepCounter.tsx chore(ui): Patch-bump packages and use tailwind upgrade (#456) 2025-09-26 08:21:17 +00:00
Terminal.tsx Add ability to track modifier state on the device (#725) 2025-09-26 08:21:18 +00:00
TextArea.tsx chore: Upgrade UI vite and tailwind packages (#443) 2025-09-26 08:21:17 +00:00
USBStateStatus.tsx Add ability to track modifier state on the device (#725) 2025-09-26 08:21:18 +00:00
UpdateInProgressStatusCard.tsx chore(ui): Patch-bump packages and use tailwind upgrade (#456) 2025-09-26 08:21:17 +00:00
UsbDeviceSetting.tsx feature/Faster loading (#746) 2025-09-26 08:21:18 +00:00
UsbInfoSetting.tsx Add ability to track modifier state on the device (#725) 2025-09-26 08:21:18 +00:00
VideoOverlay.tsx fix(ui): Fix full-screen keyboard lock issues. (#535) 2025-09-26 08:21:18 +00:00
VirtualKeyboard.tsx feat(ui) Fix the CapsLock and Shift key for VirtualKeyboard (#779) 2025-09-26 08:21:18 +00:00
WebRTCVideo.tsx feat: hid rpc channel (#755) 2025-09-26 08:21:18 +00:00