Commit graph

24 commits

Author SHA1 Message Date
Vesa Luusua
9865fb5762 Handle show listings error. (Needs refactoring after title is extracted from PageLayout) 2017-03-08 00:25:43 +02:00
Kimmo Puputti
072a852c86 Separate different auth errors 2017-03-07 10:37:07 +02:00
Vesa Luusua
309b7214be getListingsById: handle errors 2017-03-06 14:17:05 +02:00
Kimmo Puputti
4066948800 Add search results to the store 2017-02-23 13:38:15 +02:00
Kimmo Puputti
43a4d55aa2 Add selector for listings 2017-02-23 12:09:34 +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
cec4ea15c7 Add duck file for API calls 2017-02-21 20:59:18 +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
2ce15d4ab6 Rename ducks -> duck 2017-02-20 09:59:10 +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
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
dfbe65fe47 Mock login and show possible errors 2017-02-07 15:44:57 +02:00
Kimmo Puputti
c83af8dc42 Add redux-saga setup with Auth duck 2017-02-01 16:20:13 +02:00
Kimmo Puputti
50e22d0d1e Format JS with Prettier 0.13.1 2017-01-30 10:57:27 +02:00
Vesa Luusua
51a5c492d4 LandingPage with HeroSection. Query is handled through redux. 2017-01-26 17:09:50 +02:00
Kimmo Puputti
fa78adf22b Add forms related to authentication and credentials 2017-01-25 09:06:45 +02:00
Vesa Luusua
ed41f49809 Renaming and refactoring initial ducks and tests files 2017-01-20 15:13:27 +02:00
Vesa Luusua
4feb5e8087 A run with correct Prettier version 2017-01-20 15:02:55 +02:00
Vesa Luusua
731db1991d Add tests to ducks 2017-01-20 15:02:54 +02:00
Vesa Luusua
a5e051a7ee Add redux. Shared actions can be found from _src/ducks/_ folder and route specific are inside container folder. 2017-01-20 15:02:54 +02:00