Skip to content

Add docs for how to use the shared utility helpers in new components #439

Description

@Chucks1093

Summary

The client has several shared utility helpers (address shortening, price formatting, handle truncation) but no documentation telling contributors they exist or how to use them. New contributors often reimplement the same logic inline instead of reaching for the shared utilities.

Scope

  • Add a utilities section to the contributor guide listing each shared helper, what it does, and where it lives
  • Include a short example for each helper showing input and output
  • Add a note that new formatting logic should go in the utils folder before being added inline to a component

Acceptance Criteria

  • All existing shared helpers are listed with descriptions
  • Each entry includes an input/output example
  • Contributor guide note discourages inline reimplementation

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions