Commit graph

1643 commits

Author SHA1 Message Date
Hannu Lyytikainen
7cc30ee3ef Pass booking data from tx page to checkout 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
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
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
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
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
086963a497 Update translations in ListingPage 2018-12-10 13:58:28 +02:00
Vesa Luusua
fa76ea5051 Formatting docs with newest Prettier.
Related commit  was lost at some point when dependencies were updated.
2018-12-10 13:34:11 +02:00
Jenni Nurmi
0aca4567c2 Update Prettier to 1.15.3 2018-12-05 11:07:47 +02:00
Jenni Nurmi
299358f1d2 Show error if payment amount is zero 2018-11-26 13:34:58 +02:00
Jenni Nurmi
381b6d8191 Show Stripe error message if error contains Stripe error 2018-11-23 12:56:41 +02:00
Vesa Luusua
e86f1a792f fix draft listing. ModalMissingInformation was still shown too early. 2018-11-20 15:27:45 +02:00
Hannu Lyytikainen
aa4ff59618 Pass translations to ReusableMapContainer in props 2018-11-15 10:14:39 +02:00
Jenni Nurmi
75f295cbfc ListingPage: ActionBar links to draft edit mode
if listing is a draft.
2018-11-07 16:32:33 +02:00
Vesa Luusua
f7efde7baf EditListingPage: use draft thunks and check listing draft state 2018-11-07 16:32:12 +02:00
Vesa Luusua
bbb08d75ee EditListingPage.duck: create listing draft, publish listing draft.
Removing requestCreateListing and actions for storing local draft data to redux store.
2018-11-07 16:25:28 +02:00
Vesa Luusua
3a797fc653 ListingPage: handle data loading of draft listings 2018-11-07 13:54:47 +02:00
Vesa Luusua
f7837e3369 Fix API changes: description can be null. 2018-11-06 10:52:28 +02:00
Vesa Luusua
d32a4ba638 SearchPage: *fix* range end is exclusive in Flex API 2018-10-31 10:53:53 +02:00
Vesa Luusua
a063733564 SearchPage: add price filter 2018-10-31 10:53:53 +02:00
Vesa Luusua
6200e7f593 Styleguide cleaning: styleguide links didn't break 2018-10-30 22:54:59 +02:00
Vesa Luusua
64b51a6bca EmailVerificationPage: add referrer policy due tokens in URL 2018-10-17 14:03:10 +03:00
Vesa Luusua
548adf7f33 PasswordResetPage: add referrer policy due tokens in URL 2018-10-17 14:03:09 +03:00
Vesa Luusua
4dd68ef56a AboutPage image: use progressive jpeg and resize it properly 2018-09-28 11:38:37 +03:00
Vesa Luusua
3a3dbf86cc Fix two usage of old pseudoelement syntax 2018-09-26 16:17:06 +03:00
Janne Koivistoinen
38573a36d3 run format 2018-09-24 15:40:34 +03:00
Janne Koivistoinen
1263f5db3a replace location search with a browse button 2018-09-24 15:39:56 +03:00
Vesa Luusua
ab6cac9edc Rename onIdle to onMapMoveEnd and remove unnecessary mobile map opened info. 2018-09-14 15:15:21 +03:00
Vesa Luusua
9c3de582d8 Update tests 2018-09-14 15:15:20 +03:00
Vesa Luusua
d4393a6395 Refactor search-by-map-viewport to SearchMapWithGoogleMap component: 2018-09-14 15:15:20 +03:00
Vesa Luusua
0fff68b9a3 Google related bounds tied to SearchMapWithGoogleMap implementation 2018-09-14 15:15:15 +03:00
Vesa Luusua
c66f358aec Fix: fuzzy location did not change after listing location changed. 2018-09-14 15:02:43 +03:00
Kimmo Puputti
669e1a7edb Reorganize maps configuration 2018-08-24 14:16:54 +03:00
Hannu Lyytikainen
330eb2b8b0 Improve window availability check 2018-08-21 16:12:55 +03:00
Hannu Lyytikainen
e14cd98903 Add path check for search page 2018-08-21 12:00:01 +03:00
Hannu Lyytikäinen
324baa3bda
Merge pull request #901 from sharetribe/max-time-slots
Availability improvements
2018-08-17 13:11:17 +03:00
Hannu Lyytikainen
09991d2616 Add error message for time slot request errors 2018-08-17 13:09:35 +03:00
Hannu Lyytikainen
e64f0e7d58 Return second time slots reques promise
Return the nested promise so that errors from it will be caucht in the
catch block of the outer promise.
2018-08-17 13:09:35 +03:00
Hannu Lyytikainen
27462b5433 Remove date time from time slots request 2018-08-16 16:40:56 +03:00
Hannu Lyytikainen
30a49d7e18 Add a second time slots query
In case max bookable day count exceeds 90 days, fetch a second batch of
time slots.
2018-08-16 15:39:51 +03:00
Kimmo Puputti
675135a7f2 Remove Google Maps fullscreen control 2018-08-16 11:41:14 +03:00
Kimmo Puputti
c4dfa7d4c3 Use a div instead of button around the dynamic map 2018-08-14 15:07:22 +03:00
Hannu Lyytikäinen
f6fbae7dd8
Merge pull request #892 from sharetribe/availability
Add availability support
2018-08-13 15:24:03 +03:00
Hannu Lyytikainen
5e1aa7b244 Add error handling for initiate request 2018-08-10 08:37:21 +03:00