@growth-operations/ui-shared 1.12.2 → 1.12.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growth-operations/ui-shared",
3
- "version": "1.12.2",
3
+ "version": "1.12.3",
4
4
  "description": "Shared HubSpot UI-extension modules (Home, Billing) for Growth Operations apps.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -148,6 +148,17 @@ function UsageContent({ context, basePath, portalId, appName, days }) {
148
148
  <Tile>
149
149
  <Flex direction="column" gap="small">
150
150
  <Text format={{ fontWeight: "bold" }}>Credits used per day</Text>
151
+ {/* TEMP diagnostic — remove once the window-change bug is
152
+ root-caused. Renders straight from the fetched series with no
153
+ chart involved, so it proves whether new data is actually
154
+ arriving on a window change (this line updates) vs. only the
155
+ LineChart failing to reflect it (this line updates, chart
156
+ doesn't). If THIS line also doesn't change, the bug is
157
+ upstream of the chart (fetch/state), not the remote component. */}
158
+ <Text format={{ fontStyle: "italic" }}>
159
+ DEBUG window={days} points={series.length} first=
160
+ {series[0]?.date} last={series[series.length - 1]?.date}
161
+ </Text>
151
162
  <LineChart
152
163
  data={series}
153
164
  axes={{