Global `h1`, `h2` etc styles affect devtools styles
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 499
- Fork
- 100
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 4
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện vấn đề trong TanStack Devtools v0.7.6 với các kiểu toàn cục cho h1, h2 và h3, tập trung vào tiêu đề drawer và class hiện có plugin-title-container-tanstack-query-0. Hoàn thành có nghĩa là các tiêu đề của devtools vẫn dễ đọc trên nền tối mặc dù có các kiểu tiêu đề của consumer; lỗi template được báo cáo cũng được ghi nhận để điều tra.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- css, react, typescript
- Lĩnh vực
- devtools, frontend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100