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 |
|
Kimmo Puputti
|
0931e2b5c7
|
Merge pull request #34 from sharetribe/remove-fake-auth
Remove fake auth
|
2017-02-07 15:55:26 +02:00 |
|
Kimmo Puputti
|
eefb2c1036
|
Improve error message
|
2017-02-07 15:47:36 +02:00 |
|
Kimmo Puputti
|
28894cd812
|
Redirect to root after logout
|
2017-02-07 15:47:36 +02:00 |
|
Kimmo Puputti
|
519ec102af
|
User one auth in-progress prop and one error prop in store
|
2017-02-07 15:47:36 +02:00 |
|
Kimmo Puputti
|
abacbbc1d6
|
Auth duck fake impl and tests
|
2017-02-07 15:47:36 +02:00 |
|
Kimmo Puputti
|
d417009ff5
|
Remove unnecessary double import/export rename
|
2017-02-07 15:44:57 +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
|
dfbe65fe47
|
Mock login and show possible errors
|
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
|
0e71c2d41a
|
Merge pull request #35 from sharetribe/fake-load-data
Fake load data
|
2017-02-07 14:16:58 +02:00 |
|
Vesa Luusua
|
bc2baaf3b5
|
Refactoring to improve readability, compatibility with saga and comments
|
2017-02-07 13:13:08 +02:00 |
|
Vesa Luusua
|
f508886d9f
|
Strange bug: tests don't work without this fix. Will be changed later.
|
2017-02-06 12:40:48 +02:00 |
|