toga-ai 1.0.346 → 1.0.347
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.
|
@@ -329,6 +329,17 @@ the call 403s and returns no label.
|
|
|
329
329
|
rehydrate `signatureType` in `EditShipmentForm.tsx` to the option object `{uuid, name}` derived from
|
|
330
330
|
`trackingNumber.requiresSignature` (`true`→`{uuid:"Required",name:"Required"}`, `false`→Not Required,
|
|
331
331
|
`null`→None Specified). Reusable checklist for any NEW select field in these forms.
|
|
332
|
+
- **⚠ react-select `unstyled` still renders its DEFAULT DropdownIndicator glyph — you can't fix a
|
|
333
|
+
glyph mismatch with `classNames` alone.** Native `<select>` elements in these forms (the modal's
|
|
334
|
+
Addressee warehouse selector, the in./cm unit selector) render an FA `chevronDown`, but
|
|
335
|
+
`BaseInput`'s react-select renders react-select's own default caret SVG — a different shape/weight
|
|
336
|
+
(Figma's "dropdown - single select" uses `chevron-down` everywhere, so the react-select caret is
|
|
337
|
+
the outlier). `classNames.dropdownIndicator` only recolors/resizes the existing SVG; to change the
|
|
338
|
+
**glyph** you must override `components.DropdownIndicator`. Fix (2026-07-15): added a
|
|
339
|
+
`CompactDropdownIndicator` (FA `chevronDown`, `text-xs text-supply-blue-400`) to `BaseInput` and
|
|
340
|
+
wired it into both react-select `components={{}}` blocks **only when `compact` is true**
|
|
341
|
+
(`...(compact ? { DropdownIndicator: CompactDropdownIndicator } : {})`) — scoped to compact to
|
|
342
|
+
limit blast radius to the shipment forms/modal and leave non-compact selects on the default caret.
|
|
332
343
|
- **⚠ Bridge uuid vs trackingNumber uuid on delete — two different records.** `deleteShipments`'s
|
|
333
344
|
second arg `itemFulfillmentPackageUuid` is the **bridge** record uuid
|
|
334
345
|
(`itemFulfillmentTrackingNumbers[0].uuid` = the `ItemFulfillments_TrackingNumbers` join row), NOT
|
|
@@ -406,6 +417,13 @@ not the base `_Model_Client_ItemFulfillment`. Tested with GroWrk; UPS support wa
|
|
|
406
417
|
for Compass and is not yet in prod.
|
|
407
418
|
|
|
408
419
|
## Change history
|
|
420
|
+
- 2026-07-15 — TRUE-79191: unified the **dropdown chevron glyph** across the compact selects — added a
|
|
421
|
+
`CompactDropdownIndicator` (FA `chevronDown`) to `BaseInput` and wired it into both react-select
|
|
422
|
+
`components` blocks **only when `compact` is true**, so the react-select caret matches the native
|
|
423
|
+
`<select>` chevrons per Figma. Documented the reusable gotcha: react-select `unstyled` still renders
|
|
424
|
+
its default DropdownIndicator, so a glyph mismatch needs a `components.DropdownIndicator` override,
|
|
425
|
+
not `classNames`. (Footer button-row spacing `mt-12`→`mt-5` and the "Edit Return Label" modal header
|
|
426
|
+
divider were cosmetic Figma polish — no doc change.) (mhammontree)
|
|
409
427
|
- 2026-07-15 — TRUE-79191: added a **"Delete Shipment"** button to the Edit Shipment form (edit-mode
|
|
410
428
|
only, footer bottom-left) — `SupplyFormGuardrail` confirm → "Deleting shipment..." screen → returns
|
|
411
429
|
to Select Items. Reuses the Pending-card cascade delete `deleteShipments` (`ShipmentsApi.ts`).
|
package/package.json
CHANGED