Support custom units in NumberField
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15
- Forks
- 3
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 184
Description
Currently, the NumberField only allows an Intl.NumberFormat unit to be used as a visual indicator. However, mStudio uses the units MiB and GiB to represent storage space, and these cannot currently be displayed in the NumberField. Therefore, it would be useful to support these units, or more generally, to allow custom units to be freely defined.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the NumberField overview and its unit section, then locate the NumberField implementation and existing coverage. Define the change so custom units such as MiB and GiB can be displayed while existing Intl.NumberFormat units continue to work, and verify both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100