DiamondLightSource / DiamondLightSource/sci-react-ui

Json Form renders are uppercasing titles.

Open Beginner friendly
#283 0 comments 0 reactions 0 assignees View on GitHub
needs-triage
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)

Image

## 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.