@checkstack/integration-frontend 0.0.2
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 +95 -0
- package/package.json +30 -0
- package/src/components/CreateSubscriptionDialog.tsx +649 -0
- package/src/components/IntegrationMenuItem.tsx +35 -0
- package/src/components/ProviderDocumentation.tsx +137 -0
- package/src/index.tsx +60 -0
- package/src/pages/DeliveryLogsPage.tsx +229 -0
- package/src/pages/IntegrationsPage.tsx +375 -0
- package/src/pages/ProviderConnectionsPage.tsx +470 -0
- package/src/provider-config-registry.ts +75 -0
- package/tsconfig.json +6 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# @checkstack/integration-frontend
|
|
2
|
+
|
|
3
|
+
## 0.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d20d274: Initial release of all @checkstack packages. Rebranded from Checkmate to Checkstack with new npm organization @checkstack and domain checkstack.dev.
|
|
8
|
+
- Updated dependencies [d20d274]
|
|
9
|
+
- @checkstack/common@0.0.2
|
|
10
|
+
- @checkstack/frontend-api@0.0.2
|
|
11
|
+
- @checkstack/integration-common@0.0.2
|
|
12
|
+
- @checkstack/signal-frontend@0.0.2
|
|
13
|
+
- @checkstack/ui@0.0.2
|
|
14
|
+
|
|
15
|
+
## 0.1.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- a65e002: Add command palette commands and deep-linking support
|
|
20
|
+
|
|
21
|
+
**Backend Changes:**
|
|
22
|
+
|
|
23
|
+
- `healthcheck-backend`: Add "Manage Health Checks" (⇧⌘H) and "Create Health Check" commands
|
|
24
|
+
- `catalog-backend`: Add "Manage Systems" (⇧⌘S) and "Create System" commands
|
|
25
|
+
- `integration-backend`: Add "Manage Integrations" (⇧⌘G), "Create Integration Subscription", and "View Integration Logs" commands
|
|
26
|
+
- `auth-backend`: Add "Manage Users" (⇧⌘U), "Create User", "Manage Roles", and "Manage Applications" commands
|
|
27
|
+
- `command-backend`: Auto-cleanup command registrations when plugins are deregistered
|
|
28
|
+
|
|
29
|
+
**Frontend Changes:**
|
|
30
|
+
|
|
31
|
+
- `HealthCheckConfigPage`: Handle `?action=create` URL parameter
|
|
32
|
+
- `CatalogConfigPage`: Handle `?action=create` URL parameter
|
|
33
|
+
- `IntegrationsPage`: Handle `?action=create` URL parameter
|
|
34
|
+
- `AuthSettingsPage`: Handle `?tab=` and `?action=create` URL parameters
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- 4b463ff: Fixed webhook subscriptions list to show fully qualified event names and aligned the action button to the right
|
|
39
|
+
- a65e002: Add compile-time type safety for Lucide icon names
|
|
40
|
+
|
|
41
|
+
- Add `LucideIconName` type and `lucideIconSchema` Zod schema to `@checkstack/common`
|
|
42
|
+
- Update backend interfaces (`AuthStrategy`, `NotificationStrategy`, `IntegrationProvider`, `CommandDefinition`) to use `LucideIconName`
|
|
43
|
+
- Update RPC contracts to use `lucideIconSchema` for proper type inference across RPC boundaries
|
|
44
|
+
- Simplify `SocialProviderButton` to use `DynamicIcon` directly (removes 30+ lines of pascalCase conversion)
|
|
45
|
+
- Replace static `iconMap` in `SearchDialog` with `DynamicIcon` for dynamic icon rendering
|
|
46
|
+
- Add fallback handling in `DynamicIcon` when icon name isn't found
|
|
47
|
+
- Fix legacy kebab-case icon names to PascalCase: `mail`→`Mail`, `send`→`Send`, `github`→`Github`, `key-round`→`KeyRound`, `network`→`Network`, `AlertCircle`→`CircleAlert`
|
|
48
|
+
|
|
49
|
+
- 32ea706: ### User Menu Loading State Fix
|
|
50
|
+
|
|
51
|
+
Fixed user menu items "popping in" one after another due to independent async permission checks.
|
|
52
|
+
|
|
53
|
+
**Changes:**
|
|
54
|
+
|
|
55
|
+
- Added `UserMenuItemsContext` interface with `permissions` and `hasCredentialAccount` to `@checkstack/frontend-api`
|
|
56
|
+
- `LoginNavbarAction` now pre-fetches all permissions and credential account info before rendering the menu
|
|
57
|
+
- All user menu item components now use the passed context for synchronous permission checks instead of async hooks
|
|
58
|
+
- Uses `qualifyPermissionId` helper for fully-qualified permission IDs
|
|
59
|
+
|
|
60
|
+
**Result:** All menu items appear simultaneously when the user menu opens.
|
|
61
|
+
|
|
62
|
+
- Updated dependencies [52231ef]
|
|
63
|
+
- Updated dependencies [b0124ef]
|
|
64
|
+
- Updated dependencies [54cc787]
|
|
65
|
+
- Updated dependencies [a65e002]
|
|
66
|
+
- Updated dependencies [ae33df2]
|
|
67
|
+
- Updated dependencies [32ea706]
|
|
68
|
+
- @checkstack/ui@0.1.2
|
|
69
|
+
- @checkstack/common@0.2.0
|
|
70
|
+
- @checkstack/frontend-api@0.1.0
|
|
71
|
+
- @checkstack/integration-common@0.1.1
|
|
72
|
+
- @checkstack/signal-frontend@0.1.1
|
|
73
|
+
|
|
74
|
+
## 0.0.3
|
|
75
|
+
|
|
76
|
+
### Patch Changes
|
|
77
|
+
|
|
78
|
+
- Updated dependencies [0f8cc7d]
|
|
79
|
+
- @checkstack/frontend-api@0.0.3
|
|
80
|
+
- @checkstack/ui@0.1.1
|
|
81
|
+
|
|
82
|
+
## 0.0.2
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- Updated dependencies [eff5b4e]
|
|
87
|
+
- Updated dependencies [ffc28f6]
|
|
88
|
+
- Updated dependencies [4dd644d]
|
|
89
|
+
- Updated dependencies [b55fae6]
|
|
90
|
+
- Updated dependencies [b354ab3]
|
|
91
|
+
- @checkstack/ui@0.1.0
|
|
92
|
+
- @checkstack/common@0.1.0
|
|
93
|
+
- @checkstack/integration-common@0.1.0
|
|
94
|
+
- @checkstack/signal-frontend@0.1.0
|
|
95
|
+
- @checkstack/frontend-api@0.0.2
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@checkstack/integration-frontend",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "src/index.tsx",
|
|
6
|
+
"checkstack": {
|
|
7
|
+
"type": "frontend"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"typecheck": "tsc --noEmit",
|
|
11
|
+
"lint": "bun run lint:code",
|
|
12
|
+
"lint:code": "eslint . --max-warnings 0"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@checkstack/integration-common": "workspace:*",
|
|
16
|
+
"@checkstack/frontend-api": "workspace:*",
|
|
17
|
+
"@checkstack/signal-frontend": "workspace:*",
|
|
18
|
+
"@checkstack/common": "workspace:*",
|
|
19
|
+
"@checkstack/ui": "workspace:*",
|
|
20
|
+
"react": "^18.2.0",
|
|
21
|
+
"react-router-dom": "^6.22.0",
|
|
22
|
+
"lucide-react": "^0.344.0"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"typescript": "^5.0.0",
|
|
26
|
+
"@types/react": "^18.2.0",
|
|
27
|
+
"@checkstack/tsconfig": "workspace:*",
|
|
28
|
+
"@checkstack/scripts": "workspace:*"
|
|
29
|
+
}
|
|
30
|
+
}
|