@checkstack/frontend 0.2.21 → 0.3.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,42 @@
1
1
  # @checkstack/frontend
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3589199: Add About page with platform information, license, contact details, and version information
8
+
9
+ - New `about-common` package with plugin metadata
10
+ - New `about-frontend` package with the About page and user menu item
11
+ - New `/api/about` backend endpoint exposing core version and loaded plugin versions
12
+ - Accessible via "About Checkstack" in the user menu dropdown
13
+
14
+ ### Patch Changes
15
+
16
+ - dee86ec: feat: add portal announcement system
17
+
18
+ Introduces a complete announcement system for communicating with portal users:
19
+
20
+ - **announcement-common**: Zod schemas for announcements (severity, visibility, display mode), oRPC contract with 6 procedures (public retrieval, user dismissal, admin CRUD), access rules, and `ANNOUNCEMENT_UPDATED` signal definition
21
+ - **announcement-backend**: Drizzle schema with `announcements` and `announcement_dismissals` tables, router with temporal filtering, visibility control, per-user dismissal persistence, user cleanup hook, real-time signal broadcasting on create/update/delete, and command palette registration ("Create Announcement", "Manage Announcements" with `⇧⌘A` shortcut)
22
+ - **announcement-frontend**: Admin management page with create/edit dialog, global banner component above the navbar (severity-colored, expandable markdown), dashboard cards with compact expand/collapse, admin menu link, and real-time WebSocket signal subscription for instant UI updates
23
+ - **frontend**: Integrates AnnouncementBanner into App.tsx for global visibility
24
+
25
+ - Updated dependencies [3589199]
26
+ - Updated dependencies [dee86ec]
27
+ - @checkstack/about-frontend@0.2.0
28
+ - @checkstack/announcement-frontend@0.2.0
29
+
30
+ ## 0.2.22
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [23c80bc]
35
+ - @checkstack/ui@1.2.0
36
+ - @checkstack/auth-frontend@0.5.17
37
+ - @checkstack/catalog-frontend@0.5.6
38
+ - @checkstack/command-frontend@0.2.19
39
+
3
40
  ## 0.2.21
4
41
 
5
42
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/frontend",
3
- "version": "0.2.21",
3
+ "version": "0.3.0",
4
4
  "checkstack": {
5
5
  "type": "frontend"
6
6
  },
@@ -15,14 +15,16 @@
15
15
  "lint:code": "eslint . --max-warnings 0"
16
16
  },
17
17
  "dependencies": {
18
- "@checkstack/auth-frontend": "0.5.13",
19
- "@checkstack/catalog-frontend": "0.5.2",
20
- "@checkstack/command-frontend": "0.2.16",
18
+ "@checkstack/about-frontend": "0.1.0",
19
+ "@checkstack/announcement-frontend": "0.1.0",
20
+ "@checkstack/auth-frontend": "0.5.17",
21
+ "@checkstack/catalog-frontend": "0.5.6",
22
+ "@checkstack/command-frontend": "0.2.19",
21
23
  "@checkstack/common": "0.6.4",
22
24
  "@checkstack/frontend-api": "0.3.8",
23
25
  "@checkstack/signal-common": "0.1.8",
24
26
  "@checkstack/signal-frontend": "0.0.14",
25
- "@checkstack/ui": "1.1.3",
27
+ "@checkstack/ui": "1.2.0",
26
28
  "@orpc/client": "^1.13.14",
27
29
  "@tanstack/react-query": "^5.64.0",
28
30
  "@tanstack/react-query-devtools": "^5.64.0",
package/src/App.tsx CHANGED
@@ -41,6 +41,7 @@ import { SignalProvider } from "@checkstack/signal-frontend";
41
41
  import { SessionProvider } from "@checkstack/auth-frontend";
42
42
  import { usePluginLifecycle } from "./hooks/usePluginLifecycle";
43
43
  import { useCommands, useGlobalShortcuts } from "@checkstack/command-frontend";
44
+ import { AnnouncementBanner } from "@checkstack/announcement-frontend";
44
45
 
45
46
  // Create a stable query client instance
46
47
  const queryClient = new QueryClient({
@@ -132,6 +133,7 @@ function AppContent() {
132
133
  {/* Global keyboard shortcuts for commands */}
133
134
  <GlobalShortcuts />
134
135
  <AmbientBackground className="text-foreground font-sans">
136
+ <AnnouncementBanner />
135
137
  <header className="p-4 bg-card/80 backdrop-blur-sm shadow-sm border-b border-border z-50 relative">
136
138
  <div className="flex items-center justify-between gap-4">
137
139
  {/* Left: Logo and main navigation */}