@schandlergarcia/sf-web-components 2.3.10 → 2.3.12
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,16 @@ 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
|
+
## [2.3.12] - 2026-04-13
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- **Replaced ChatBar with floating Agentforce panel** — Removed the command-palette ChatBar and useEvaAgent hook. Added a new `AgentPanel` component: a floating chat bubble (bottom-right, sparkle icon) that opens a 380px side panel with dark header ("Engine Virtual Agent / Eva · Online"), message bubbles, animated typing indicator (bouncing dots), and text input. Conversation is hardcoded with placeholder messages that play sequentially with realistic typing delays when the panel first opens. User can also type free-form messages that get a canned reply. Styled with dashboard CSS variables for full theme compatibility.
|
|
12
|
+
|
|
13
|
+
## [2.3.11] - 2026-04-13
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- **Eva agent ChatBar on Partner Hub** — Integrated the `ChatBar` component with the `useEvaAgent` hook above the booking stats grid. Connects to the Agentforce Agent REST API on mount, provides contextual suggestions ("Summarize my penalties", "Which property is growing fastest?", "Show overdue invoices"), and opens as a command-palette overlay (⌘K).
|
|
17
|
+
|
|
8
18
|
## [2.3.10] - 2026-04-13
|
|
9
19
|
|
|
10
20
|
### Changed
|
|
@@ -4,6 +4,7 @@ import { useThemeMode } from "@/components/library/theme/AppThemeProvider";
|
|
|
4
4
|
import { toast } from "sonner";
|
|
5
5
|
import React from "react";
|
|
6
6
|
import { usePartnerDashboardData } from "@/hooks/usePartnerDashboardData";
|
|
7
|
+
import AgentPanel from "@/components/AgentPanel";
|
|
7
8
|
import { ENABLE_SAMPLE_DATA_CACHE } from "@/lib/dataStrategy";
|
|
8
9
|
import {
|
|
9
10
|
PENALTY_TABLE_ITEMS,
|
|
@@ -32,6 +33,7 @@ import {
|
|
|
32
33
|
} from "@heroicons/react/24/outline";
|
|
33
34
|
import * as d3 from "d3";
|
|
34
35
|
import engineLogo from "@/assets/images/engine_logo.png";
|
|
36
|
+
import Data360Widget from "@/components/Data360Widget";
|
|
35
37
|
|
|
36
38
|
/**
|
|
37
39
|
* Partner Hub Dashboard
|
|
@@ -966,6 +968,9 @@ export default function PartnerHubDashboard() {
|
|
|
966
968
|
</div>
|
|
967
969
|
</div>
|
|
968
970
|
|
|
971
|
+
{/* Data 360 Widget */}
|
|
972
|
+
<Data360Widget />
|
|
973
|
+
|
|
969
974
|
{/* Property Leaderboard - NEW SECTION */}
|
|
970
975
|
{isLoading ? (
|
|
971
976
|
<div className="bg-gradient-to-br from-white via-[var(--color-dash-surface)] to-white dark:from-[var(--color-dash-text)] dark:via-[var(--color-dash-dark)] dark:to-[var(--color-dash-text)] rounded-2xl p-8 shadow-xl border border-[var(--color-dash-label)]/20 dark:border-[var(--color-dash-muted)]/30">
|
|
@@ -2069,6 +2074,8 @@ export default function PartnerHubDashboard() {
|
|
|
2069
2074
|
</Modal.Container>
|
|
2070
2075
|
</Modal.Backdrop>
|
|
2071
2076
|
</Modal>
|
|
2077
|
+
|
|
2078
|
+
<AgentPanel />
|
|
2072
2079
|
</div>
|
|
2073
2080
|
);
|
|
2074
2081
|
}
|
package/package.json
CHANGED