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

#2308: Fix SuccessRateLine chart #2336

Merged
merged 3 commits into from
May 6, 2024
Merged

Conversation

anaPerezGhiglia
Copy link
Contributor

@anaPerezGhiglia anaPerezGhiglia commented Apr 29, 2024

Changes

  • Remove the forecast for success rate values. We were trying to forecast when will the success rate percentage hit the 100% ceil. This didn't (and doesn't) make any sense. It was this "forecasted" date the one that was messing around the x-axis, since we were selecting this date as the end-date of the chart.
  • Simplify SuccessRateLine component by reciving a single data object instead of a list of them. This seems to be a leftover from copying Forecasts component
  • Simplify SurveyShow component by avoid putting together quota bucket forecasts and success rate values
  • Change chart title and subtitle since it was the same as the cockpit chart

Evidence

Before
image

After

image

closes #2308

* Simplify SuccessRateLine chart by recibin a single data object instead
of a list of them. This seems to be a leftofver from copying Forecasts
component
* Simplify SurveyShow by avoid putting together quota bucket forecasts and
success rate values
@anaPerezGhiglia anaPerezGhiglia requested a review from ysbaddaden May 2, 2024 19:28
Copy link
Member

@matiasgarciaisaia matiasgarciaisaia left a comment

Choose a reason for hiding this comment

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

👍 LGTM!

@anaPerezGhiglia anaPerezGhiglia merged commit 2addf8f into main May 6, 2024
2 checks passed
@anaPerezGhiglia anaPerezGhiglia deleted the fix/2308-success-rate-chart branch May 6, 2024 16:13
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.

Success Rate chart has issues with the x-axis scale
2 participants