DiamondLightSource / DiamondLightSource/sci-react-ui

Json Form renders are uppercasing titles.

オープン 初心者向け
#283 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
needs-triage
主要言語
TypeScript
スター
8
フォーク
3
平均マージ
3日 15時間
マージ済み PR(30日)
5

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、Json Form renderer のスタイルと text-transform: capitalize を適用している CSS ルールを見つけます。ミリメートル (mm) などの測定単位を使用する renderer で変更を確認します。完了の条件は、タイトルがデフォルトで元の大文字・小文字を維持することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
css, typescript
領域
frontend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
72/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。