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

feat(i18n): use compact number format on actions #683

Merged
merged 2 commits into from
Jan 1, 2023

Conversation

userquin
Copy link
Member

@userquin userquin commented Jan 1, 2023

Added compact number format for replies, rebloged and favourites actions.

https://streamable.com/ctyqsd

https://streamable.com/49ep6a

@stackblitz
Copy link

stackblitz bot commented Jan 1, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Jan 1, 2023

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit 1ce0515
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/63b1fd714bf76900094d4324
😎 Deploy Preview https://deploy-preview-683--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

const favouritesCount = $computed(() => formatNumber(status.favouritesCount))
const favouritesCountHR = $computed(() => formatHumanReadableNumber(status.favouritesCount))
const favouritesCountSR = $computed(() => forSR(status.favouritesCount))

Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should have all these computed inlined in the template. We dont win much with extracting them and forces us to name them

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@patak-dev patak-dev merged commit b8c7ed8 into main Jan 1, 2023
@patak-dev patak-dev deleted the userquin/feat-status-action-btn-number-format branch January 1, 2023 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants