williaster commented on a change in pull request #3993: [Explore view] Use POST
method for charting requests
URL:
https://github.com/apache/incubator-superset/pull/3993#discussion_r161936970
##########
File path:
superset/assets/javascripts/explore/components/ExploreViewContainer.jsx
##########
@@ -101,13 +106,47 @@ class ExploreViewContainer extends React.Component {
}
}
+ addHistory({ isReplace = false, title }) {
+ const { payload } = getExploreUrlAndPayload({ formData:
this.props.form_data });
+ const longUrl = getExploreLongUrl(this.props.form_data);
+ if (isReplace) {
+ history.replaceState(
+ payload,
+ document.title,
Review comment:
should this be `title` instead of `document.title`? or make the
`document.title = title;` call before these?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services