@checkstack/healthcheck-frontend 0.18.2 → 0.19.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,109 @@
1
1
  # @checkstack/healthcheck-frontend
2
2
 
3
+ ## 0.19.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9016526]
8
+ - @checkstack/common@0.10.0
9
+ - @checkstack/catalog-common@2.2.0
10
+ - @checkstack/healthcheck-common@1.1.0
11
+ - @checkstack/anomaly-common@1.2.0
12
+ - @checkstack/satellite-common@0.5.0
13
+ - @checkstack/auth-frontend@0.6.1
14
+ - @checkstack/dashboard-frontend@0.7.1
15
+ - @checkstack/frontend-api@0.5.1
16
+ - @checkstack/gitops-frontend@0.4.1
17
+ - @checkstack/tips-frontend@0.2.1
18
+ - @checkstack/ui@1.8.1
19
+ - @checkstack/signal-frontend@0.1.3
20
+
21
+ ## 0.19.0
22
+
23
+ ### Minor Changes
24
+
25
+ - 3547670: Wire the new tips infrastructure across the frontends:
26
+
27
+ **Empty-state coaching.** Replace generic "no items" copy with onboarding
28
+ guidance — short description, three numbered steps and a primary CTA — on
29
+ every EmptyState that has a meaningful next action. Affects: catalog
30
+ (systems + groups), dashboard, health-check page, integrations (subscriptions
31
+
32
+ - provider connections), GitOps providers + secrets, GitOps provenance,
33
+ SLO config + overview, maintenance config, satellites, plugin manager,
34
+ incident config, announcements. Read-only EmptyStates (incident history,
35
+ maintenance history, plugin events) get clearer descriptions explaining
36
+ what would populate them.
37
+
38
+ **First-run anchored tips.** Add `<Tip>` popovers to the most important
39
+ "Create" affordances so first-time users see a one-line explanation of
40
+ what they're about to make and why it matters: catalog “Add System” /
41
+ “Add Group”, healthcheck “Create Check”, integrations “New Subscription”,
42
+ GitOps “Add Provider”, SLO “Create SLO”, maintenance “Create Maintenance”,
43
+ satellite “Create Satellite”, plugin-manager “Install plugin”, incident
44
+ “Report Incident”, announcement “New Announcement”. Each tip is dismissed
45
+ per user (server-backed when signed in, localStorage otherwise) and
46
+ namespaced through `qualifyTipId(plugin, …)` so it cannot escape the
47
+ plugin's own namespace.
48
+
49
+ **Welcome banner on the dashboard.** A `<TipBanner>` at the top of the
50
+ dashboard introduces Checkstack's main flow ("add a system, then a health
51
+ check") with a one-click jump into the catalog.
52
+
53
+ ### Patch Changes
54
+
55
+ - 950d6ec: Fix mobile UserMenu items rendering at zero height, group menu items by
56
+ section, and unstack cramped card headers on small viewports.
57
+
58
+ - **UserMenu mobile bug**: On mobile, the user-menu Sheet rendered every
59
+ menu item as a grid row, which combined with `flex-shrink: 1` on each
60
+ item collapsed the buttons whose internal layout uses `display: flex`
61
+ (the items registered with `useNavigate` rather than `<Link>`) to zero
62
+ content height. Switched the mobile container to a flex column with
63
+ `[&>*]:shrink-0` and added `min-h-0` so the sheet scrolls correctly
64
+ when the list overflows.
65
+
66
+ - **UserMenu grouping**: Slot extensions now accept an optional `group`
67
+ field. The user menu buckets `UserMenuItemsSlot` extensions by `group`
68
+ and renders each group under a labeled header (`Workspace`,
69
+ `Reliability`, `Configuration`, `Documentation`, `Account`). Existing
70
+ core plugins are tagged with the appropriate group; third-party plugins
71
+ can pick any of these or supply their own label. Untagged extensions
72
+ render last with no header. `UserMenuItemsBottomSlot` is unaffected.
73
+
74
+ - **Card header responsiveness**: `CardHeaderRow` (the primitive shared by
75
+ Incident, Maintenance, Auth, Catalog, GitOps and other config cards) now
76
+ stacks vertically on narrow viewports and only switches to a single row
77
+ at the `sm` breakpoint, so titles and adjacent filter controls (e.g.
78
+ status `Select`, "Show resolved" checkbox) no longer cram together on
79
+ mobile. Refactored the Incident and Maintenance config pages to use the
80
+ primitive instead of a hand-rolled `flex items-center justify-between`
81
+ row, and made their `Select` triggers full-width on mobile.
82
+
83
+ - Updated dependencies [42abfff]
84
+ - Updated dependencies [42abfff]
85
+ - Updated dependencies [3547670]
86
+ - Updated dependencies [f6f9a5c]
87
+ - Updated dependencies [f6f9a5c]
88
+ - Updated dependencies [1ef2e79]
89
+ - Updated dependencies [aa89bc5]
90
+ - Updated dependencies [3547670]
91
+ - Updated dependencies [950d6ec]
92
+ - Updated dependencies [3547670]
93
+ - Updated dependencies [3547670]
94
+ - @checkstack/anomaly-common@1.1.0
95
+ - @checkstack/common@0.9.0
96
+ - @checkstack/ui@1.8.0
97
+ - @checkstack/satellite-common@0.4.0
98
+ - @checkstack/gitops-frontend@0.4.0
99
+ - @checkstack/catalog-common@2.1.0
100
+ - @checkstack/frontend-api@0.5.0
101
+ - @checkstack/tips-frontend@0.2.0
102
+ - @checkstack/auth-frontend@0.6.0
103
+ - @checkstack/dashboard-frontend@0.7.0
104
+ - @checkstack/healthcheck-common@1.0.2
105
+ - @checkstack/signal-frontend@0.1.2
106
+
3
107
  ## 0.18.2
