Commit Graph

82 Commits

Author SHA1 Message Date
Matilda Landström
88b6cdf535 Merged in fix/meeting-room-type (pull request #2186)
fix: correct meeting room type

* fix: correct meeting room type


Approved-by: Erik Tiekstra
2025-05-22 08:53:32 +00:00
Matilda Landström
e5836c9e65 Merged in fix/SW-2817-activity-card (pull request #2160)
Fix/SW-2816: activity card span full width

* fix(SW-2816): image span full width

* fix(SW-2817): improve image blurriness


Approved-by: Erik Tiekstra
2025-05-21 06:27:59 +00:00
Michael Zetterberg
f3936f41d8 Merged in fix/label-sync (pull request #2163)
fix: english label sync

* fix: english label sync

* fix: sync from Lokalise


Approved-by: Linus Flood
2025-05-21 04:11:22 +00:00
Chuma Mcphoy (We Ahead)
1b8688c7ee Merged in fix/LOY-105-correct-translation-for-signup-tc (pull request #2167)
fix(LOY-105): use existing translation for t&c text 

* fix(LOY-105): use existing translation for t&c text in signup


Approved-by: Christian Andolf
2025-05-20 14:53:23 +00:00
Joakim Jäderberg
3e50132bc9 Merged in fix/SW-2822-missing-meetingroom-images (pull request #2151)
fix: meeting rooms with missing images

* fix: meeting rooms with missing images


Approved-by: Linus Flood
2025-05-20 05:43:43 +00:00
Matilda Landström
bbe04e3cb0 Merged in fix/alert-icon (pull request #2139)
fix(SW-2807): alert icons

* fix(SW-2807): fix incorrect icon color on sitewide alert

* fix(SW-2807): change error icon


Approved-by: Erik Tiekstra
Approved-by: Linus Flood
2025-05-19 11:22:38 +00:00
Chuma Mcphoy (We Ahead)
abf48c4152 Merged in fix/LOY-105-signupform-error-messages (pull request #2121)
feat(LOY-105): update signup form validation messages

* feat(LOY-105): improve signup form validation messages


Approved-by: Erik Tiekstra
2025-05-19 07:12:45 +00:00
Erik Tiekstra
2401615caa fix(SW-2754): Fixed issue where server rendered html included faulty links
Approved-by: Matilda Landström
2025-05-16 06:21:09 +00:00
Erik Tiekstra
e9dd2b3738 fix(SW-2657): Changed size of images inside meeting subpage cards
Approved-by: Matilda Landström
2025-05-15 13:37:11 +00:00
Arvid Norlin
a8fa32a802 Merged in fix/disable-autocomlete-country-and-phone (pull request #2107)
fix: disable auto-complete for Country and Phone inputs

* fix(SW-2765): disable auto-complete for Country and Phone inputs


Approved-by: Linus Flood
2025-05-15 12:18:42 +00:00
Arvid Norlin
91f9cebadb Merged in fix/SW-2669 (pull request #2047)
fix(SW-2669): replace % height with dvh to handle iOS address bar

* fix(SW-2669): replace % height with dvh to handle iOS address bar


Approved-by: Tobias Johansson
Approved-by: Erik Tiekstra
2025-05-12 13:25:32 +00:00
Niclas Edenvin
70f9f2a321 Merged in fix/SW-2664-enter-details-ios (pull request #2025)
fix(SW-2664): remove ontouch callback that causes bugs

* fix(SW-2664): remove ontouch callback that causes bugs

This was causing touch related bugs on iOS on the enter details page.


Approved-by: Arvid Norlin
2025-05-09 09:44:57 +00:00
Erik Tiekstra
d99cd8a8c9 fix(SW-2603): Fixed image sizes on hotel pages and width of main section
Approved-by: Arvid Norlin
Approved-by: Matilda Landström
2025-05-06 13:47:26 +00:00
Simon Emanuelsson
4d41d4fd92 feat: autofill all fields on enter details and countryselector clean up 2025-05-06 10:03:24 +02:00
Christian Andolf
d6b70edfa3 chore: replace old border-radius variables with new tokens 2025-05-05 11:11:37 +02:00
Simon Emanuelsson
db289b80b1 feat: refactor NewDates, clean up legacy code
This reverts commit 0c7836fa59.
2025-05-03 21:45:45 +02:00
Arvid Norlin
0c7836fa59 Merged in fix/SW-2553-sidepeeks (pull request #1919)
Fix/SW-2553 sidepeeks

* fix(SW-2553): apply sidepeek display logic

* chore: move convertToChildType and getPriceType utils

* fix: apply PR requested changes

* fix(SW-2553): fix roomNumber for multiroom

* fix(SW-2553): fix sidepeek for my-stay page


Approved-by: Michael Zetterberg
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-05-02 15:10:34 +00:00
Hrishikesh Vaipurkar
e6a3e5dbd8 Merged in feat/SW-2398-ui-update-for-booking-codes (pull request #1862)
feat: SW-2398 UI updates booking codes

* feat: SW-2398 UI updates booking codes

* feat: SW-2398 Rate cards UI changes

* feat: SW-2398 Optimized css with vars and chip code

* feat: SW-2398 Optimized code as review comments

* feat: SW-2398 Optimized code

* feat: SW-2398 Optimized code and mobile UX

* feat: SW-2398 Optimized code

* feat: SW-2398 Fixed UI

* feat: SW-2398 Updated animation


Approved-by: Erik Tiekstra
2025-05-02 12:36:22 +00:00
Michael Zetterberg
efb7219b6d fix: copy fixes for English labels 2025-04-30 09:37:54 +00:00
Christian Andolf
ffafdd24d1 Merged in fix/reduce-amount-of-section-elements (pull request #1883)
fix: reduce the amount of section elements being used since most have no headers connected to them

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-29 07:03:37 +00:00
Christian Andolf
32e95fcbbd fix: reduce the amount of section elements being used since most have no headers connected to them 2025-04-28 14:56:02 +02:00
Simon Emanuelsson
ec087a3d15 feat: refactor of my stay 2025-04-28 12:40:52 +00:00
Erik Tiekstra
8152aea649 fix(SW-1241): Adjusted amenities sidepeek on hotel pages and booking flow
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-04-23 08:41:04 +00:00
Christian Andolf
652023fac3 Merged in fix/SW-2476-country-select-controlled (pull request #1839)
fix(SW-2476): turn country select into a controlled component again

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-22 12:40:02 +00:00
Christian Andolf
3df28f950e fix(SW-2476): turn country select into a controlled component again 2025-04-22 14:01:43 +02:00
Christian Andolf
3181579d38 fix: add back data-testid attributes to date selects 2025-04-22 13:44:42 +02:00
Niclas Edenvin
3f6a65d390 Merged in fix/sw-1867-multiroom-guests (pull request #1822)
fix(sw-1867): Don't allow same name or membno between rooms

* fix(sw-1867): Don't allow same name or membno between rooms

We don't want to allow two different rooms to have the same firstname
and lastname combination or the same membership number.

* Fine tune validation triggers

* Add comments explaining manual validation triggering

* Change to react-hook-form built-in deps instead


Approved-by: Simon.Emanuelsson
2025-04-22 09:06:43 +00:00
Chuma Mcphoy (We Ahead)
8a68a79ac4 Merged in fix/LOY-227-password-input-validation-crash (pull request #1835)
fix(LOY-227): use new getErrorMessage for PasswordInput

* fix(LOY-227): improve error message handling in PasswordInput component


Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-04-22 08:13:30 +00:00
Christian Andolf
c773dc3dfc feat(LOY-169): use new filter select for country select
standardised colors on error messages

fixed error validation on date field

removed duplicates in country list
2025-04-22 08:48:34 +02:00
Christian Andolf
b52e1b0629 fix: restore generated id for inputs
really this shouldn't be needed but in multiple cases we're passing the field name as id which causes multiple labels to use the same for value. really we should just omit this prop unless necessary so we don't need to generate it like this.
2025-04-16 17:31:14 +02:00
Christian Andolf
e544feaa36 fix(SW-2385): add booking widget error messages 2025-04-16 10:17:17 +00:00
Christian Andolf
595eb575d7 fix(SW-2385): handle error messages provided from zod validation in forms client side 2025-04-16 10:17:17 +00:00
Christian Andolf
563567716b fix(SW-1970): focusable inputs on safari ios
some cleanup and non-interactive label texts in inputs
2025-04-16 09:16:37 +02:00
Christian Andolf
af918ac442 fix(SW-1509): fix default selected key by using initial parsed user values and not the re-rendered ones 2025-04-15 13:14:33 +02:00
Christian Andolf
e04342110a feat(SW-1509): simplified date of birth component to work with new select
added animated labels to new select
2025-04-15 13:14:33 +02:00
Michael Zetterberg
5860377774 feat(SW-706): enable lint rules for intl 2025-04-14 11:30:07 +00:00
Michael Zetterberg
440e1f92df feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass 2025-04-14 11:30:06 +00:00
Christian Andolf
ee72f58c33 fix: consolidate media queries to be consistent with ranges 2025-04-09 16:30:12 +02:00
Anton Gunnarsson
32ac7c8a3d Merged in fix/sw-2174-enter-click-should-select-radiocard (pull request #1768)
SW-2174 Handle Enter press on RadioCard label

* Handle Enter click on RadioCard label


Approved-by: Linus Flood
2025-04-09 12:13:18 +00:00
Hrishikesh Vaipurkar
73cb423c95 Merged in feat/SW-2078-update-confirmation-page-vouchers (pull request #1731)
Feat/SW-2078 update confirmation page vouchers and Corp Cheques rate

* feat: SW-2078 Tablet bookingCode ref forward issue fix

(cherry picked from commit 16a6a00fd99b6b6220a98ad74de062d67d35e1c0)

* feat: SW-2078 Display Vouchers and Cheques prices on confirmation page

(cherry picked from commit a76494de497a7d5e7641cb0036bd7055acf875c1)

* feat: SW-2078 Rebase issue fix

* feat: SW-2079 Updated rate title in terms modal

* feat: SW-2078 Optimized code

* feat: SW-2078 Removed extra tags


Approved-by: Christian Andolf
2025-04-08 07:27:40 +00:00
Erik Tiekstra
85a90baa12 Merged in fix/SW-2118-breadcrumbs (pull request #1721)
fix(SW-2118): changed variants for breadcrumbs to handle different background-colors and widths

* fix(SW-2118): changed variants for breadcrumbs to handle different background-colors and widths


Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-04-07 14:02:39 +00:00
Chuma Mcphoy (We Ahead)
a9c6901752 Merged in fix/SW-2204-check-icon-centering (pull request #1746)
fix(SW-2204): Fix Checkmark Alignment in RadioCard Component

* fix(SW-2204): add wrapper to fix checkmark alignment

* chore(SW-2204): update RadioCard check icon class naming


Approved-by: Christian Andolf
2025-04-07 13:55:23 +00:00
Matilda Landström
1239f0c662 Merged in feat/SW-1711-SW-2077-icons (pull request #1709)
Fix(SW-1711)/(SW-2077): Export icons individually

* fix(SW-1711): export icons individually


Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-04-07 07:25:25 +00:00
Erik Tiekstra
8c2047e847 feat(SW-1884): Always render sidepeek contents, not just during SSR
Approved-by: Michael Zetterberg
2025-04-03 09:36:22 +00:00
Linus Flood
e4907d4b47 Merged in fix/destinations-speed-test (pull request #1704)
Feat(destination pages): Performance improvements

* fix/destinations: try cache full response

* Added more caching

* Removed unsed env car

* wip

* merge master

* wip

* wip

* wip

* Renaming


Approved-by: Michael Zetterberg
2025-04-02 11:37:22 +00:00
Michael Zetterberg
be04600863 Revert "fix(SW-2101): do not apply underline to Material icons inside Link and Button"
This reverts commit 35f9c3aab5.
2025-04-02 10:29:43 +02:00
Matilda Landström
1cad7af147 Merged in fix/icon-color (pull request #1700)
fix: change icon color

* fix: change icon color


Approved-by: Erik Tiekstra
2025-04-02 07:42:41 +00:00
Michael Zetterberg
35f9c3aab5 fix(SW-2101): do not apply underline to Material icons inside Link and Button 2025-04-01 13:10:32 +00:00
Chuma Mcphoy (We Ahead)
e45fea6de4 Merged in feat/SW-1890-New-Breakfast-Component (pull request #1666)
Feat/SW-1890 New Breakfast Component Design

* refactor(SW-1890): Replace BreakfastChoiceCard with RadioCard component and update styles

- Removed BreakfastChoiceCard component and its associated styles.
- extemded RadioCard component to additional UI.
- Updated breakfast.module.css to adjust container width.
- Added new properties for subtitleSecondary and description in RadioCard.
- Updated translations for breakfast-related messages in en.json.

* feat(SW-1890): Add hover state to RadioCard

* chore(SW1890): Update translation for breakfast cost message to clarify age range

* chore(SW-1890): Updated breakfast cost display to use formatPrice utility

* fix(SW-1890): Set fixed size for CoffeeIcon component

* fix(SW-1890): Add missing translations for breakfast-related messages

* feat(SW-1890): Introduce new breakfast icons and update Breakfast component

- Replaced CoffeeIcon with BreakfastBuffetIcon and NoBreakfastBuffetIcon in the Breakfast component.
- Added new BreakfastBuffetIcon and NoBreakfastBuffetIcon components to the design system.
- Updated imports in the Breakfast component to reflect the new icons.


Approved-by: Christian Andolf
2025-04-01 10:03:18 +00:00
Christian Andolf
4bd33e908f fix(SW-1877): rewrote css to be a bit more modern 2025-04-01 08:38:08 +02:00