Kimmo Puputti
|
48d6b3a3bd
|
Add support for forbidden status in server rendering
|
2017-02-16 14:04:10 +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
|
f1772cc532
|
Add withFlattenedRoutes HOC
|
2017-02-16 11:43:13 +02:00 |
|
Kimmo Puputti
|
4020c36215
|
Use withRouter helper instead of context
|
2017-02-15 16:36:54 +02:00 |
|
Kimmo Puputti
|
1e9e72a841
|
Provide flattened routes in the context
|
2017-02-15 16:18:01 +02:00 |
|
Kimmo Puputti
|
078569e71d
|
Rename routes prop to flattenedRoutes
|
2017-02-15 15:51:13 +02:00 |
|
Kimmo Puputti
|
e656b4098a
|
Use flattened routes in route helpers
|
2017-02-15 15:47:56 +02:00 |
|
Kimmo Puputti
|
f51936d5dd
|
Use inline exports
|
2017-02-15 15:37:29 +02:00 |
|
Kimmo Puputti
|
d56a00a316
|
Move route util functions to a separate module
|
2017-02-15 15:31:39 +02:00 |
|
Kimmo Puputti
|
0b963a6332
|
Clean up redirects
|
2017-02-15 15:25:01 +02:00 |
|
Kimmo Puputti
|
32bff31672
|
Remove unneeded RouterProvider component
|
2017-02-15 14:04:22 +02:00 |
|
Kimmo Puputti
|
ea2c7b78e6
|
Rename pattern to path as in react-router Route props
|
2017-02-15 13:54:37 +02:00 |
|
Kimmo Puputti
|
59748e39b9
|
Rename exactly to exact as in react-router Route props
|
2017-02-15 13:48:05 +02:00 |
|
Kimmo Puputti
|
028b923df9
|
Remove unused MatchWithSubRoutes component
|
2017-02-15 13:48:05 +02:00 |
|
Kimmo Puputti
|
9b7fff6d5a
|
Rename match to props since component is a React component
|
2017-02-15 13:48:05 +02:00 |
|
Kimmo Puputti
|
e4d5051ffa
|
Merge pull request #43 from sharetribe/proptype-utils
PropType cleanup
|
2017-02-15 13:46:35 +02:00 |
|
Kimmo Puputti
|
37e01b03f5
|
Change store state usage to be more explicit
|
2017-02-15 13:29:12 +02:00 |
|
Kimmo Puputti
|
766adf8ccd
|
Add shared PropType util file
|
2017-02-15 13:28:44 +02:00 |
|
Kimmo Puputti
|
e1c67291c9
|
Merge pull request #38 from sharetribe/searchpage-test-ducks
Searchpage test ducks
|
2017-02-15 11:07:06 +02:00 |
|
Kimmo Puputti
|
458aba5f53
|
Fix post-merge test failures
|
2017-02-15 11:02:16 +02:00 |
|
Kimmo Puputti
|
b9cdb17576
|
Fix id type in test
|
2017-02-15 10:51:01 +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
|
8292c1b9cd
|
Enable crawling tests, split redirect tests
|
2017-02-14 14:29:03 +02:00 |
|
Kimmo Puputti
|
f17cccfdfd
|
Refactor Routes to work with the new react-router API
|
2017-02-14 14:28:44 +02:00 |
|
Kimmo Puputti
|
9a91380896
|
Provide routesConfiguration and use flattened routes for Routes
|
2017-02-14 14:24:15 +02:00 |
|
Kimmo Puputti
|
18bdcf5993
|
Wrap route components into functions for undefined default imports
|
2017-02-14 14:24:15 +02:00 |
|
Kimmo Puputti
|
763db75553
|
Listen to history changes only when possible
|
2017-02-14 14:19:14 +02:00 |
|
Kimmo Puputti
|
3f4bc073d4
|
Fix routers and server context
|
2017-02-14 10:48:10 +02:00 |
|
Kimmo Puputti
|
4a7269e71b
|
Update snapshots with Link and Redirect prop changes
|
2017-02-14 10:47:33 +02:00 |
|
Kimmo Puputti
|
b426af7b95
|
Fix changed Link and Redirect props
|
2017-02-14 10:47:33 +02:00 |
|
Kimmo Puputti
|
10d6d19c00
|
Use the new matchPath instead of matchPattern
|
2017-02-14 10:47:33 +02:00 |
|
Mikko Koski
|
af4bf2fa8b
|
Merge pull request #41 from sharetribe/listings-from-sdk
Integration SDK: Search listings from SDK and API
|
2017-02-14 10:09:57 +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
|
c11fbe90e6
|
Update react-router to 4.0.0-beta.6
|
2017-02-14 09:39:00 +02:00 |
|
Kimmo Puputti
|
5b44a2fdb5
|
Merge pull request #37 from sharetribe/shallow-snapshots
Shallow snapshots
|
2017-02-07 16:23:44 +02:00 |
|
Kimmo Puputti
|
cfbeb8672c
|
Document test helpers
|
2017-02-07 16:20:39 +02:00 |
|
Kimmo Puputti
|
8f92ec2855
|
Use render helper in tests
|
2017-02-07 16:14:28 +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
|
751a948253
|
Add Enzyme and related packages for testing
|
2017-02-07 15:59:52 +02:00 |
|