@checkstack/incident-frontend 0.5.6 → 0.6.0
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,45 @@
|
|
|
1
1
|
# @checkstack/incident-frontend
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8d1ef12: ## Anomaly Detection & UI Improvements
|
|
8
|
+
|
|
9
|
+
### Anomaly Detection Enhancements (Phase 2)
|
|
10
|
+
|
|
11
|
+
- **`@checkstack/anomaly-backend`**: Implemented background baseline analyzer jobs and anomaly trend deviation detection mechanics.
|
|
12
|
+
- **`@checkstack/anomaly-common`**: Added new baseline statistical logic and inference rules.
|
|
13
|
+
- **`@checkstack/anomaly-frontend`**: Added new Anomaly Widget and refactored system detail rendering to be more human-readable.
|
|
14
|
+
- **`@checkstack/dashboard-frontend`**: Refined the global anomaly widget and fixed hardcoded access gating to render appropriately.
|
|
15
|
+
- **`@checkstack/healthcheck-backend`**: Connected executor telemetry to the anomaly pipeline.
|
|
16
|
+
- **`@checkstack/healthcheck-frontend`**: Reconciled baseline display consistency in Drawer and charts.
|
|
17
|
+
|
|
18
|
+
### Notification Identifiers
|
|
19
|
+
|
|
20
|
+
- **`@checkstack/incident-backend`**: Resolved system IDs to human-readable System Names within Incident notifications to eliminate ID-only alert content.
|
|
21
|
+
- **`@checkstack/maintenance-backend`**: Adopted the same resolution strategy for Maintenance notifications to keep parity.
|
|
22
|
+
|
|
23
|
+
### UI Experience
|
|
24
|
+
|
|
25
|
+
- **`@checkstack/incident-frontend`**: Fixed the "Back to X" BackLink to properly use `react-router` hook `useNavigate` instead of doing a full application reload.
|
|
26
|
+
- **`@checkstack/healthcheck-frontend`**: Implemented `useNavigate` for seamless SPA back-linking.
|
|
27
|
+
- **`@checkstack/integration-frontend`**: Updated connections and delivery logs links to navigate without hard reloads.
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [8d1ef12]
|
|
32
|
+
- Updated dependencies [8d1ef12]
|
|
33
|
+
- Updated dependencies [8d1ef12]
|
|
34
|
+
- @checkstack/dashboard-frontend@0.5.0
|
|
35
|
+
- @checkstack/common@0.7.0
|
|
36
|
+
- @checkstack/ui@1.6.0
|
|
37
|
+
- @checkstack/auth-frontend@0.5.30
|
|
38
|
+
- @checkstack/catalog-common@1.5.2
|
|
39
|
+
- @checkstack/frontend-api@0.3.11
|
|
40
|
+
- @checkstack/incident-common@0.4.9
|
|
41
|
+
- @checkstack/signal-frontend@0.0.16
|
|
42
|
+
|
|
3
43
|
## 0.5.6
|
|
4
44
|
|
|
5
45
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@checkstack/incident-frontend",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "src/index.tsx",
|
|
6
6
|
"checkstack": {
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"lint:code": "eslint . --max-warnings 0"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@checkstack/auth-frontend": "0.5.
|
|
16
|
-
"@checkstack/catalog-common": "1.
|
|
15
|
+
"@checkstack/auth-frontend": "0.5.29",
|
|
16
|
+
"@checkstack/catalog-common": "1.5.1",
|
|
17
17
|
"@checkstack/common": "0.6.5",
|
|
18
|
-
"@checkstack/dashboard-frontend": "0.4.
|
|
19
|
-
"@checkstack/frontend-api": "0.3.
|
|
20
|
-
"@checkstack/incident-common": "0.4.
|
|
18
|
+
"@checkstack/dashboard-frontend": "0.4.6",
|
|
19
|
+
"@checkstack/frontend-api": "0.3.10",
|
|
20
|
+
"@checkstack/incident-common": "0.4.8",
|
|
21
21
|
"@checkstack/signal-frontend": "0.0.15",
|
|
22
|
-
"@checkstack/ui": "1.5.
|
|
22
|
+
"@checkstack/ui": "1.5.1",
|
|
23
23
|
"date-fns": "^4.1.0",
|
|
24
24
|
"lucide-react": "^0.344.0",
|
|
25
25
|
"react": "^18.2.0",
|
|
@@ -122,7 +122,7 @@ const IncidentDetailPageContent: React.FC = () => {
|
|
|
122
122
|
<div className="p-12 text-center">
|
|
123
123
|
<p className="text-muted-foreground">Incident not found</p>
|
|
124
124
|
<BackLink
|
|
125
|
-
|
|
125
|
+
onClick={() => navigate(resolveRoute(incidentRoutes.routes.config, {}))}
|
|
126
126
|
className="mt-4"
|
|
127
127
|
>
|
|
128
128
|
Back to Incidents
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { useParams, Link } from "react-router-dom";
|
|
2
|
+
import { useParams, Link, useNavigate } from "react-router-dom";
|
|
3
3
|
import { usePluginClient, wrapInSuspense } from "@checkstack/frontend-api";
|
|
4
4
|
import { useSignal } from "@checkstack/signal-frontend";
|
|
5
5
|
import { resolveRoute } from "@checkstack/common";
|
|
@@ -23,6 +23,7 @@ import { formatDistanceToNow } from "date-fns";
|
|
|
23
23
|
|
|
24
24
|
const SystemIncidentHistoryPageContent: React.FC = () => {
|
|
25
25
|
const { systemId } = useParams<{ systemId: string }>();
|
|
26
|
+
const navigate = useNavigate();
|
|
26
27
|
const incidentClient = usePluginClient(IncidentApi);
|
|
27
28
|
const catalogClient = usePluginClient(CatalogApi);
|
|
28
29
|
|
|
@@ -92,9 +93,13 @@ const SystemIncidentHistoryPageContent: React.FC = () => {
|
|
|
92
93
|
// Actions for the page header
|
|
93
94
|
const headerActions = system && (
|
|
94
95
|
<BackLink
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
onClick={() =>
|
|
97
|
+
navigate(
|
|
98
|
+
resolveRoute(catalogRoutes.routes.systemDetail, {
|
|
99
|
+
systemId: system.id,
|
|
100
|
+
}),
|
|
101
|
+
)
|
|
102
|
+
}
|
|
98
103
|
>
|
|
99
104
|
Back to {system.name}
|
|
100
105
|
</BackLink>
|