Kimmo Puputti
12c9a8b330
Add support for scrolling into a fragment identifier
2017-10-31 15:35:44 +02:00
Kimmo Puputti
a798d9a741
Rename canonicalRouteUrl to canonicalRoutePath
2017-10-26 14:12:45 +03:00
Kimmo Puputti
5942d11cb6
Use the canonical url for analytics page views
2017-10-26 11:41:48 +03:00
Kimmo Puputti
e82a775049
Add Routing duck to track location changes
2017-10-25 17:02:38 +03:00
Kimmo Puputti
a996f154d1
Import PropTypes from the prop-types package
2017-10-17 09:50:22 +03:00
Vesa Luusua
54ec4ae996
RouteConfiguration within React Router (Routes.js) needs to stay the same.
2017-10-16 15:09:52 +03:00
Kimmo Puputti
90ab9c9a69
Format with latest Prettier
2017-10-13 10:11:51 +03:00
Kimmo Puputti
78de6d9d69
Disable deprecated proptype import lint error
2017-10-12 14:09:02 +03:00
Vesa Luusua
3fb1e53a03
routeConfiguration uses exact routes by default
2017-10-12 11:22:42 +03:00
Vesa Luusua
e59aec7199
Routes: import routeConfiguration and remove context.flattenedRoutes
2017-10-11 14:18:31 +03:00
Hannu Lyytikainen
e1a820fa18
Add more extra data to log requests
2017-10-04 14:04:12 +03:00
Hannu Lyytikainen
de5ec59119
Add error codes
...
An error code can be passed to logger. This code gets added to the
Sentry error report as a tag and can be used to search this specific
error.
2017-10-04 13:17:43 +03:00
Hannu Lyytikainen
e35628660c
Change the way util/log.js is imported
...
Always import the whole module when using util/log.js.
2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
5bf9d0f072
Send errors to sentry
2017-10-04 13:16:28 +03:00
Vesa Luusua
91251bd26c
Send 200 or 401 from server side on auth=true pages
2017-10-02 17:19:11 +03:00
Vesa Luusua
f35ba4b5a3
Don't loadData while logout is in progress, canShowComponent should be called with nextProps
2017-09-15 15:03:54 +03:00
Kimmo Puputti
2b359caa0a
Improve routing changes
...
- Add hash to saved from page
- Use authPage instead of preferLogin for more flexibility
2017-08-16 09:09:52 +03:00
Kimmo Puputti
8d9c078309
Improve routing
...
- Allow setting `preferLogin` in route config to enable redirecting
to login page instead of signup page
- Add missing search params to the auth redirect
2017-08-15 16:08:32 +03:00
Kimmo Puputti
c3c0a87468
Prefer signup over login page when requesting authentication
2017-05-05 09:42:20 +03:00
Kimmo Puputti
afe2389066
Unify mapStateToProps functions
2017-05-02 11:03:26 +03:00
Vesa Luusua
8971c9b29a
Extract context helpers to separate file
2017-04-06 14:48:20 +03:00
Kimmo Puputti
08952bc4fd
Fix React Router not updating routes
...
https://github.com/ReactTraining/react-router/issues/4671
2017-04-03 14:29:30 +03:00
Kimmo Puputti
5d32f57696
Update React Router
2017-04-03 12:28:17 +03:00
Vesa Luusua
c341e97ef0
SearchPage handles next page and prev page clicks
2017-03-29 16:56:40 +03:00
Kimmo Puputti
f6226a68ad
Use route lookup instead of hardcoding the path
2017-03-23 10:55:46 +02:00
Kimmo Puputti
2b51a9ce4b
Pass in search query to loadData
2017-03-22 14:55:01 +02:00
Mikko Koski
c50dec0eb9
Implement sdkLoader to either require sdk package or use bundled sdk
2017-03-16 16:39:35 +02:00
Kimmo Puputti
5a38f6c280
Call loadData of matched routes in the server
2017-03-15 15:51:40 +02:00
Kimmo Puputti
735adb21d5
Initial client side data loading for ListingPage
2017-03-15 10:37:57 +02:00
Kimmo Puputti
48d6b3a3bd
Add support for forbidden status in server rendering
2017-02-16 14:04:10 +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
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
766adf8ccd
Add shared PropType util file
2017-02-15 13:28:44 +02:00
Kimmo Puputti
862f01f00b
Fix location state handling for proper redirects
2017-02-14 20:35:53 +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
3f4bc073d4
Fix routers and server context
2017-02-14 10:48:10 +02:00
Kimmo Puputti
be2fcdf793
Import from react-router-dom instead of react-router
2017-02-14 09:43:37 +02:00
Kimmo Puputti
8f533f36ab
Extract MatchWithSubRoutes component
2017-02-07 15:44:57 +02:00
Kimmo Puputti
50e22d0d1e
Format JS with Prettier 0.13.1
2017-01-30 10:57:27 +02:00
Kimmo Puputti
366a510891
Extract expression to avoid Prettier changing it
2017-01-26 12:59:39 +02:00
Kimmo Puputti
dd448d842e
Add auth form to correct pages
2017-01-25 15:14:21 +02:00
Kimmo Puputti
fa78adf22b
Add forms related to authentication and credentials
2017-01-25 09:06:45 +02:00
Vesa Luusua
327ea45b80
Add routes configuration
2017-01-24 19:09:57 +02:00
Kimmo Puputti
1263525800
Add missing propTypes
2017-01-19 11:32:49 +02:00
Kimmo Puputti
ef1a8eb15d
Format with Prettier
2017-01-19 11:29:29 +02:00
Vesa Luusua
0f9da68d35
Call functions from window more explicitly
2017-01-13 16:55:15 +02:00
Vesa Luusua
49229c7aaa
Refactoring import orders
2017-01-13 16:55:14 +02:00
Vesa Luusua
95d2d09f56
Account settings redirect
2017-01-13 16:55:14 +02:00