Vesa Luusua
fe77a2e2d2
BookingDatesForm (shows inputs for start & end dates + booking calculations)
2017-04-07 12:02:54 +03:00
Vesa Luusua
83bb814c4c
Refactor DateInput, change moment to Date in outbound communications and allow passing isOutsideRange func.
2017-04-07 12:02:54 +03:00
Vesa Luusua
cb2f810621
Update BookingInfo component
2017-04-07 12:02:54 +03:00
Kimmo Puputti
4a8ba8ba35
Make Stripe payment form look like other inputs
2017-04-07 10:11:31 +03:00
Kimmo Puputti
8c4aee89d1
Format with Prettier
2017-04-07 09:27:20 +03:00
Kimmo Puputti
b713575ef6
Merge pull request #109 from sharetribe/checkout-page-stripe-payment-form
...
Checkout page Stripe payment form
2017-04-07 09:22:25 +03:00
Kimmo Puputti
2e4989ac34
Merge pull request #108 from sharetribe/stripe-payment-form
...
Stripe payment form
2017-04-07 09:22:04 +03:00
Vesa Luusua
5a8f33b2ac
There was copy-paste related typo (wrong classname) in previous PR.
2017-04-07 03:12:23 +03:00
Kimmo Puputti
a80f84ff64
Add StripePaymentForm to the CheckoutPage
...
- Remove hardcoded UI components
- Hardcode a temporary listing object
- Add StripePaymentForm component
- Style as in wireframe designs
2017-04-06 16:43:32 +03:00
Kimmo Puputti
31b3155304
StripePaymentForm component
2017-04-06 15:37:17 +03:00
Vesa Luusua
0e18c46931
Add react-dates and create DateInput component
2017-04-06 14:53:23 +03:00
Vesa Luusua
c0b31693a3
Removed universality of Page level class toggle. (Might be added later.)
2017-04-06 14:48:20 +03:00
Vesa Luusua
5700b6f578
Styleguide styling fix for ListingCard
2017-04-06 14:48:20 +03:00
Vesa Luusua
7ada8024de
Use ModalInMobile in ListingPage
2017-04-06 14:48:20 +03:00
Vesa Luusua
8cf00d218c
ModalInMobile opens page fragment as Modal in given breakpoint and removes scrolling from PageLayout.
2017-04-06 14:48:20 +03:00
Vesa Luusua
8971c9b29a
Extract context helpers to separate file
2017-04-06 14:48:20 +03:00
Kimmo Puputti
437e0dfb20
Format js
2017-04-06 10:21:29 +03:00
Kimmo Puputti
f962310771
Don't require dev mode to expose app to browser REPL
2017-04-06 10:20:55 +03:00
Kimmo Puputti
279944d002
Move users and stripe thunks to a new duck
...
- Create user.duck
- Move fetchCurrentUser form Auth to user
- Move createStripeAccount to user
- Call fetchCurrentUser to update user data after creating Stripe account
2017-04-05 16:36:56 +03:00
Kimmo Puputti
c7d67a64d4
Create Stripe account when given a bank account token
2017-04-05 14:13:12 +03:00
Kimmo Puputti
a65f808f88
Show bank account field if Stripe not connected yet
2017-04-05 11:27:38 +03:00
Kimmo Puputti
a684a289b4
Add missing return to thunk function for loadData
2017-04-05 10:32:36 +03:00
Kimmo Puputti
265d8a4af4
Separate user and currentUser prop types
2017-04-05 10:32:24 +03:00
Kimmo Puputti
840b53c133
Fetch current user info on EditListingPage
2017-04-05 09:54:33 +03:00
Kimmo Puputti
a4201469f6
Show StripeBankAccountToken field when place is selected
2017-04-04 13:37:43 +03:00
Kimmo Puputti
ee578ba9b7
Use span for error message as other fields do
2017-04-04 13:14:53 +03:00
Kimmo Puputti
408159172c
Add fakeFormProps to test redux-form-wrapped forms
2017-04-04 13:14:28 +03:00
Kimmo Puputti
c3b3e0e524
Handle slow Stripe response when component unmounts
2017-04-04 11:38:25 +03:00
Kimmo Puputti
5ea03cb073
Clarify IBAN handling
2017-04-04 11:21:50 +03:00
Kimmo Puputti
bb40328697
StripeBankAccountToken component
2017-04-04 10:49:54 +03:00
Kimmo Puputti
bebb4b5483
Stripe uses only GB, not UK country code
2017-04-04 10:49:54 +03:00
Kimmo Puputti
8e332247ae
Improve Button styles
2017-04-04 10:49:54 +03:00
Kimmo Puputti
468ad3d081
Add optional Input prop to render with display: inline-block;
2017-04-04 10:49:54 +03:00
Kimmo Puputti
14aab54982
Verify that country code is supported by Stripe
2017-04-04 10:49:54 +03:00
Kimmo Puputti
690fb06d9e
Add StripeBankAccountToken component
2017-04-04 10:49:54 +03:00
Kimmo Puputti
a346297aa5
Load and setup Stripe library
2017-04-04 10:49:54 +03:00
Kimmo Puputti
08952bc4fd
Fix React Router not updating routes
...
https://github.com/ReactTraining/react-router/issues/4671
2017-04-03 14:29:30 +03:00
Kimmo Puputti
5d32f57696
Update React Router
2017-04-03 12:28:17 +03:00
Kimmo Puputti
ae56344d0a
Update NPM packages
2017-04-03 10:48:45 +03:00
Vesa Luusua
a23fbc4af3
Fix: old results flashed when SearchPage was re-entered
2017-03-30 11:51:21 +03:00
Vesa Luusua
0a8bc256b5
API returns camelCase (but still listens snake case)
2017-03-29 16:56:47 +03:00
Vesa Luusua
843b608e12
LandingPage uses new helper function
2017-03-29 16:56:47 +03:00
Vesa Luusua
c341e97ef0
SearchPage handles next page and prev page clicks
2017-03-29 16:56:40 +03:00
Vesa Luusua
2590ccc7f4
SearchResultPanel is responsible for showing listings and pagination buttons
2017-03-29 16:56:32 +03:00
Kimmo Puputti
4341cd629d
Use Input component in LocationAutocompleteInput
2017-03-29 11:09:48 +03:00
Kimmo Puputti
9ce53a1393
Provide country code for selected place in LocationAutocompleteInput
2017-03-29 10:33:35 +03:00
Kimmo Puputti
61d7470fa7
Fix server side rendering having the initial store state
2017-03-28 15:23:59 +03:00
Kimmo Puputti
3f20100e40
Fix preloadedState serialisation
...
- Use reviver and replacer from the SDK to properly encode/decode the
SDK types
2017-03-28 15:22:59 +03:00
Kimmo Puputti
7fb74baaaa
Remove unused imports
2017-03-27 11:48:35 +03:00
Kimmo Puputti
1f4f0c6536
Allow search with no place selected
2017-03-27 11:42:43 +03:00