toga-ai 1.0.246 → 1.0.247
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.
|
@@ -70,20 +70,20 @@ This mirrors the toga2.5 / toga25-supply "named rule" / config-driven cart patte
|
|
|
70
70
|
behavior is expressed in config, not in code branches.
|
|
71
71
|
|
|
72
72
|
## Gotchas
|
|
73
|
-
- **
|
|
74
|
-
|
|
75
|
-
**
|
|
76
|
-
`
|
|
77
|
-
(
|
|
78
|
-
`
|
|
79
|
-
|
|
80
|
-
one-per-order limit
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
73
|
+
- **Computer-kit eligibility depends on consistent `COMPUTERS` categorization (was a data gap,
|
|
74
|
+
now resolved).** The gate matches the primary item's `itemCategory.name === "COMPUTERS"`
|
|
75
|
+
**only**. MacBook kits were initially mis-categorized: during this session
|
|
76
|
+
`Client_Compass.Items` showed MacBooks spread across **four** categories — `"COMPUTERS"`
|
|
77
|
+
(14"/16" MacBook Pro M4, `MW2W3LLA-S` / `MX2X3LLA-S`), `"APPLE LAPTOP"` (14" MacBook Pro M5,
|
|
78
|
+
`MDE54LL/A-S`), `"MAC & ACCESSORIES"` (~18 older M1/M2 models), and `"PDC NEW HIRE - APPLE"`.
|
|
79
|
+
A MacBook tagged anything other than `COMPUTERS` did **not** qualify for expedited (nor
|
|
80
|
+
trigger the one-per-order limit). **Resolved 2026-06-30:** the catalog/data team
|
|
81
|
+
re-categorized the computer/laptop kits (incl. MacBooks) to `COMPUTERS`; the tested
|
|
82
|
+
"Compass 14\" Macbook" was confirmed updated and now shows expedited. **Lesson:** the rule is
|
|
83
|
+
only as correct as the catalog — new computer/laptop kits must be filed under `COMPUTERS`
|
|
84
|
+
(the same category the bundle-page one-per-order limit keys off). If a future kit
|
|
85
|
+
legitimately needs a different category, extend the config `value` to a list (e.g.
|
|
86
|
+
`["COMPUTERS","APPLE LAPTOP"]`) rather than adding code.
|
|
87
87
|
- **The gate is UI-only, not server-enforced.** Shipping methods come from `/shipping-methods`
|
|
88
88
|
(UPS carrier, fetched in `useCartViewModel`) and are filtered client-side. The gate is a
|
|
89
89
|
selection restriction, not order validation. Follow-up recommended: enforce
|
|
@@ -104,5 +104,8 @@ behavior is expressed in config, not in code branches.
|
|
|
104
104
|
base-name compare via `getBaseShippingOptionName`; edit-order silent-downgrade/load race →
|
|
105
105
|
reset guarded on dirty + loaded options. Documented the Compass MacBook category
|
|
106
106
|
inconsistency as a known gotcha (data-normalization item, not a code gap). (tcox)
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
- 2026-06-30 — Catalog data normalized: the computer/laptop kits (incl. MacBooks) were
|
|
108
|
+
re-categorized to `COMPUTERS`, so MacBook kits now qualify for expedited; the tested
|
|
109
|
+
"Compass 14\" Macbook" was confirmed updated. Updated the MacBook-categorization gotcha to
|
|
110
|
+
reflect the resolution, and removed stray closing tags accidentally written into the doc.
|
|
111
|
+
(tcox)
|
package/package.json
CHANGED