Skip to content

Conversation

ivanahuckova
Copy link
Contributor

Fixes #155

In this PR we are fixing showing of percent values when using data source. Previously, percent unit (which is Percent (0-100) in the UI)v was used which meant the received number was furthermore dividied by 100. To fix this, we are using percentunit (Percent (0.0-1.0) instead) that does not firthermore divide the values.

image

Fixed:

fixedpercentunit.mov

Broken (current main):

brokenwithpercent.mov

@ivanahuckova ivanahuckova requested a review from a team as a code owner June 19, 2024 12:39
@ivanahuckova ivanahuckova requested review from gabor, itsgareth and yesoreyeram and removed request for a team June 19, 2024 12:39
@ivanahuckova ivanahuckova added the type/bug Unexpected behavior or a feature is broken label Jun 19, 2024
Copy link
Member

@zoltanbedi zoltanbedi left a comment

Choose a reason for hiding this comment

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

Stellar work! ⭐

@ivanahuckova ivanahuckova merged commit 73bb560 into main Jun 19, 2024
@ivanahuckova ivanahuckova deleted the ivana/fix-percent-unit branch June 19, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/bug Unexpected behavior or a feature is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Percentages seem to be getting mangled

2 participants