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

Frontend QA: show currently sorted heuristic percentages in page list #1720

Merged
merged 3 commits into from
Apr 22, 2024

Conversation

emma-sg
Copy link
Member

@emma-sg emma-sg commented Apr 22, 2024

Closes #1690

Swaps out the "+n" number for a percentage when sorting by percentage values

@emma-sg emma-sg added the front end Requires front end dev work label Apr 22, 2024
@emma-sg emma-sg requested review from SuaYoo and Shrinks99 April 22, 2024 19:19
@emma-sg emma-sg self-assigned this Apr 22, 2024
export const textColorFromSeverity = cached((severity: Severity) => {
switch (severity) {
case "good":
return tw`text-green-600`;
Copy link
Member

Choose a reason for hiding this comment

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

Ah I haven't thought of using tw in utilities in this way, cool!

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, it's handy! In this case we don't actually really need it, cause we're definitely using all these classes elsewhere already, but if we weren't this would ensure that the compiler knows to include them.

@emma-sg emma-sg merged commit 1273151 into main Apr 22, 2024
2 checks passed
@emma-sg emma-sg deleted the frontend-qa-page-list-bubble-numbers branch April 22, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front end Requires front end dev work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QA UI: Show currently selected QA stat % in chip icon
2 participants