@checkstack/frontend 0.3.6 → 0.3.7
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 +14 -0
- package/package.json +1 -1
- package/src/App.tsx +11 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @checkstack/frontend
|
|
2
2
|
|
|
3
|
+
## 0.3.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
- Updated dependencies [0388000]
|
|
9
|
+
- @checkstack/ui@1.3.2
|
|
10
|
+
- @checkstack/command-frontend@0.2.23
|
|
11
|
+
- @checkstack/about-frontend@0.2.4
|
|
12
|
+
- @checkstack/announcement-frontend@0.2.4
|
|
13
|
+
- @checkstack/auth-frontend@0.5.21
|
|
14
|
+
- @checkstack/catalog-frontend@0.5.11
|
|
15
|
+
- @checkstack/dependency-frontend@0.2.6
|
|
16
|
+
|
|
3
17
|
## 0.3.6
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/package.json
CHANGED
package/src/App.tsx
CHANGED
|
@@ -36,6 +36,9 @@ import {
|
|
|
36
36
|
LoadingSpinner,
|
|
37
37
|
ToastProvider,
|
|
38
38
|
AmbientBackground,
|
|
39
|
+
PerformanceProvider,
|
|
40
|
+
usePerformance,
|
|
41
|
+
cn,
|
|
39
42
|
} from "@checkstack/ui";
|
|
40
43
|
import { SignalProvider } from "@checkstack/signal-frontend";
|
|
41
44
|
import { SessionProvider } from "@checkstack/auth-frontend";
|
|
@@ -125,7 +128,7 @@ const RouteGuard: React.FC<{
|
|
|
125
128
|
*/
|
|
126
129
|
function AppContent() {
|
|
127
130
|
// Enable dynamic plugin loading/unloading via signals
|
|
128
|
-
|
|
131
|
+
const { isLowPower } = usePerformance();
|
|
129
132
|
usePluginLifecycle();
|
|
130
133
|
|
|
131
134
|
return (
|
|
@@ -134,7 +137,10 @@ function AppContent() {
|
|
|
134
137
|
<GlobalShortcuts />
|
|
135
138
|
<AmbientBackground className="text-foreground font-sans">
|
|
136
139
|
<AnnouncementBanner />
|
|
137
|
-
<header className=
|
|
140
|
+
<header className={cn(
|
|
141
|
+
"p-4 shadow-sm border-b border-border z-50 relative",
|
|
142
|
+
isLowPower ? "bg-card" : "bg-card/80 backdrop-blur-sm"
|
|
143
|
+
)}>
|
|
138
144
|
<div className="flex items-center justify-between gap-4">
|
|
139
145
|
{/* Left: Logo and main navigation */}
|
|
140
146
|
<div className="flex items-center gap-8 flex-shrink-0">
|
|
@@ -284,7 +290,9 @@ function AppWithApis() {
|
|
|
284
290
|
<SessionProvider>
|
|
285
291
|
<SignalProvider backendUrl={baseUrl}>
|
|
286
292
|
<ToastProvider>
|
|
287
|
-
<
|
|
293
|
+
<PerformanceProvider>
|
|
294
|
+
<AppContent />
|
|
295
|
+
</PerformanceProvider>
|
|
288
296
|
</ToastProvider>
|
|
289
297
|
</SignalProvider>
|
|
290
298
|
</SessionProvider>
|