Commit graph

2999 commits

Author SHA1 Message Date
Vesa Luusua
fe36cf84cc EditListingPage.js: connect calendar data and functions from Redux setup 2019-01-04 14:53:13 +02:00
Vesa Luusua
c04742e160 EditListingPage.duck.js: add thunk functions for availability calendar
- requestFetchBookings
- requestFetchAvailabilityExceptions
- requestCreateAvailabilityException
- requestDeleteAvailabilityException
2019-01-04 14:53:03 +02:00
Vesa Luusua
854958d9e7 Add date utils: monthIdString, isDate, isSameDate 2019-01-03 12:54:41 +02:00
Vesa Luusua
2484b7948b Add new ensure* functions 2019-01-03 12:54:41 +02:00
Vesa Luusua
826aceaebe Add availabilityPlan to OwnListing attributes and add proptype availabilityException 2019-01-03 12:54:41 +02:00
Vesa Luusua
23cac31428 withViewport context helper should listen orientation changes 2019-01-03 12:54:41 +02:00
Vesa Luusua
922dfb2c64 Wrong translation for perUnit (it was english) 2019-01-02 15:05:41 +02:00
Hannu Lyytikainen
b20c6ca555 Fix BookingPanel title class overriding
Fix the title class overriding so that the css load order does not
affext the styles. Also removes a redundant media query definition.
2018-12-31 15:01:29 +02:00
Hannu Lyytikainen
39539f2cdf Change BookingPanel title margin on tx page 2018-12-27 14:28:07 +02:00
Hannu Lyytikainen
2a728a64ad Change layouts to match design
Apply design baseline definitions on BookingDatesForm, BookingPanel and
ListingPage.
2018-12-27 13:57:13 +02:00
Hannu Lyytikainen
2c3bb15355 Fix wrong booking title on listing page 2018-12-27 11:35:36 +02:00
Hannu Lyytikainen
1dba15331a Streamline sale buttons visibility logic 2018-12-20 18:03:29 +02:00
Hannu Lyytikainen
ad6fc6346b Fix session store handling for enquired tx 2018-12-20 18:03:29 +02:00
Hannu Lyytikainen
4f21f3a214 Hide desktop booking breakdown in mobile 2018-12-20 18:03:29 +02:00
Hannu Lyytikainen
08378d7001 Fix footer overlapping booking calendar
Rise the transaction details section on top of the footer so that the
booking dates calendar won't go below it.
2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
65a1358b93 Fix hidden open booking form section in mobile 2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
4663f825a1 Change checkout page booking sub title
Unify the sub title with transaction page.
2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
8d2adf0140 Hide initial message on booking after enquiry 2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
bbac34a0e5 Add initiate order after enquiry
If enquired transaction is avalable transition it to prequthorized on
checkout page.
2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
7cc30ee3ef Pass booking data from tx page to checkout 2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
a0d1984103 Unify listing info sub titles 2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
5fe0ac3d47 Add onManageDisableScrolling to BookingPanel 2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
a053a6c81a Fetch time slots on tx page 2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
68f6eaa391 Show BookingPanel on tx page
Show the BookingPanel component on the tx page when the transaction has
been started with an enquiry.
2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
38b780827d Hide listing address link from provider 2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
3d11d733e0 Change BookingPanel dependency import order
Place components and forms as last imports before the ones from the same
folder.
2018-12-20 17:48:26 +02:00
Hannu Lyytikainen
f4f67be661 Change formatted title and sub title type
Change formatted title and sub title type to node in BookingPanel.
Also remove FormattedText component which renders a redundant span element.
2018-12-20 17:48:26 +02:00
Hannu Lyytikainen
080ae345a6 Change unit type translation resolving 2018-12-20 17:48:26 +02:00
Hannu Lyytikainen
bee450d786 Change BookingPanel title handling
Use title and sub title provided by a parent component.
2018-12-20 17:48:26 +02:00
Hannu Lyytikainen
167cc2608d Change name and type for richText prop
Rename the prop to title and allow it to be and object or a string. This
way a normal string or a styled html element can be provided.
2018-12-20 17:48:26 +02:00
Hannu Lyytikainen
3ea7738564 Fix BookingPanel baseline adjustments 2018-12-20 17:48:26 +02:00
Hannu Lyytikainen
2a886131c4 Remove some unused props passed to BookingPanel 2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
e894dead63 Clean up BookingPanel props
Remove isClosed and price from the BookingPanel props as they can be
resolved from the listing.
2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
9cd3c0c5ad Remove redundant style class definitions 2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
d6ed766d1b Fix listing page layout 2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
a032d06eea Use page specific message key on CheckoutPage 2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
936d2955d9 Add BookingPanel styleguide example 2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
b7e5165999 Update translation keys 2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
60d5a44d5d Extract SectionBooking into a distinct component
Extract SectionBooking away from ListingPage to a distinct component
called BookingPanel.
2018-12-20 17:47:10 +02:00
Jenni Nurmi
49f5a8aef1 Small fixes to English translations for consistency 2018-12-17 15:44:25 +02:00
Jenni Nurmi
6c22b46005 Update French translations 2018-12-17 15:40:55 +02:00
Jenni Nurmi
fd4d258d05 Add example for not required radio button field 2018-12-17 13:56:01 +02:00
Jenni Nurmi
73bead91f9 Create FieldRadioButton component 2018-12-17 13:56:01 +02:00
Jenni Nurmi
687cf7bbe9 Move Stripe config to separate file 2018-12-10 14:50:21 +02:00
Jenni Nurmi
3707a1bc04 Update translations 2018-12-10 14:50:21 +02:00
Jenni Nurmi
0035dae54b Add ID number field with validators to US and HK 2018-12-10 14:50:21 +02:00
Jenni Nurmi
0cc6cf9663 Add ID number field with validators to US and HK 2018-12-10 14:50:21 +02:00
Jenni Nurmi
a137773b82 Add Stripe support for Hong Kong 2018-12-10 14:50:21 +02:00
Jenni Nurmi
fe0102034a Add Stripe support for Norway 2018-12-10 14:50:21 +02:00
Jenni Nurmi
d98d5d8f62 Add Stripe support for Switzerland 2018-12-10 14:50:21 +02:00