@souldi/try-on 0.5.3 → 0.5.4
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 +2 -1
- package/dist/widget.mjs +1 -1
- package/dist/widget.umd.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
- `openSize()` on the button handle still opens the dialog on the customer's size. Before a try-on it now shows the garment and **Try on** there.
|
|
11
11
|
- **New: between two sizes, the customer picks.** When the customer is between two neighbouring sizes, the dialog shows "Your size: between M and L" with two options, M for a closer fit and L for a looser one, the recommended one preselected, and "Both will fit you." under them. **Add size X to cart** follows the choice; a new recommendation (edited measurements, another colour) resets it. Shown only where there is a cart button; otherwise the dialog names one size and gives the same advice in words. A customer whose second size is not a neighbour still sees one size, now captioned "This one is harder to call." alone (it used to follow "From your measurements.").
|
|
12
12
|
- **`onAddToCart` gains `recommendedSize` and `recommendationId`** beside `size`, which is the size the customer chose. Additive: a handler that reads `size` alone keeps working. See [`onAddToCart`](README.md#onaddtocart).
|
|
13
|
-
- **Edit my profile.** The customer's profile opens from a row at the foot of the dialog, on every state, instead of a button on the picture. It shows their photo and measurements, and they edit the measurements there, in place: **Edit measurements** turns the list into fields, and **Save changes** updates the size on the button and in the dialog without closing it. Leaving with unsaved changes asks first. The add-your-weight prompt under the size opens it on the missing field.
|
|
13
|
+
- **Edit my profile.** The customer's profile opens from a row at the foot of the dialog, on every state, instead of a button on the picture. It shows their photo and measurements, and they edit the measurements there, in place: **Edit measurements** turns the list into fields, and **Save changes** updates the size on the button and in the dialog without closing it. Leaving with unsaved changes asks first. The add-your-weight prompt under the size opens it on the missing field. It holds the photo and the account too: "Signed in as … · Sign out" sits under its title, and **Delete account** sits alone at the end, confirmed in place before anything is deleted. **Change photo** on the photo opens the usual photo flow (camera, upload or phone), and the customer comes back to their profile while the new photo is checked: the current photo fades under "Processing…", and a rejected photo says why on the photo still in use. Changing the photo again while one is being checked replaces it. One link switches which photo try-ons use, at once; switching back to the studio photo when it has to be made again shows the same wait until it is ready.
|
|
14
|
+
- **Removed: the "Your Souldi." window.** Every way into it now leads to Edit my profile.
|
|
14
15
|
|
|
15
16
|
## 0.5.0
|
|
16
17
|
|