DiamondLightSource / DiamondLightSource/sci-react-ui
Json Form renders are uppercasing titles.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 3
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 5
Description
Bug Report
Summary
Json Form renders are uppercasing titles. It likely shouldn't be doing it by default. It's particularly bad when a measurement unit is provided, e.g. millimetres (mm) becomes MM.
Expected behaviour
Don't uppercase
Actual behaviour
They uppercase.
Steps to reproduce
- Use json renderers
Screenshots or visual evidence (if applicable)
Environment
Additional context
That happens through a CSS directive. text-transform: capitalize; - you can overright these with css, but its normal behaviour should be do-nothing.
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 by locating the Json Form renderer styles and the CSS rule applying text-transform: capitalize. Verify the change with a renderer using a measurement unit such as millimetres (mm); done means titles preserve their original casing by default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100