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

fix(llm): improve readability of supply info in the market #6842

Merged
merged 1 commit into from
May 13, 2024

Conversation

LucasWerey
Copy link
Contributor

@LucasWerey LucasWerey commented May 13, 2024

βœ… Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • Market
    • Coin Supply Info

πŸ“ Description

Improvement of the readability of the data in the supply info section for the coin. Add "." or "," or " " every 3 digits and ticker name at the end.

Before After
image image

image
image

❓ Context


🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@LucasWerey LucasWerey requested a review from a team as a code owner May 13, 2024 10:01
Copy link

vercel bot commented May 13, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-docs ⬜️ Ignored (Inspect) Visit Preview May 13, 2024 1:19pm
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview May 13, 2024 1:19pm
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview May 13, 2024 1:19pm
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview May 13, 2024 1:19pm
web-tools ⬜️ Ignored (Inspect) Visit Preview May 13, 2024 1:19pm

@live-github-bot live-github-bot bot added the mobile Has changes in LLM label May 13, 2024
return `${formattedValue} ${upperCaseTicker}`.trim();
}

return value + "";
Copy link
Contributor

Choose a reason for hiding this comment

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

value + ""; We can't justy do return value ; ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

counterValueFormatter is typed to return a string only I can update it to return a string or a number but I am not sure if it's what we want

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It might be better to keep only one type since it will mainly returns a string instead of just a number Lmk

@LucasWerey LucasWerey merged commit 220d921 into develop May 13, 2024
37 checks passed
@LucasWerey LucasWerey deleted the fix/LIVE-8659 branch May 13, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Has changes in LLM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants