fix(configurator): refresh probe host in ShadeRamp so swatches resolve against live cascade - #388
Conversation
|
Warning Review limit reached
More reviews will be available in 28 minutes and 50 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses rolling per-developer review limits. Reviews become available again as older review attempts age out of the rolling limit window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Motivation
Description
setProbeContext({ overrides, theme: ui.previewTheme })fromconfigurator/src/components/ShadeRamp.sveltebefore callingmeasureBackground()so the probe host carries the live framework declarations.measureBackground()logic and populateresolvedas before so visual behaviour is unchanged in browsers.configurator/tests-components/shade-ramp.test.jsthat assert the ramp renders six rows × seven swatches and that the probe-host style block is refreshed for overrides and the dark preview theme.fix(configurator): align shade ramp probe with live framework cascade.Testing
npm run test:componentsand all component specs passed (5 test files, 24 tests passed).npm run check && npm run buildinsideconfiguratorwhich completed successfully (Svelte warnings remained but no errors).npm run build) and syncing the configurator data during the run.Codex Task