@checkstack/queue-frontend 0.4.4 → 0.4.5
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,38 @@
|
|
|
1
1
|
# @checkstack/queue-frontend
|
|
2
2
|
|
|
3
|
+
## 0.4.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f23f3c9: Gate decorative motion and blur effects behind
|
|
8
|
+
`usePerformance().isLowPower` on a focused set of high-traffic plugin
|
|
9
|
+
pages (Dashboard, Dependency map, System node, Notification bell,
|
|
10
|
+
Announcement banner / cards, Anomaly field overrides editor, SLO
|
|
11
|
+
attribution chart, Catalog droppable group). Hover scales, backdrop
|
|
12
|
+
blurs, `animate-pulse`/`animate-ping` accents, and entry transitions
|
|
13
|
+
now drop to static states on low-power devices; functional UX
|
|
14
|
+
transitions (Drawer/Dialog open-close, colour transitions) are left
|
|
15
|
+
alone.
|
|
16
|
+
|
|
17
|
+
Standardise the post-mutation error-toast voice on plugin pages by
|
|
18
|
+
migrating multi-clause `toast.error(extractErrorMessage(error, "Failed
|
|
19
|
+
to X"))` call sites onto the `toastError(toast, "Failed to X", error)`
|
|
20
|
+
helper from `@checkstack/ui`. The helper applies the canonical
|
|
21
|
+
`"action: message"` prefix and 100-character truncation in one place,
|
|
22
|
+
and the now-orphaned `extractErrorMessage` imports are dropped from
|
|
23
|
+
the affected files. No business logic or component APIs changed.
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [f23f3c9]
|
|
26
|
+
- Updated dependencies [f23f3c9]
|
|
27
|
+
- Updated dependencies [f23f3c9]
|
|
28
|
+
- Updated dependencies [f23f3c9]
|
|
29
|
+
- @checkstack/common@0.11.0
|
|
30
|
+
- @checkstack/frontend-api@0.5.2
|
|
31
|
+
- @checkstack/ui@1.10.0
|
|
32
|
+
- @checkstack/infrastructure-common@0.3.2
|
|
33
|
+
- @checkstack/queue-common@0.5.1
|
|
34
|
+
- @checkstack/signal-frontend@0.1.4
|
|
35
|
+
|
|
3
36
|
## 0.4.4
|
|
4
37
|
|
|
5
38
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@checkstack/queue-frontend",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@checkstack/infrastructure-common": "0.3.1",
|
|
27
27
|
"@checkstack/queue-common": "0.5.0",
|
|
28
28
|
"@checkstack/signal-frontend": "0.1.3",
|
|
29
|
-
"@checkstack/ui": "1.
|
|
29
|
+
"@checkstack/ui": "1.9.0",
|
|
30
30
|
"ajv": "^8.18.0",
|
|
31
31
|
"ajv-formats": "^3.0.1",
|
|
32
32
|
"lucide-react": "^0.468.0",
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
CardTitle,
|
|
17
17
|
PluginConfigForm,
|
|
18
18
|
useToast,
|
|
19
|
+
toastError,
|
|
19
20
|
} from "@checkstack/ui";
|
|
20
21
|
import { AlertTriangle, Save, Info, Gauge, Activity } from "lucide-react";
|
|
21
22
|
import { QueueLagAlert } from "./QueueLagAlert";
|
|
22
|
-
import { extractErrorMessage } from "@checkstack/common";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Queue configuration tab component.
|
|
@@ -61,8 +61,7 @@ export const QueueConfigTab = ({ canUpdate }: { canUpdate: boolean }) => {
|
|
|
61
61
|
toast.success("Configuration saved successfully!");
|
|
62
62
|
refetchConfig();
|
|
63
63
|
} catch (error) {
|
|
64
|
-
|
|
65
|
-
toast.error(`Failed to save configuration: ${message}`);
|
|
64
|
+
toastError(toast, "Failed to save queue configuration", error);
|
|
66
65
|
}
|
|
67
66
|
};
|
|
68
67
|
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
CardHeader,
|
|
24
24
|
CardTitle,
|
|
25
25
|
useToast,
|
|
26
|
+
toastError,
|
|
26
27
|
} from "@checkstack/ui";
|
|
27
28
|
import { AlertTriangle, Save, Info, Gauge, Activity } from "lucide-react";
|
|
28
29
|
import { QueueLagAlert } from "../components/QueueLagAlert";
|
|
29
|
-
import { extractErrorMessage } from "@checkstack/common";
|
|
30
30
|
|
|
31
31
|
const QueueConfigPageContent = () => {
|
|
32
32
|
const queueClient = usePluginClient(QueueApi);
|
|
@@ -66,8 +66,7 @@ const QueueConfigPageContent = () => {
|
|
|
66
66
|
toast.success("Configuration saved successfully!");
|
|
67
67
|
refetchConfig();
|
|
68
68
|
} catch (error) {
|
|
69
|
-
|
|
70
|
-
toast.error(`Failed to save configuration: ${message}`);
|
|
69
|
+
toastError(toast, "Failed to save queue configuration", error);
|
|
71
70
|
}
|
|
72
71
|
};
|
|
73
72
|
|