Skip to content

Pad praise score values in frontend #1104

@Vyvy-vi

Description

@Vyvy-vi

Details

The total_praise_score values have long decimal values that terminate after a while but these are insignificant digits (perhaps it's time to look if there are some floating point inaccuracies in the codebase?)

Main success scenario

This shouldn't be displayed in the frontend. We should round or pad these these values to 2 or 3 decimal places to prevent weird UI breaks.

Links and docs

Screenshot 2023-07-01 at 8 46 07 AM

Who should be kept in the loop?

@kristoferlund @kkatusic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions