-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CARTO Provider for Backend Storage #922
Conversation
Remove mapId parameter from provider route
} | ||
|
||
if (!visualization) { | ||
throw {target: {status: 404, responseText: `Can't find map with ID: ${mapId}`}}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this error will be caught on line 231, and pass to _maangeErrors
, in order to get the correct message, this should be throw new Error(`Can't find map with ID: ${mapId}`)
- add dropbox user name, logout, save image - add load map from dropbox - implement load-storage-map modal and handling loadMaps in provider updater - implement save as Signed-off-by: Shan He <[email protected]>
…l into raul/backend-storage-ui
import PropTypes from 'prop-types'; | ||
import Base from './base'; | ||
|
||
export default class Database extends Component { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like this file is not used anymore
@@ -44,6 +44,7 @@ export function buildAppRoutes(Component) { | |||
<Route key="demo" path="demo"> | |||
<IndexRoute component={Component} /> | |||
<Route path="map" component={Component} /> | |||
<Route path="map/:provider" component={Component} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate routes here, remained from rebasing
02b57c0
to
aed7634
Compare
We've simplified the PR in another branch here: #985 |
This feature allows loading/saving private and public maps using CARTO.
Related to #804