Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

feat: make line chart query operate in time series mode #71

Merged
merged 1 commit into from
Apr 24, 2019

Conversation

kristw
Copy link
Collaborator

@kristw kristw commented Apr 23, 2019

🐛 Bug Fix

To ensure the output is grouped by time for time series.

@conglei

@kristw kristw requested a review from a team as a code owner April 23, 2019 22:50
@netlify
Copy link

netlify bot commented Apr 23, 2019

Deploy preview for superset-ui-plugins ready!

Built with commit 5cf22f5

https://deploy-preview-71--superset-ui-plugins.netlify.com

@kristw kristw changed the title fix: make line chart query operate in time series mode feat: make line chart query operate in time series mode Apr 24, 2019

// Enforce time-series mode
queryContext.queries.forEach(query => {
const q = query;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Should we make a copy? (I don't think it is necessary imo).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

umm good point. but since nobody has access to the original one I think it is ok to modify instead of cloning the entire queryContext.

Copy link
Contributor

@conglei conglei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@kristw kristw merged commit 4d9a479 into master Apr 24, 2019
@delete-merged-branch delete-merged-branch bot deleted the kristw--istimeseries branch April 24, 2019 00:20
nytai pushed a commit to preset-io/superset-ui-plugins that referenced this pull request Apr 27, 2020
…ion) (apache-superset#71)

* Handle BigNumber conversions in JSON properly (without loss of precision)
* Rewrap "errors" from JSONbig.parse in proper error object.
* Use DefinitelyTyped's fetch-mock type def
* Improved type def for json-bigint
* Added type casts to some tests due to addition of fetchMock type def
nytai pushed a commit to preset-io/superset-ui-plugins that referenced this pull request Apr 27, 2020
…f precision) (apache-superset#71)" (apache-superset#126)

* revert: revert "Handle BigNumber conversions in JSON properly (without loss of precision) (apache-superset#71)"

This reverts commit e386612.

* fix: type errors

* fix: typescript errors in superset-ui-demo
nytai pushed a commit to preset-io/superset-ui-plugins that referenced this pull request Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants