Commit graph

1643 commits

Author SHA1 Message Date
Kimmo Puputti
067f5abce8 Change Link components into NamedLink components 2017-02-17 13:19:13 +02:00
Kimmo Puputti
6674c3d29a Use a instead of Link for a mailto link 2017-02-17 11:08:22 +02:00
Kimmo Puputti
b9e31dddb0 Highlight active tab link 2017-02-17 10:42:53 +02:00
Kimmo Puputti
4045146364 Add support for activeClassName for the NamedLink component 2017-02-16 17:15:27 +02:00
Kimmo Puputti
2863f9dbef Fix notfound status code in server rendering 2017-02-16 14:03:23 +02:00
Kimmo Puputti
28da28cf05 Use withFlattenedRoutes HOC instead of context 2017-02-16 11:45:23 +02:00
Kimmo Puputti
4020c36215 Use withRouter helper instead of context 2017-02-15 16:36:54 +02:00
Kimmo Puputti
028b923df9 Remove unused MatchWithSubRoutes component 2017-02-15 13:48:05 +02:00
Kimmo Puputti
37e01b03f5 Change store state usage to be more explicit 2017-02-15 13:29:12 +02:00
Kimmo Puputti
458aba5f53 Fix post-merge test failures 2017-02-15 11:02:16 +02:00
Vesa Luusua
fde803fc14 Forgot to run prettier earlier... 2017-02-15 10:46:09 +02:00
Vesa Luusua
4a083255be Tests for SearchPage.ducks 2017-02-15 10:46:09 +02:00
Vesa Luusua
473b3c7c97 Refactor SearchPage.ducks to create flags in reducer instead of sending them already in ActionCreator's payload. 2017-02-15 10:46:09 +02:00
Kimmo Puputti
d41eb61be8 Merge pull request #42 from sharetribe/update-react-router2
Update React Router
2017-02-15 10:41:20 +02:00
Kimmo Puputti
862f01f00b Fix location state handling for proper redirects 2017-02-14 20:35:53 +02:00
Kimmo Puputti
022c175c2d Remove activeStyle that react-router doesn't have anymore 2017-02-14 20:33:11 +02:00
Kimmo Puputti
9d5533d60e Use withRouter HOC from react-router
- Provides router props form the context
 - Changed API requires us to use the history.push function
2017-02-14 20:32:00 +02:00
Kimmo Puputti
4a7269e71b Update snapshots with Link and Redirect prop changes 2017-02-14 10:47:33 +02:00
Kimmo Puputti
be2fcdf793 Import from react-router-dom instead of react-router 2017-02-14 09:43:37 +02:00
Mikko Koski
f9724f3c8e Integration SDK: Search listings from SDK and API 2017-02-14 09:42:44 +02:00
Kimmo Puputti
073cf0bd9c Export AuthenticationPageComponent for snapshot test 2017-02-07 16:14:21 +02:00
Kimmo Puputti
2b0238f151 Update snapshots 2017-02-07 16:05:02 +02:00
Kimmo Puputti
f142f31291 Separate shallow and deep render for snapshot tests 2017-02-07 16:00:40 +02:00
Kimmo Puputti
fc568292a9 Extract snapshot rendering into a helper function 2017-02-07 16:00:24 +02:00
Kimmo Puputti
28894cd812 Redirect to root after logout 2017-02-07 15:47:36 +02:00
Kimmo Puputti
46b9ae2f46 Update page snapshots with changed Topbar links 2017-02-07 15:44:57 +02:00
Kimmo Puputti
abdc47791a User auth info from store, put links into a dropdown 2017-02-07 15:44:57 +02:00
Kimmo Puputti
8f533f36ab Extract MatchWithSubRoutes component 2017-02-07 15:44:57 +02:00
Kimmo Puputti
b80c43f96c Use Auth duck instead of fakeAuth 2017-02-07 15:44:57 +02:00
Vesa Luusua
bc2baaf3b5 Refactoring to improve readability, compatibility with saga and comments 2017-02-07 13:13:08 +02:00
Vesa Luusua
b937f3fd57 Refactor saga code in ducks files and add sdk as parameter. 2017-02-06 12:40:47 +02:00
Vesa Luusua
2a9c9e103b Fetch data with saga (both server and client) 2017-02-06 12:40:42 +02:00
Vesa Luusua
71ab7c33e0 Call component.loadData on server side (and client) 2017-02-06 12:32:59 +02:00
Vesa Luusua
fd18ed1427 Refactor to more simple solution 2017-02-06 12:26:34 +02:00
Kimmo Puputti
50e22d0d1e Format JS with Prettier 0.13.1 2017-01-30 10:57:27 +02:00
Kimmo Puputti
f68b49d1c0 Merge pull request #25 from sharetribe/order-page
OrderPage
2017-01-26 21:52:37 +02:00
Kimmo Puputti
680c10c93f Add OrderPage contents 2017-01-26 21:34:38 +02:00
Vesa Luusua
29441d6710 ListingPage wireframe 2017-01-26 19:38:12 +02:00
Kimmo Puputti
76e94101fb Extract BookingInfo component from CheckoutPage 2017-01-26 19:28:52 +02:00
Kimmo Puputti
e048be76ef Provide routes to the OrderPage test 2017-01-26 19:27:57 +02:00
Vesa Luusua
39aa660832 Add wireframes for SearchPage 2017-01-26 17:17:57 +02:00
Vesa Luusua
51a5c492d4 LandingPage with HeroSection. Query is handled through redux. 2017-01-26 17:09:50 +02:00
Vesa Luusua
a6090128f4 HeroSearchForm 2017-01-26 17:08:26 +02:00
Kimmo Puputti
a7be731b63 Add Checkout page contents 2017-01-26 13:06:40 +02:00
Vesa Luusua
e1295ba2b8 NamedLink used with query 2017-01-26 12:48:30 +02:00
Kimmo Puputti
dd448d842e Add auth form to correct pages 2017-01-25 15:14:21 +02:00
Kimmo Puputti
c042d3273b Add sanitize.css to normalize CSS default styles 2017-01-25 13:06:15 +02:00
Kimmo Puputti
fa78adf22b Add forms related to authentication and credentials 2017-01-25 09:06:45 +02:00
Kimmo Puputti
e800405db1 Add basic Styleguide 2017-01-24 19:38:01 +02:00
Vesa Luusua
2a60fcdc3b Snapshot tests need IntlProvider - even when using default locales 2017-01-24 19:20:40 +02:00