Skip to content

Add formatHolderCount helper for compact holder display.#465

Merged
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
Yormee-103:feat/438-format-holder-count
Jun 26, 2026
Merged

Add formatHolderCount helper for compact holder display.#465
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
Yormee-103:feat/438-format-holder-count

Conversation

@Yormee-103

Copy link
Copy Markdown
Contributor

Summary

This batch covers four contributor and UX improvements across docs, formatting, empty states, and test coverage:

Closes #439 — Added a Shared utility helpers section to CONTRIBUTING.md documenting address shortening, URL/handle/price formatting helpers with input/output examples, and a note to add new formatting logic in src/utils/ instead of inline in components.

Closes #441 — Added integration tests for Change24hBadge direction indicators (up/down/none for positive, negative, and zero change) and fixed zero-change behavior so it no longer shows the minus icon.

Closes #440 — Added EmptyCreatorList for zero-result creator searches with a readable message and Clear search button; wired it into LandingPage with component and landing-page tests.

Closes #438 — Added formatHolderCount() in numberFormat.utils.ts for compact holder counts (999, 1.2K, 2.4M) with unit tests for each range and boundary values at 1,000 and 1,000,000.
Test plan

Testing

  • pnpm lint
  • pnpm build

Checklist

  • Linked issue or backlog item
  • Scope is limited to the stated change
  • Updated docs if behavior or setup changed
  • Added screenshots for UI changes when relevant

Closes accesslayerorg#438 by formatting counts under 1K as plain strings and larger values with one-decimal K/M suffixes, with unit tests for each range and boundary values.

Co-authored-by: Cursor <cursoragent@cursor.com>
@drips-wave

drips-wave Bot commented Jun 25, 2026

Copy link
Copy Markdown

@Yormee-103 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093 Chucks1093 merged commit 8f6b446 into accesslayerorg:dev Jun 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants