Skip to content

Conversation

@wRadion
Copy link
Contributor

@wRadion wRadion commented Dec 29, 2025

Description

Show less details for legacy PBs in the friendlist.

Checks

  • Check if any open issues are related to this PR; if so, be sure to tag them below.
  • Make sure the PR title follows the Conventional Commits standard. (https://www.conventionalcommits.org for more info)
  • Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title.

@monkeytypegeorge monkeytypegeorge added the frontend User interface or web stuff label Dec 29, 2025
fehmer
fehmer previously approved these changes Dec 29, 2025
@wRadion
Copy link
Contributor Author

wRadion commented Dec 29, 2025

Sorry I was fighting with the trailing comma, because I've seen in the guidelines there shouldn't be one (but I guess it just applies strictly to JSON files), and I didn't know/understood right away that the linter would add it automatically.

I'm so sorry, it just messes up the history of the PR and triggered builds for nothing.

@Miodec Miodec added the format Ask the bot to fix formatting on this pr label Dec 29, 2025
@github-actions github-actions bot removed the format Ask the bot to fix formatting on this pr label Dec 29, 2025
if (entry.raw) {
details.push(`${result.raw} raw`);
}
if (entry.consistency) {
Copy link
Contributor

@Leonabcd123 Leonabcd123 Dec 29, 2025

Choose a reason for hiding this comment

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

This will not show consistency when it's 0%. Let's use a more specific if statement:

if (entry.consistency != null)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The linter doesn't let me use !=, so I did a check on 0 instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants