Christian Andolf
5d89f6c465
fix: update password and deprecated phone inputs to be consistent with other existing inputs in signup
2025-06-05 10:33:10 +02:00
Christian Andolf
752a93012e
fix: more input fixes for various states: placeholder shown, focus, value, error, disabled
2025-06-05 09:57:33 +02:00
Erik Tiekstra
9fb5f82d92
fix(SW-2692): Added hyphens:auto and text-wrap:balance to tackle long words
...
Approved-by: Matilda Landström
2025-06-05 05:35:17 +00:00
Christian Andolf
45d1155054
fix(LOY-252): add height to input elements to make iOS scroll to focused inputs
...
fixed incorrect html with multiple interactive elements inside label
fixed inconsistent placeholder attribute handling between browsers
removed active state so not to prevent iOS from focusing inputs
2025-06-04 13:37:15 +02:00
Christian Andolf
8dbd36bdbd
Merged in fix/remove-filtering-date-country (pull request #2278 )
...
fix: remove filtering from date and country select for better mobile experience
Approved-by: Linus Flood
Approved-by: Chuma Mcphoy (We Ahead)
2025-06-04 11:36:17 +00:00
Christian Andolf
afd3a7d9ca
fix: date and country selects now still uses the filtering in desktop
2025-06-04 12:00:49 +02:00
Christian Andolf
7ff6fd465a
fix: make links inline flex so not to take up an entire row
2025-06-04 10:16:32 +02:00
Christian Andolf
7497203df2
fix: remove filtering from date and country select for better mobile experience
2025-06-04 09:19:35 +02:00
Anton Gunnarsson
dd4ef527df
Merged in chore/eslint9 (pull request #2029 )
...
chore: Update to ESLint 9
* wip: apply codemod and upgrade swc plugin
* Update eslint to 9 in scandic-web
apply code mod to config
fix existing lint issues
* Remove uneccessary fixupConfigRules
* Update eslint to 9 in design-system
* Add lint turbo dependency
* Move redis-api to eslint and prettier instead of biome
* Simplify eslint configs
* Clean up
* Apply linting
Approved-by: Linus Flood
2025-06-03 14:26:44 +00:00
Simon Emanuelsson
9580281421
fix: allow any type of phone number
2025-06-03 11:54:05 +00:00
Arvid Norlin
79e669020a
wip: new PhoneCountryCode Select
2025-06-03 11:54:04 +00:00
Christian Andolf
5877a9d228
fix: open country select dropdown on focus
2025-06-03 11:56:26 +02:00
Christian Andolf
b3b3704c86
feat: update links default color to match design documents
2025-06-02 15:34:40 +02:00
Anton Gunnarsson
cbf9e7b7c2
Merged in chore/next15 (pull request #1999 )
...
chore (SW-834): Upgrade to Next 15
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* wip: fix remaining issues from codemod
serverClient is now async because context use headers()
getLang is now async because it uses headers()
* Minor cleanup
* Inline react-material-symbols package
Package is seemingly not maintained any more and doesn't support
React 19. This copies the package source into `design-system`,
makes the necessary changes for 19 and export it for others to use.
* Fix missing awaits
* Disable modal exit animations
Enabling modal exit animations via isExiting prop is causing
modals to be rendered in "hidden" state and never unmount.
Seems to be an issue with react-aria-components,
see https://github.com/adobe/react-spectrum/issues/7563 .
Can probably be fixed by rewriting to a solution similar to
https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html
* Remove unstable cache implementation and use in memory cache locally
* Fix ref type in SelectFilter
* Use cloneElement to add key prop to element
Approved-by: Linus Flood
2025-06-02 11:11:50 +00:00
Erik Tiekstra
5d6776c383
feat(SW-2042): Synced sidebar ui with design
...
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-06-02 09:37:39 +00:00
Anton Gunnarsson
7e97b74c18
Merged in chore/remove-unused-code (pull request #2229 )
...
Remove unused code
* Remove unused scandic-web files
* Remove unused exports
Approved-by: Joakim Jäderberg
2025-05-30 12:41:18 +00:00
Erik Tiekstra
bb5e7b65bb
feat(SW-2144): added back-to-top button on destination map views
...
Approved-by: Matilda Landström
2025-05-28 08:54:27 +00:00
Simon Emanuelsson
39855d3c8a
fix: trigger memberPrice modal for membership number too
2025-05-27 10:22:31 +02:00
Christian Andolf
aa06a0654d
fix: cleanup profile pages in renaming to follow naming convention
...
cleanup profile page html to be valid
replace old temp design system components with new ones
divider is now correctly an hr element
less section elements to be valid html
2025-05-23 09:20:21 +02:00
Anton Gunnarsson
41aa4f26ad
Update libphonenumber-js
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
069cdb7aa0
Update react-aria-components
2025-05-22 14:00:37 +02:00
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