Commit graph

1643 commits

Author SHA1 Message Date
Hannu Lyytikainen
1706f22e52 Add error handling to checkout page
Add handling for the tx time already booked error to checkout page.
2018-08-09 15:43:28 +03:00
Hannu Lyytikainen
bcbeec8aef Pass time slots to BookingDatesForm 2018-08-09 15:43:28 +03:00
Hannu Lyytikainen
2563bfeb2d Default time slots to null 2018-08-09 15:43:28 +03:00
Kimmo Puputti
98f4e49513 Remove rest of country search param usage 2018-08-09 14:07:05 +03:00
Kimmo Puputti
5927ac7fe4 Remove unneeded country from search params and place objects 2018-08-09 10:57:52 +03:00
Vesa Luusua
3bce64d36e Update tests 2018-08-03 14:24:44 +03:00
Vesa Luusua
7f0966165e Use ReusableMapContainer 2018-08-02 23:59:33 +03:00
Vesa Luusua
bb4a47d970 Fix: render only when mountNode is present 2018-08-02 00:11:48 +03:00
Vesa Luusua
817d3be26d Update tests 2018-08-01 16:49:34 +03:00
Vesa Luusua
5a6f2361cd Reusable map container 2018-08-01 14:49:38 +03:00
Hannu Lyytikainen
d2a5f3f5f8 Show available time slots in date input 2018-07-23 19:56:31 +03:00
Hannu Lyytikainen
8c2033ccc6 Add a config flag for fetching availability 2018-07-23 18:39:03 +03:00
Hannu Lyytikainen
58cd6211b1 Extract max number of days for booking to config 2018-07-23 18:15:13 +03:00
Hannu Lyytikainen
e3cfa970ad Fetch available time slots for listing page 2018-07-23 18:15:13 +03:00
Vesa Luusua
208c05cdd7 Change static map to dynamic one on click 2018-07-20 14:16:34 +03:00
Vesa Luusua
5a920359c4 Fix Google Static Map API max height 2018-07-19 17:16:07 +03:00
Vesa Luusua
fae2cc6355 Update tests 2018-07-19 14:41:34 +03:00
Vesa Luusua
342a8a23d7 Use static map on ListingPage 2018-07-19 14:41:33 +03:00
Hannu Lyytikainen
13c02ccb6e Change state initialization in loadData
Also override empty arrays and objects with values from initialState.
2018-07-11 09:52:38 +03:00
Hannu Lyytikainen
ebeb100e4b Check tx ref when initializing state 2018-07-10 15:53:50 +03:00
Hannu Lyytikainen
bca98e52ef Change clearErrors action to resetState 2018-07-10 11:05:21 +03:00
Hannu Lyytikainen
cc7bda7746 Remove edit profile link from SectionHost 2018-07-10 09:09:07 +03:00
Hannu Lyytikainen
3a4fee049a Add clear errors action
Add an action that can be used to clear errors on load data instead of
clearing the whole state.
2018-07-09 15:54:24 +03:00
Vesa Luusua
2e4aa51a62 CheckoutPage logo: use Logo component and center it. 2018-06-26 12:40:14 +03:00
Vesa Luusua
a3872e71f5 CheckoutPage: selected booking dates should be available after login 2018-06-25 14:27:51 +03:00
Hannu Lyytikainen
c5b08ab737 Migrate LocationSearchForm to Final Form 2018-06-01 00:43:24 +03:00
Hannu Lyytikainen
2a305cf456 Migrate SendMessageForm to Final Form 2018-06-01 00:43:24 +03:00
Vesa Luusua
17cad7790f Image variants to included profileImage. (API has changed: returns defaults instead of all) 2018-05-28 13:47:43 +03:00
Vesa Luusua
049f6a7f37 import lodash per file to reduce bundle size 2018-05-18 15:24:09 +03:00
Vesa Luusua
5aa2ed306c Call stripe.createAccount always before sending tokens to Flex API 2018-05-18 12:08:44 +03:00
Vesa Luusua
d58ea3e293 Call stripe.createToken before saving those tokens to Flex API 2018-05-18 12:08:44 +03:00
Vesa Luusua
07635524ff use image.upload instead of specific upload calls to profile and listing image 2018-05-15 16:25:23 +03:00
Vesa Luusua
1da0ae2769 Enquiry didn't include bookingProcessAlias 2018-05-08 13:26:38 +03:00
Hannu Lyytikainen
c50dc86559 Prefer the word customize over customise 2018-05-04 17:36:05 +03:00
Vesa Luusua
181883862d Add configurable processAlias (new API feature) 2018-05-03 13:01:46 +03:00
Vesa Luusua
7c92d35b25 Fix class-via-props usage (always overwrite) 2018-05-02 16:41:17 +03:00
Vesa Luusua
af088fff8f Fix form references after moving them to different location 2018-05-02 15:56:30 +03:00
Vesa Luusua
d5ab34226c Move forms to forms folder (away from src/containers) 2018-05-02 14:38:20 +03:00
Vesa Luusua
8a54085912 EditListingWizard tabs: fix submit button states 2018-04-20 13:05:24 +03:00
Vesa Luusua
085c208ab0 Final Form introduced form property - fix overlapping usage 2018-04-20 13:05:24 +03:00
Vesa Luusua
891c13dac1 Fix ProfileSettingsForm submit button (ready/disabled) 2018-04-20 13:05:23 +03:00
Vesa Luusua
5ce4afd0a2 Remove submitting flag: it didn't work if promise (fetch) failed 2018-04-20 13:05:23 +03:00
Vesa Luusua
7c58442aae Form is responsible to change customErrorText
FieldTextInput: touch flag couldn't be tracked reliably in responses with errors
2018-04-20 13:05:23 +03:00
Vesa Luusua
a7b9a08a86 PayoutDetailsForm: clear address stuff onUnmount 2018-04-20 13:05:23 +03:00
Vesa Luusua
8a8da99ded Fix ProfileSettingsForm submit enabled/disabled bug. 2018-04-20 13:05:22 +03:00
Vesa Luusua
555c157e4d Refactor ContactDetailsForm: use Form connector from Final Form 2018-04-20 13:05:22 +03:00
Vesa Luusua
0080cbd298 Refactor ReviewForm: use Form connector from Final Form 2018-04-20 13:05:22 +03:00
Vesa Luusua
3c4513a0d2 Refactor ProfileSettingsForm: use Form connector from Final Form 2018-04-20 13:05:22 +03:00
Vesa Luusua
8f09d6aa86 Refactor PasswordResetForm: use Form connector from Final Form 2018-04-20 13:05:21 +03:00
Vesa Luusua
f786ea2a79 Refactor PasswordRecoveryForm: use Form connector from Final Form 2018-04-20 13:05:21 +03:00