@checkstack/dashboard-frontend 0.3.28 → 0.3.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @checkstack/dashboard-frontend
2
2
 
3
+ ## 0.3.30
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [594eecc]
8
+ - @checkstack/ui@1.3.3
9
+ - @checkstack/auth-frontend@0.5.22
10
+ - @checkstack/catalog-frontend@0.5.12
11
+ - @checkstack/command-frontend@0.2.24
12
+ - @checkstack/queue-frontend@0.2.24
13
+
14
+ ## 0.3.29
15
+
16
+ ### Patch Changes
17
+
18
+ - 0388000: Implemented a global performance-aware UI infrastructure that detects hardware capabilities (using heuristics and frame-budget benchmarks) to automatically disable expensive CSS animations, backdrop-blurs, and glassmorphism effects on low-power or non-hardware-accelerated devices.
19
+ - Updated dependencies [0388000]
20
+ - @checkstack/ui@1.3.2
21
+ - @checkstack/command-frontend@0.2.23
22
+ - @checkstack/auth-frontend@0.5.21
23
+ - @checkstack/catalog-frontend@0.5.11
24
+ - @checkstack/queue-frontend@0.2.23
25
+
3
26
  ## 0.3.28
4
27
 
5
28
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/dashboard-frontend",
3
- "version": "0.3.28",
3
+ "version": "0.3.30",
4
4
  "type": "module",
5
5
  "main": "src/index.tsx",
6
6
  "checkstack": {
package/src/Dashboard.tsx CHANGED
@@ -35,6 +35,8 @@ import {
35
35
  AnimatedCounter,
36
36
  TerminalFeed,
37
37
  type TerminalEntry,
38
+ usePerformance,
39
+ cn,
38
40
  } from "@checkstack/ui";
39
41
  import {
40
42
  LayoutGrid,
@@ -78,6 +80,7 @@ const statusToVariant = (
78
80
  };
79
81
 
80
82
  export const Dashboard: React.FC = () => {
83
+ const { isLowPower } = usePerformance();
81
84
  const catalogClient = usePluginClient(CatalogApi);
82
85
  const notificationClient = usePluginClient(NotificationApi);
83
86
  const incidentClient = usePluginClient(IncidentApi);
@@ -339,7 +342,12 @@ export const Dashboard: React.FC = () => {
339
342
 
340
343
  return (
341
344
  <>
342
- <div className="space-y-8 animate-in fade-in duration-500">
345
+ <div
346
+ className={cn(
347
+ "space-y-8",
348
+ !isLowPower && "animate-in fade-in duration-500",
349
+ )}
350
+ >
343
351
  {/* Queue Lag Warning */}
344
352
  <QueueLagAlert />
345
353