Commit graph

3297 commits

Author SHA1 Message Date
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
Kimmo Puputti
0c836164f8 Call listings.query if no place is given in search params 2017-03-27 11:41:44 +03:00
Kimmo Puputti
4a7b872cdf Remove Topbar dropdown with old links 2017-03-27 11:41:15 +03:00
Kimmo Puputti
ee8c03f490 Remove dropdown menu from static wireframes 2017-03-27 11:40:40 +03:00
Kimmo Puputti
fc11957270 Improve search page ui messages
- Add searchInProgress flag to store to know if a request is on the
   way
 - Use FormattedMessage instead of injected intl
 - Pluralise translation
2017-03-27 10:49:39 +03:00
Mikko Koski
b0bc3ac8d9 Rename TextFieldOneLiner -> LabeledField 2017-03-27 10:09:00 +03:00
Mikko Koski
fd23d20ef2 Run format and update snapshots 2017-03-24 17:52:59 +02:00
Mikko Koski
1ef15243f3 Remove Sign up link and add dead code warning to sign up form 2017-03-24 17:31:17 +02:00
Mikko Koski
9f7d1e53b2 Improve PageLayout 2017-03-24 17:24:54 +02:00
Mikko Koski
6f2043690d Use Flexbox to align the Login button to the bottom of the page 2017-03-24 17:24:30 +02:00
Mikko Koski
a53add8a22 Remove margin from Button 2017-03-24 17:23:54 +02:00
Mikko Koski
6234d4d4f8 Improve PageLayout 2017-03-24 16:38:24 +02:00
Mikko Koski
c7bd87b0c1 Run format and update snapshots 2017-03-24 15:45:07 +02:00
Mikko Koski
e1392bd16c Login page styling 2017-03-24 15:43:26 +02:00
Mikko Koski
a82f4a323d Add TextOneLiner 2017-03-24 15:43:26 +02:00
Mikko Koski
b772f68176 Adjust button height 2017-03-24 15:35:26 +02:00
Mikko Koski
4472ace9c3 Input component styling 2017-03-24 15:18:58 +02:00
Kimmo Puputti
cc40a76c69 Temporarily remove using Input since the ref setting fails 2017-03-24 12:10:00 +02:00
Mikko Koski
69f342443f Merge pull request #91 from sharetribe/input-component
Add Input component
2017-03-24 11:30:14 +02:00