Global `h1`, `h2` etc styles affect devtools styles
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 499
- フォーク
- 100
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 4
説明
TanStack Devtools version
v0.7.6
Framework/Library version
React v18.3.1
Describe the bug and the steps to reproduce it
We have some global styles on heading elements (don't ask... legacy 😅)
This makes the different panels unreadable on the dark background
(screenshot doesn't do it justice for how it looks "live" for some reason, but it illustrates the point).
The h3 already has a class plugin-title-container-tanstack-query-0, so in theory you should be able to set some light color to it?
If I disable our rule, it inherits the color of its parent
But that's less specific then an h3 rule apparently.
Note that beyond the title in the drawer, none of our other global resets seems to affect the devtools 👍
Btw, the template has a small error:
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
N/A
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、h1、h2、h3 のグローバルスタイルを適用した状態で TanStack Devtools v0.7.6 における問題を再現し、drawer のタイトルと既存のクラス plugin-title-container-tanstack-query-0 に焦点を当てます。完了の条件は、consumer の見出しスタイルが適用されていても、devtools の見出しが暗い背景上で読みやすいままであることです。報告されている template エラーも調査対象として記録します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- css, react, typescript
- 領域
- devtools, frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100