Commit graph

1643 commits

Author SHA1 Message Date
Kimmo Puputti
4337493cad Link to sales/orders in Topbar modal based on users listings
If the current user has created listings, always link to sales,
otherwise to orders.
2017-05-09 10:17:32 +03:00
Kimmo Puputti
841c00a4aa Keep currentUserHasListings in sync
- Update when current user is fetched
 - Update when a new listing is created
2017-05-09 10:08:48 +03:00
Kimmo Puputti
02a478f76d Move fetchCurrentUserHasListings to the user duck 2017-05-09 09:35:26 +03:00
Kimmo Puputti
d087a3e1fa Remove currentUserHasListings call from Inbox duck 2017-05-09 09:32:12 +03:00
Vesa Luusua
809ebdb4ab path params vs state are out of sync on OrderPage and SalePage 2017-05-08 15:34:47 +03:00
Kimmo Puputti
3d1707d1f6 Merge pull request #149 from sharetribe/tabnav-component
TabNav component
2017-05-08 15:21:25 +03:00
Kimmo Puputti
b9943f1b53 Change reduxForm call form argument name
- Since the form name can be overriden with component props, the
   initial name is just a default, this changes the var name to
   communicate that

Note: The names of the forms with selectors cannot be changed,
otherwise the selector doesn't find the correct data from the Redux
store with the initial form name.
2017-05-08 14:59:09 +03:00
Kimmo Puputti
612414436c Show current location search in the search input 2017-05-08 14:46:12 +03:00
Kimmo Puputti
14ba5096a8 Use TabNav component in Inbox tabs
- Use TabNav component
 - Show both tabs always
 - Change copy texts
2017-05-08 14:31:26 +03:00
Vesa Luusua
16e2f94b6e Use Avatar component 2017-05-05 15:53:00 +03:00
Kimmo Puputti
a3b94146c4 Fix SignupForm first/last name validation error UI styles 2017-05-05 15:32:23 +03:00
Kimmo Puputti
64079f517f Remove underline from active tab link 2017-05-05 10:03:45 +03:00
Kimmo Puputti
d2fef80cb3 Separate email-taken from other signup errors 2017-05-05 09:43:15 +03:00
Kimmo Puputti
10b6f07d81 Add terms of service text + Stripe link 2017-05-05 09:43:15 +03:00
Kimmo Puputti
3db6728e0b Rename SignUpForm to SignupForm 2017-05-05 09:42:20 +03:00
Kimmo Puputti
e3c8359aa6 Rewrite signup form 2017-05-05 09:42:20 +03:00
Kimmo Puputti
7abdcefb3a Use enhanced inputs in login, add required validations 2017-05-05 09:42:20 +03:00
Kimmo Puputti
dcce1861a0 Move enhancedField HOC to utils 2017-05-05 09:42:20 +03:00
Kimmo Puputti
9b9a433a2b Fix auth page tab order 2017-05-05 09:42:20 +03:00
Kimmo Puputti
012402f2f7 Signup form fields and styles 2017-05-05 09:42:20 +03:00
Kimmo Puputti
de731b1f6e Enable signup, call API to create a user 2017-05-05 09:42:20 +03:00
Vesa Luusua
9bec9d68ba Added correct icons and some other style fixes 2017-05-05 01:33:35 +03:00
Vesa Luusua
407def94ed Topbar uses mobile search modal and SearchForm inside of it. 2017-05-04 19:12:38 +03:00
Vesa Luusua
84d71c7dbc InboxPageComponent can't render deeply itself since Topbar expects Google API integration. 2017-05-04 19:12:38 +03:00
Vesa Luusua
d12330d3a7 Refactor Modal to use flexbox 2017-05-04 19:12:32 +03:00
Vesa Luusua
4db5f31e84 Rename HeroSearchForm to SearchForm (it will look the same in different places of design) 2017-05-04 18:18:38 +03:00
Vesa Luusua
a77bc3a2b7 createStripeAccount API call changed 2017-05-04 16:59:22 +03:00
Vesa Luusua
70abd02739 Topbar uses MobileMenu inside Modal 2017-05-04 16:26:38 +03:00
Vesa Luusua
ea3533d0d6 Format with prettier 2017-05-04 14:46:55 +03:00
Vesa Luusua
aa30cf7a25 Move state to URL and help Topbar to rerender after location changes 2017-05-04 14:43:17 +03:00
Vesa Luusua
20eadfe8f5 Styleguide fix for full-width components 2017-05-03 16:50:32 +03:00
Vesa Luusua
25dc6ff005 Topbar uses Modal (simple draft for hamburger menu) 2017-05-03 16:50:31 +03:00
Vesa Luusua
0ef81c0e8e FlatButton (using Button and alternative root styling) 2017-05-03 16:50:31 +03:00
Vesa Luusua
00853b0e35 Fetch tx failed: OrderPage and SalePage 2017-05-03 16:46:18 +03:00
Vesa Luusua
5464ac1d0d Some components like modals don't work with Styleguide's default padding in mobile frame. 2017-05-03 15:23:56 +03:00
Vesa Luusua
4fd245cdd7 ModalInMobile uses Modal 2017-05-03 15:23:56 +03:00
Kimmo Puputti
711b967fe4 Wrap params.id with UUID type 2017-05-02 16:13:14 +03:00
Kimmo Puputti
a8c262777b Avoid passing whole store state to the component 2017-05-02 14:39:18 +03:00
Kimmo Puputti
1f25e63d60 getMarketplaceEntities selector: full Redux store state as param 2017-05-02 12:46:18 +03:00
Kimmo Puputti
d42957de2a Rename getEntities to getMarketplaceEntities 2017-05-02 12:43:12 +03:00
Kimmo Puputti
58ce53c0d9 getListingsById selector: take full Redux store state as parameter 2017-05-02 12:42:14 +03:00
Kimmo Puputti
6f3d8efb0d Rename addEntities to addMarketplaceEntities 2017-05-02 11:39:57 +03:00
Kimmo Puputti
6354600d34 User generic addEntities action to add entities to the global store 2017-05-02 11:35:10 +03:00
Kimmo Puputti
e2955bfa13 Remove redux-saga and all unused actions in marketplaceData.duck 2017-05-02 11:27:50 +03:00
Kimmo Puputti
20f263a7d7 Rename data to marketplaceData in Redux store 2017-05-02 11:09:10 +03:00
Kimmo Puputti
afe2389066 Unify mapStateToProps functions 2017-05-02 11:03:26 +03:00
Kimmo Puputti
d64744588c Rename sdk.duck.js file to marketplaceData.duck.js 2017-05-02 10:43:31 +03:00
Vesa Luusua
6c499a2160 Enforsing role on order & sale pages 2017-04-29 00:18:48 +03:00
Kimmo Puputti
0747fc170a Fetch current user on app init instead of in various loadData fns 2017-04-28 14:17:06 +03:00
Kimmo Puputti
2cc769e585 Improve Topbar prop types 2017-04-28 14:14:24 +03:00