1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
onion/js/fetchers
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
..
application_fetcher.js api settings complete 2015-06-22 17:33:25 +02:00
coa_fetcher.js fix warnings 2015-07-10 14:15:22 +02:00
edition_fetcher.js Rename fetch to requests to avoid name clashing 2015-06-16 13:48:48 +02:00
edition_list_fetcher.js Remove ReactS3FineUploader's dependency on react-router's location 2015-10-30 17:43:20 +01:00
license_fetcher.js Write generic function for extracting subdomain and implement troughout whole app 2015-09-29 14:58:56 +02:00
notification_fetcher.js contract agreement notifications 2015-09-04 11:49:55 +02:00
ownership_fetcher.js PR update 2015-09-17 14:20:46 +02:00
piece_fetcher.js piece view 2015-07-08 22:54:07 +02:00
piece_list_fetcher.js Remove ReactS3FineUploader's dependency on react-router's location 2015-10-30 17:43:20 +01:00
prize_list_fetcher.js refactor ascribe table and add prizes dashboard boilerplate code 2015-07-29 18:03:49 +02:00
s3_fetcher.js add sessions for already uploaded files and implement manual deletion 2015-06-30 15:41:39 +02:00
user_fetcher.js rename apiUrls to ApiUrls 2015-08-07 15:08:02 +02:00
wallet_settings_fetcher.js account settings 2015-06-17 17:48:23 +02:00
whitelabel_fetcher.js Write generic function for extracting subdomain and implement troughout whole app 2015-09-29 14:58:56 +02:00