DiamondLightSource / DiamondLightSource/sci-react-ui
Json Form renders are uppercasing titles.
- 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
1. 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
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