Skip to content
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

Closed
wants to merge 138 commits into from

Conversation

neokore
Copy link
Contributor

@neokore neokore commented Jan 22, 2020

This feature allows loading/saving private and public maps using CARTO.

Related to #804

rjimenezda and others added 30 commits October 21, 2019 12:17
Remove mapId parameter from provider route
}

if (!visualization) {
throw {target: {status: 404, responseText: `Can't find map with ID: ${mapId}`}};
Copy link
Contributor

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}`)

VictorVelarde and others added 6 commits February 14, 2020 18:56
- 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]>
@neokore neokore changed the base branch from backend-storage-ui to provider-load-map February 17, 2020 18:23
@neokore neokore changed the title CARTO Provider for Backend Storage (WIP) CARTO Provider for Backend Storage Feb 17, 2020
import PropTypes from 'prop-types';
import Base from './base';

export default class Database extends Component {
Copy link
Contributor

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} />
Copy link
Contributor

@heshan0131 heshan0131 Feb 21, 2020

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

@heshan0131 heshan0131 force-pushed the provider-load-map branch 2 times, most recently from 02b57c0 to aed7634 Compare February 27, 2020 23:52
@neokore neokore changed the base branch from provider-load-map to master March 2, 2020 09:05
@neokore
Copy link
Contributor Author

neokore commented Mar 4, 2020

We've simplified the PR in another branch here: #985

@neokore neokore closed this Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants