@msm-platform/customer-react 0.4.0 → 0.4.2
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 +17 -0
- package/dist/i18n.d.ts +2 -0
- package/dist/index.js +804 -716
- package/dist/portal.d.ts +1 -1
- package/dist/screens/business.d.ts +14 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ All notable changes to `@msm-platform/customer-react`. The format follows [Keep
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.4.2] - 2026-11-20
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- An event type's first three tags show as small chips on its card in `MsmBooking`'s first step, in the tag's colour from the shared palette, readable in light and dark; a service with no tags shows none. It needs the engine release with partner tags and `@msm-platform/customer-sdk` with `tags` on event types.
|
|
12
|
+
- A customer the business has banned after repeated no-shows is told so when holding or confirming a time is refused: "You can't book online until {date} because of bookings you didn't show up to", with the day the ban ends in the business's timezone, instead of a generic failure. Other refusals read as before. It needs the engine release with no-show bans and `@msm-platform/customer-sdk` with `BookingBanned`.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- An event's card and the booking summary show its resources as the business presents them, in the event's order: each label the business sets before the name, such as "Room: Hall A", or the name alone without one, with neighbours that share a label listed once ("Room: Hall A, Hall B"). A time slot's "With …" uses the name the business presents. They no longer show "Instructor:", "Room:" and "Guest instructors:" on their own. It needs the engine release with resource presentation; with an earlier engine, the names show without labels.
|
|
17
|
+
|
|
18
|
+
## [0.4.1] - 2026-11-20
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- An event's card and the booking summary show who and where: "Instructor: …" for its first person, "Room: …" for its places and "Guest instructors: …" for its other people, in the event's order, on one line. A time slot still shows "With …" when the customer chose who. It needs the engine release with several resources per event.
|
|
23
|
+
|
|
7
24
|
## [0.4.0] - 2026-11-16
|
|
8
25
|
|
|
9
26
|
### Added
|
package/dist/i18n.d.ts
CHANGED
|
@@ -120,6 +120,8 @@ declare const en: {
|
|
|
120
120
|
readonly "book.expired": "We held this time for as long as we could, and it has lapsed. Hold it again if it's still free.";
|
|
121
121
|
readonly "book.notAllowed": "Booking this needs a membership or pass that covers it. Ask the business.";
|
|
122
122
|
readonly "book.unavailable": "This time can no longer be booked. Choose another.";
|
|
123
|
+
readonly "book.banned": "You can't book online until {date} because of bookings you didn't show up to. Contact the business if you think this is a mistake.";
|
|
124
|
+
readonly "book.banned.undated": "You can't book online right now because of bookings you didn't show up to. Contact the business if you think this is a mistake.";
|
|
123
125
|
readonly "book.refused": "This business can't take your booking. Contact them.";
|
|
124
126
|
readonly "book.failed": "The booking could not be made. Try again.";
|
|
125
127
|
readonly "passes.heading": "Memberships and passes";
|