Commit graph

3297 commits

Author SHA1 Message Date
Vesa Luusua
d82dc4e1ce Merge pull request #60 from sharetribe/add-thunk
Add thunk
2017-03-07 16:43:49 +02:00
Vesa Luusua
f26b2cc35b Add thunk since saga was too difficult for people. (update to sdk ref too.) 2017-03-07 16:26:42 +02:00
Kimmo Puputti
b70bda169e Show separate auth error messages 2017-03-07 11:03:45 +02:00
Kimmo Puputti
072a852c86 Separate different auth errors 2017-03-07 10:37:07 +02:00
Kimmo Puputti
305ccc3b82 Add proper i18n setup for the tests 2017-03-07 10:37:07 +02:00
Kimmo Puputti
5cb3146e85 Remove default messages from translations 2017-03-07 10:37:07 +02:00
Vesa Luusua
2d63bab001 Update snapshot 2017-03-06 14:26:19 +02:00
Vesa Luusua
aeb28c8941 ListingPage: Show images 2017-03-06 14:26:19 +02:00
Vesa Luusua
2624b3bb9c Fix relationships format 2017-03-06 14:25:19 +02:00
Vesa Luusua
7490c676f0 Msg: Loading listing data 2017-03-06 14:23:44 +02:00
Vesa Luusua
309b7214be getListingsById: handle errors 2017-03-06 14:17:05 +02:00
Vesa Luusua
47e1b36df2 Update tests 2017-03-06 13:59:30 +02:00
Vesa Luusua
875e6de4ca Msg: Loading listing data 2017-03-06 13:59:25 +02:00
Vesa Luusua
ab7666968d ListingPage: fetch & redux 2017-03-06 13:25:40 +02:00
Vesa Luusua
74cbd822ea Simple ListingCard example to styleguide 2017-03-01 13:32:27 +02:00
Vesa Luusua
e9ba0ac855 Test and styleguide related mock data separated from test-helpers 2017-03-01 13:32:21 +02:00
Vesa Luusua
580b58dd3b NamedLink: simple example to test styleguide 2017-03-01 13:32:16 +02:00
Kimmo Puputti
ad3ceca9e8 Format with updated Prettier 0.19 2017-02-27 10:54:49 +02:00
Kimmo Puputti
6d7e35fb61 Enable configuring SDK in the ENV 2017-02-27 10:09:27 +02:00
Kimmo Puputti
1cfbd46913 Handle missing attributes for listing or its author 2017-02-23 13:55:29 +02:00
Kimmo Puputti
1278f24b1a Use SDK duck for listing search 2017-02-23 13:41:46 +02:00
Kimmo Puputti
081e56c99f Use proper listing and user shapes in card components 2017-02-23 13:39:17 +02:00
Kimmo Puputti
4066948800 Add search results to the store 2017-02-23 13:38:15 +02:00
Kimmo Puputti
fdb1f96847 Add test helpers for creating users and listings 2017-02-23 13:37:49 +02:00
Kimmo Puputti
bc6a0839fa Change user and listing prop types to match the required shape 2017-02-23 13:37:18 +02:00
Kimmo Puputti
8b4fea7c22 Remove loadData since it's always null with the default imports 2017-02-23 12:37:52 +02:00
Kimmo Puputti
43a4d55aa2 Add selector for listings 2017-02-23 12:09:34 +02:00
Kimmo Puputti
d263202723 Add entity data denormalisation helper 2017-02-23 12:09:34 +02:00
Kimmo Puputti
36d40054a6 Expose routeConfiguration for dev REPL 2017-02-23 10:18:03 +02:00
Kimmo Puputti
cca652eca1 Load initial auth info when starting the app 2017-02-22 14:58:25 +02:00
Kimmo Puputti
22878eb755 Change function and param naming to communicate the purpose better 2017-02-22 11:17:45 +02:00
Kimmo Puputti
d02785cf9d Expose stuff for dev time REPL 2017-02-21 20:59:43 +02:00
Kimmo Puputti
cec4ea15c7 Add duck file for API calls 2017-02-21 20:59:18 +02:00
Kimmo Puputti
37761e97b2 Add data module for handling JSONApi responses 2017-02-21 20:58:17 +02:00
Kimmo Puputti
3d4c7834e2 Add sample data module for REPL testing 2017-02-21 20:57:46 +02:00
Kimmo Puputti
0e8fd878aa Remove user and inProgressState from the Auth store
- user: will be changed to something else later anyways
 - inProgressState: not used anywhere
2017-02-21 11:35:45 +02:00
Kimmo Puputti
bbddb7ae27 Inject the SDK instance to the root saga 2017-02-21 11:35:45 +02:00
Kimmo Puputti
f17a5ec36b Add a config file for the frontend app 2017-02-21 11:35:45 +02:00
Kimmo Puputti
2ce15d4ab6 Rename ducks -> duck 2017-02-20 09:59:10 +02:00
Kimmo Puputti
99c9a67a4b Fix extra location state modifications that caused weird redirects 2017-02-17 13:42:11 +02:00
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
78cfe3d75f Add push prop to NamedRedirect to pass on to Redirect 2017-02-16 17:16:12 +02:00
Kimmo Puputti
4045146364 Add support for activeClassName for the NamedLink component 2017-02-16 17:15:27 +02:00
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