Commit graph

4853 commits

Author SHA1 Message Date
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
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
3c597ea2cf Template function didn't understood stuff inside script tags. 2017-02-06 12:32:59 +02:00
Vesa Luusua
71ab7c33e0 Call component.loadData on server side (and client) 2017-02-06 12:32:59 +02:00
Vesa Luusua
90bc748731 Merge pull request #36 from sharetribe/simpler-tab-selection
Refactor tab selection to simpler solution
2017-02-06 12:29:28 +02:00
Vesa Luusua
fd18ed1427 Refactor to more simple solution 2017-02-06 12:26:34 +02:00
Kimmo Puputti
8e166d73bb Merge pull request #33 from sharetribe/redux-fake-auth
redux-saga setup and Auth duck
2017-02-02 14:16:47 +02:00
Kimmo Puputti
c83af8dc42 Add redux-saga setup with Auth duck 2017-02-01 16:20:13 +02:00
Kimmo Puputti
b59e3e9388 Add redux-saga package 2017-02-01 16:10:52 +02:00
Kimmo Puputti
36ee21ea91 Merge pull request #32 from sharetribe/update-prettier
Update Prettier
2017-01-30 11:05:17 +02:00
Kimmo Puputti
50e22d0d1e Format JS with Prettier 0.13.1 2017-01-30 10:57:27 +02:00
Kimmo Puputti
f2aeb7d312 Change NPM script name, fix globstar 2017-01-30 10:52:32 +02:00
Kimmo Puputti
b5cdc57dc8 Update NPM packages 2017-01-30 10:40:58 +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
aaecc721c7 Merge pull request #30 from sharetribe/listingpage
ListingPage wireframe
2017-01-26 20:58:06 +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
dbda88f364 Merge pull request #27 from sharetribe/searchpage-wires
Searchpage wires
2017-01-26 17:24:42 +02:00
Vesa Luusua
39aa660832 Add wireframes for SearchPage 2017-01-26 17:17:57 +02:00