1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00
onion/js
Brett Sun d23331d9b9 Remove ReactS3FineUploader's dependency on react-router's location
ReactS3FineUploader used to check the current url’s query params to
determine which method it should use to upload, but this decision means
the component is tightly coupled with react-router and history.js. A
major pain point is having to propagate the location prop all the way
down to this component even when it’s not necessary.

Now, ReactS3FineUploader’s parent elements can either parse the current
query params themselves or, if they have a location from react-router,
simply use the location.

Added a few utils to help parse url params.
2015-10-30 17:43:20 +01:00
..
actions Merged in AD-727-missing-redirects-to-login-page (pull request #95) 2015-10-19 10:13:54 +02:00
components Remove ReactS3FineUploader's dependency on react-router's location 2015-10-30 17:43:20 +01:00
constants Merge remote-tracking branch 'origin/master' into AD-538-users-and-even-devs-are-unsure-wh 2015-10-20 18:11:41 +02:00
fetchers Remove ReactS3FineUploader's dependency on react-router's location 2015-10-30 17:43:20 +01:00
mixins remove alert mixin 2015-08-10 14:22:25 +02:00
models delete function for multi editions 2015-06-10 15:49:46 +02:00
stores Merge remote-tracking branch 'remotes/origin/master' into AD-1080-restyle-webapp-with-new-corporate-identity 2015-10-14 17:25:53 +02:00
third_party Merge branch 'AD-1105-separate-third-party-storesactio' into AD-727-missing-redirects-to-login-page 2015-10-06 16:50:51 +02:00
utils Remove ReactS3FineUploader's dependency on react-router's location 2015-10-30 17:43:20 +01:00
alt.js Separate dispatcher logic of whitelabel and user stores 2015-10-07 09:31:38 +02:00
app.js Add last bit of documentation 2015-10-12 09:24:18 +02:00
history.js Restore baseUrl in router 2015-10-13 14:19:08 +02:00
routes.js Redirect directly to /login on loggout 2015-10-16 13:01:54 +02:00