@checkstack/integration-frontend 0.2.30 → 0.3.1

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,51 @@
1
1
  # @checkstack/integration-frontend
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [208ad71]
8
+ - @checkstack/signal-frontend@0.1.0
9
+ - @checkstack/frontend-api@0.4.0
10
+ - @checkstack/integration-common@0.3.0
11
+ - @checkstack/ui@1.6.1
12
+
13
+ ## 0.3.0
14
+
15
+ ### Minor Changes
16
+
17
+ - 8d1ef12: ## Anomaly Detection & UI Improvements
18
+
19
+ ### Anomaly Detection Enhancements (Phase 2)
20
+
21
+ - **`@checkstack/anomaly-backend`**: Implemented background baseline analyzer jobs and anomaly trend deviation detection mechanics.
22
+ - **`@checkstack/anomaly-common`**: Added new baseline statistical logic and inference rules.
23
+ - **`@checkstack/anomaly-frontend`**: Added new Anomaly Widget and refactored system detail rendering to be more human-readable.
24
+ - **`@checkstack/dashboard-frontend`**: Refined the global anomaly widget and fixed hardcoded access gating to render appropriately.
25
+ - **`@checkstack/healthcheck-backend`**: Connected executor telemetry to the anomaly pipeline.
26
+ - **`@checkstack/healthcheck-frontend`**: Reconciled baseline display consistency in Drawer and charts.
27
+
28
+ ### Notification Identifiers
29
+
30
+ - **`@checkstack/incident-backend`**: Resolved system IDs to human-readable System Names within Incident notifications to eliminate ID-only alert content.
31
+ - **`@checkstack/maintenance-backend`**: Adopted the same resolution strategy for Maintenance notifications to keep parity.
32
+
33
+ ### UI Experience
34
+
35
+ - **`@checkstack/incident-frontend`**: Fixed the "Back to X" BackLink to properly use `react-router` hook `useNavigate` instead of doing a full application reload.
36
+ - **`@checkstack/healthcheck-frontend`**: Implemented `useNavigate` for seamless SPA back-linking.
37
+ - **`@checkstack/integration-frontend`**: Updated connections and delivery logs links to navigate without hard reloads.
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [8d1ef12]
42
+ - Updated dependencies [8d1ef12]
43
+ - @checkstack/common@0.7.0
44
+ - @checkstack/ui@1.6.0
45
+ - @checkstack/frontend-api@0.3.11
46
+ - @checkstack/integration-common@0.2.9
47
+ - @checkstack/signal-frontend@0.0.16
48
+
3
49
  ## 0.2.30
4
50
 
5
51
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/integration-frontend",
3
- "version": "0.2.30",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "main": "src/index.tsx",
6
6
  "checkstack": {
@@ -12,11 +12,11 @@
12
12
  "lint:code": "eslint . --max-warnings 0"
13
13
  },
14
14
  "dependencies": {
15
- "@checkstack/integration-common": "0.2.8",
16
- "@checkstack/frontend-api": "0.3.9",
17
- "@checkstack/signal-frontend": "0.0.15",
18
- "@checkstack/common": "0.6.5",
19
- "@checkstack/ui": "1.5.0",
15
+ "@checkstack/integration-common": "0.2.9",
16
+ "@checkstack/frontend-api": "0.3.11",
17
+ "@checkstack/signal-frontend": "0.0.16",
18
+ "@checkstack/common": "0.7.0",
19
+ "@checkstack/ui": "1.6.0",
20
20
  "react": "^18.2.0",
21
21
  "react-router-dom": "^6.22.0",
22
22
  "lucide-react": "^0.344.0"
@@ -1,4 +1,5 @@
1
1
  import { useState } from "react";
2
+ import { useNavigate } from "react-router-dom";
2
3
  import {
3
4
  FileText,
4
5
  RefreshCw,
@@ -61,6 +62,7 @@ const statusConfig: Record<
61
62
  export const DeliveryLogsPage = () => {
62
63
  const integrationClient = usePluginClient(IntegrationApi);
63
64
  const toast = useToast();
65
+ const navigate = useNavigate();
64
66
 
65
67
  const [retrying, setRetrying] = useState<string>();
66
68
 
@@ -110,7 +112,7 @@ export const DeliveryLogsPage = () => {
110
112
  icon={FileText}
111
113
  loading={isLoading}
112
114
  actions={
113
- <BackLink to={resolveRoute(integrationRoutes.routes.list)}>
115
+ <BackLink onClick={() => navigate(resolveRoute(integrationRoutes.routes.list))}>
114
116
  Back to Subscriptions
115
117
  </BackLink>
116
118
  }
@@ -5,7 +5,7 @@
5
5
  * Uses the provider's connectionSchema with DynamicForm for the configuration UI.
6
6
  */
7
7
  import { useState } from "react";
8
- import { useParams } from "react-router-dom";
8
+ import { useParams, useNavigate } from "react-router-dom";
9
9
  import {
10
10
  Plus,
11
11
  Settings2,
@@ -54,6 +54,7 @@ import {
54
54
 
55
55
  export const ProviderConnectionsPage = () => {
56
56
  const { providerId } = useParams<{ providerId: string }>();
57
+ const navigate = useNavigate();
57
58
 
58
59
  const client = usePluginClient(IntegrationApi);
59
60
  const toast = useToast();
@@ -254,7 +255,7 @@ export const ProviderConnectionsPage = () => {
254
255
  loading={loading}
255
256
  actions={
256
257
  <div className="flex items-center gap-2">
257
- <BackLink to={resolveRoute(integrationRoutes.routes.list)}>
258
+ <BackLink onClick={() => navigate(resolveRoute(integrationRoutes.routes.list))}>
258
259
  Back to Integrations
259
260
  </BackLink>
260
261
  <Button onClick={openCreateDialog}>