DiamondLightSource / DiamondLightSource/sci-react-ui

Json Form renders are uppercasing titles.

Offen Anfängerfreundlich
#283 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
needs-triage
Vorherrschende Sprache
TypeScript
Sterne
8
Forks
3
Ø Merge
3 T. 15 Std.
Gemergte PRs (30 T.)
5

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
css, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
72/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.