@schandlergarcia/sf-web-components 1.9.70 → 1.9.71
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
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.9.71] - 2026-04-02
|
|
9
|
+
|
|
10
|
+
### Updated
|
|
11
|
+
- **PRD (engine-command-center-prd.md)** - Latest updates from react-cursor-1
|
|
12
|
+
|
|
8
13
|
## [1.9.70] - 2026-04-02
|
|
9
14
|
|
|
10
15
|
### Updated
|
|
@@ -51,7 +51,7 @@ Use `brand-*` Tailwind classes for brand elements. Tailwind built-in colors (gre
|
|
|
51
51
|
|
|
52
52
|
- **Dashboard file:** `src/pages/EngineDashboard.tsx`
|
|
53
53
|
- **Wiring:** `CommandCenter.tsx` imports and renders `EngineDashboard` inside the existing provider stack. Never recreate providers in the dashboard. When updating `CommandCenter.tsx`, only change the dashboard import line — preserve the `heroui-scope` wrapper div and `Toast.Provider` from `@heroui/react` exactly as-is.
|
|
54
|
-
- **Toasts:** Import `toast` from `
|
|
54
|
+
- **Toasts:** Import `toast` from `@heroui/react` in dashboard pages. Use `toast.success("message")` for success toasts and `toast("message")` for informational ones. The `Toast.Provider` in CommandCenter handles rendering — do not add a second `Toaster` or replace the existing provider.
|
|
55
55
|
- **Imports:** Components from `@/components/library`. Theme from `@/components/library/theme/AppThemeProvider`.
|
|
56
56
|
|
|
57
57
|
---
|
|
@@ -170,7 +170,7 @@ Custom inline panel in BaseCard. Do NOT use ActivityCard — this panel has per-
|
|
|
170
170
|
Each escalation row:
|
|
171
171
|
- Status icon: `CheckCircleIcon` (complete, green), `ArrowPathIcon` (working, brand), `ClockIcon` (pending, amber)
|
|
172
172
|
- Title + subtitle + timestamp
|
|
173
|
-
- **"Assign to Agent" button** (Phase 4) on items where status is NOT `"complete"`: teal button (`bg-brand-600`) with `SparklesIcon` + "Assign to Agent" text. On click: `toast.success("Assigned to Eva")` via
|
|
173
|
+
- **"Assign to Agent" button** (Phase 4) on items where status is NOT `"complete"`: teal button (`bg-brand-600`) with `SparklesIcon` + "Assign to Agent" text. On click: `toast.success("Assigned to Eva")` via `@heroui/react`. In Phase 2, render the button but leave the `onClick` empty — wire the toast in Phase 4.
|
|
174
174
|
|
|
175
175
|
```tsx
|
|
176
176
|
<BaseCard>
|
|
@@ -293,8 +293,8 @@ Subtle indicators, not banners.
|
|
|
293
293
|
|--------|----------|
|
|
294
294
|
| "Powered by Agentforce" | Header, next to "Travel Command Center" (small rounded badge) |
|
|
295
295
|
| "View in Salesforce" | Traveler expanded view (micro-link, muted text) |
|
|
296
|
-
| "Salesforce updated" | After rebook/approve actions — `toast("Opening in Salesforce…")` via
|
|
297
|
-
| "Assigned to Eva" | After "Assign to Agent" button click — `toast.success("Assigned to Eva")` via
|
|
296
|
+
| "Salesforce updated" | After rebook/approve actions — `toast("Opening in Salesforce…")` via `@heroui/react` |
|
|
297
|
+
| "Assigned to Eva" | After "Assign to Agent" button click — `toast.success("Assigned to Eva")` via `@heroui/react` |
|
|
298
298
|
|
|
299
299
|
---
|
|
300
300
|
|
package/package.json
CHANGED