fix(query-devtools/Devtools): correct the Theme sub-trigger className from 'position' to 'theme'#10811
fix(query-devtools/Devtools): correct the Theme sub-trigger className from 'position' to 'theme'#10811sukvvon wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThis PR fixes a CSS class name for the Devtools settings Theme sub-trigger, updating component and tests to use ChangesTheme sub-trigger CSS class correction
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit eca1d82
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview2 package(s) bumped directly, 23 bumped as dependents. 🟩 Patch bumps
|
… from 'position' to 'theme'
eca1d82 to
520463b
Compare
size-limit report 📦
|
🎯 Changes
The Theme sub-trigger in the devtools settings menu carried the marker class
tsqd-settings-menu-sub-trigger-position— the same class the Position sub-trigger already uses (Devtools.tsx:1114vsDevtools.tsx:1195). Both sub-triggers therefore matched any consumer rule targeting.tsqd-settings-menu-sub-trigger-position, and.tsqd-settings-menu-sub-trigger-themematched nothing at all, so the two sub-triggers could not be styled independently from user CSS.Rename the Theme sub-trigger's marker class to
tsqd-settings-menu-sub-trigger-theme, lining it up with the existing-positionand-disabled-queriesmarkers (each derived from the sub-trigger's visible label).Also tighten the two
settings menucases that exercise the Theme sub-trigger:.tsqd-settings-menu-sub-triggerelement and filter bytextContentbecause the class collision made a direct selector ambiguous. With the marker class fixed, both cases now query.tsqd-settings-menu-sub-trigger-themedirectly..tsqd-settings-menu-sub-trigger-position, so a future revert that puts the class back on Theme would fail loudly here instead of silently re-collapsing the two triggers.✅ Checklist
🚀 Release Impact
Summary by CodeRabbit