Commit graph

511 commits

Author SHA1 Message Date
Vesa Luusua
0e18c46931 Add react-dates and create DateInput component 2017-04-06 14:53:23 +03:00
Vesa Luusua
cc87c9428a Merge pull request #104 from sharetribe/modal-in-mobile
Modal in mobile
2017-04-06 14:52:41 +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
fda12bb732 Merge pull request #107 from sharetribe/update-sdk
Update SDK
2017-04-06 10:24:44 +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
2ed6f20694 Update SDK 2017-04-06 10:20:41 +03:00
Kimmo Puputti
60ec9e9e5a Merge pull request #105 from sharetribe/create-stripe-account
Create Stripe account when posting a new listing
2017-04-06 09:49:01 +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
67a97bce86 Merge pull request #103 from sharetribe/current-user-info
Current user info to Redux store
2017-04-05 10:38:18 +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
b73b48abb0 Update SDK 2017-04-05 09:54:33 +03:00
Kimmo Puputti
e6664f8d45 Merge pull request #101 from sharetribe/new-listing-connect-to-stripe
Connect provider bank account in new listing form
2017-04-05 09:53:18 +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
481fdb7b1a Merge pull request #98 from sharetribe/provider-connect-stripe
StripeBankAccountToken component
2017-04-04 11:42:19 +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
9a320bd7a6 Merge pull request #100 from sharetribe/update-packages
Update React Router and other packages
2017-04-04 10:49:01 +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
587608e59f Merge pull request #99 from sharetribe/fix-flash-of-old-results
Fix: old results flashed when SearchPage was re-entered
2017-03-30 11:56:58 +03:00
Vesa Luusua
a23fbc4af3 Fix: old results flashed when SearchPage was re-entered 2017-03-30 11:51:21 +03:00
Vesa Luusua
03ad1b0246 Merge pull request #81 from sharetribe/searchpage-pagination
Pagination
2017-03-29 17:05:02 +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
2af80cd170 Merge pull request #97 from sharetribe/location-autocomplete-country
Add country to LocationAutocompleteInput value
2017-03-29 14:00:42 +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
2588382a94 Merge pull request #96 from sharetribe/data-serialisation
Data serialisation
2017-03-29 09:23:58 +03:00
Kimmo Puputti
61d7470fa7 Fix server side rendering having the initial store state 2017-03-28 15:23:59 +03:00