Skip to content

Conversation

@wmak
Copy link
Member

@wmak wmak commented Jun 14, 2021

  • Equations were showing up in autocomplete and the y-axis even though
    they're not currently supported in either, but because they're in the
    list of fields were being picked up by these two things

- Equations were showing up in autocomplete and the y-axis even though
  they're not currently supported in either, but because they're in the
  list of fields were being picked up by these two things
@wmak wmak requested a review from a team June 14, 2021 19:57
.filter((field: Field) => isLegalYAxisType(aggregateOutputType(field.field)))
.filter(
(field: Field) =>
isLegalYAxisType(aggregateOutputType(field.field)) && !isEquation(field.field)
Copy link
Member

Choose a reason for hiding this comment

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

@wmak would equations ever show up as y-axis options in Dashboards?

Copy link
Member Author

Choose a reason for hiding this comment

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

They will, this is temporary until I add support on the event-stats endpoint for equations, and I'll format it correctly when I add it back, right now this is appearing like this
image

@wmak wmak merged commit 7f6ef58 into master Jun 15, 2021
@wmak wmak deleted the wmak/fix-equations-showing-up branch June 15, 2021 17:35
@github-actions github-actions bot locked and limited conversation to collaborators Jul 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants