diff --git a/dist/plot-schema.json b/dist/plot-schema.json index 78614b86693..ff7681f0213 100644 --- a/dist/plot-schema.json +++ b/dist/plot-schema.json @@ -280,7 +280,7 @@ }, "plotlyServerURL": { "description": "Sets the URL for the `sendChartToCloud` modebar button. When clicked, the button will send the chart data to this URL.", - "dflt": "", + "dflt": "https://cloud.plotly.com/newchart", "valType": "string" }, "queueLength": { @@ -342,7 +342,7 @@ }, "showSendToCloud": { "description": "Should we include a modebar button that sends this chart to a URL specified by `plotlyServerURL`, for sharing the chart with others? Note that this button will (after a confirmation step) send chart data to an external server.", - "dflt": false, + "dflt": true, "valType": "boolean" }, "showSources": { diff --git a/draftlogs/7909_change.md b/draftlogs/7909_change.md new file mode 100644 index 00000000000..d0b7ca2df87 --- /dev/null +++ b/draftlogs/7909_change.md @@ -0,0 +1 @@ +- Update plot_config to show the "Upload to Cloud" button by default, and set the default server URL to cloud.plotly.com via [[#7909](https://github.com/plotly/plotly.js/pull/7909)] \ No newline at end of file diff --git a/src/plot_api/plot_config.js b/src/plot_api/plot_config.js index 55237deb55c..0ccd526aed1 100644 --- a/src/plot_api/plot_config.js +++ b/src/plot_api/plot_config.js @@ -33,7 +33,7 @@ var configAttributes = { plotlyServerURL: { valType: 'string', - dflt: '', + dflt: 'https://cloud.plotly.com/newchart', description: [ 'Sets the URL for the `sendChartToCloud` modebar button.', 'When clicked, the button will send the chart data to this URL.', @@ -271,7 +271,7 @@ var configAttributes = { }, showSendToCloud: { valType: 'boolean', - dflt: false, + dflt: true, description: [ 'Should we include a modebar button that sends this chart to a URL', 'specified by `plotlyServerURL`, for sharing the chart with others?', diff --git a/test/plot-schema.json b/test/plot-schema.json index 78614b86693..ff7681f0213 100644 --- a/test/plot-schema.json +++ b/test/plot-schema.json @@ -280,7 +280,7 @@ }, "plotlyServerURL": { "description": "Sets the URL for the `sendChartToCloud` modebar button. When clicked, the button will send the chart data to this URL.", - "dflt": "", + "dflt": "https://cloud.plotly.com/newchart", "valType": "string" }, "queueLength": { @@ -342,7 +342,7 @@ }, "showSendToCloud": { "description": "Should we include a modebar button that sends this chart to a URL specified by `plotlyServerURL`, for sharing the chart with others? Note that this button will (after a confirmation step) send chart data to an external server.", - "dflt": false, + "dflt": true, "valType": "boolean" }, "showSources": {