4
108
 
5
109
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/healthcheck-frontend",
3
- "version": "0.18.2",
3
+ "version": "0.19.1",
4
4
  "license": "Elastic-2.0",
5
5
  "type": "module",
6
6
  "main": "src/index.tsx",
@@ -13,16 +13,18 @@
13
13
  "lint:code": "eslint . --max-warnings 0"
14
14
  },
15
15
  "dependencies": {
16
- "@checkstack/anomaly-common": "1.0.0",
17
- "@checkstack/auth-frontend": "0.5.32",
18
- "@checkstack/catalog-common": "2.0.0",
19
- "@checkstack/common": "0.7.0",
20
- "@checkstack/dashboard-frontend": "0.6.0",
21
- "@checkstack/frontend-api": "0.4.1",
22
- "@checkstack/gitops-frontend": "0.3.7",
23
- "@checkstack/healthcheck-common": "1.0.0",
24
- "@checkstack/signal-frontend": "0.1.0",
25
- "@checkstack/ui": "1.7.0",
16
+ "@checkstack/anomaly-common": "1.1.0",
17
+ "@checkstack/auth-frontend": "0.6.0",
18
+ "@checkstack/catalog-common": "2.1.0",
19
+ "@checkstack/common": "0.9.0",
20
+ "@checkstack/dashboard-frontend": "0.7.0",
21
+ "@checkstack/frontend-api": "0.5.0",
22
+ "@checkstack/gitops-frontend": "0.4.0",
23
+ "@checkstack/healthcheck-common": "1.0.2",
24
+ "@checkstack/satellite-common": "0.4.0",
25
+ "@checkstack/signal-frontend": "0.1.2",
26
+ "@checkstack/tips-frontend": "0.2.0",
27
+ "@checkstack/ui": "1.8.0",
26
28
  "ajv": "^8.18.0",
27
29
  "ajv-formats": "^3.0.1",
28
30
  "date-fns": "^4.1.0",
@@ -31,12 +33,11 @@
31
33
  "react-router-dom": "^6.20.0",
32
34
  "recharts": "^3.6.0",
33
35
  "uuid": "^13.0.0",
34
- "zod": "^4.2.1",
35
- "@checkstack/satellite-common": "0.3.1"
36
+ "zod": "^4.2.1"
36
37
  },
37
38
  "devDependencies": {
38
- "@checkstack/scripts": "0.1.2",
39
- "@checkstack/tsconfig": "0.0.6",
39
+ "@checkstack/scripts": "0.3.1",
40
+ "@checkstack/tsconfig": "0.0.7",
40
41
  "@types/react": "^18.2.0",
41
42
  "typescript": "^5.0.0"
42
43
  }
package/src/index.tsx CHANGED
@@ -96,6 +96,7 @@ export default createFrontendPlugin({
96
96
  createSlotExtension(UserMenuItemsSlot, {
97
97
  id: "healthcheck.user-menu.items",
98
98
  component: HealthCheckMenuItems,
99
+ metadata: { group: "Reliability" },
99
100
  }),
100
101
  createSlotExtension(SystemStateBadgesSlot, {
101
102
  id: "healthcheck.system-health-badge",
@@ -11,7 +11,9 @@ import {
11
11
  type HealthCheckConfiguration,
12
12
  healthcheckRoutes,
13
13
  healthCheckAccess,
14
+ pluginMetadata as healthcheckPluginMetadata,
14
15
  } from "@checkstack/healthcheck-common";
16
+ import { Tip } from "@checkstack/tips-frontend";
15
17
  import { HealthCheckList } from "../components/HealthCheckList";
16
18
  import {
17
19
  Button,
@@ -128,9 +130,18 @@ const HealthCheckConfigPageContent = () => {
128
130
  </Link>
129
131
  </Button>
130
132
  )}
131
- <Button onClick={handleCreate}>
132
- <Plus className="mr-2 h-4 w-4" /> Create Check
133
- </Button>
133
+ <Tip
134
+ plugin={healthcheckPluginMetadata}
135
+ id="create"
136
+ title="Health checks bring systems to life"
137
+ description="Each check decides what 'healthy' means for one of your systems — an HTTP endpoint returning 200, a TCP port being open, a Postgres query succeeding, anything you can express. Failed checks flip the system's health status, notify subscribers, and burn SLO error budget. They do NOT auto-open incidents — those are reported by hand when there's a real outage."
138
+ side="bottom"
139
+ align="end"
140
+ >
141
+ <Button onClick={handleCreate}>
142
+ <Plus className="mr-2 h-4 w-4" /> Create Check
143
+ </Button>
144
+ </Tip>
134
145
  </div>
135
146
  }
136
147
  >
package/tsconfig.json CHANGED
@@ -34,6 +34,9 @@
34
34
  {
35
35
  "path": "../signal-frontend"
36
36
  },
37
+ {
38
+ "path": "../tips-frontend"
39
+ },
37
40
  {
38
41
  "path": "../ui"
39
42
  }