Skip to content

fix: quick-ref CSS snippet meaningful values + slot styling guidance#161

Merged
himerus merged 2 commits intodevfrom
feature/enhance-quick-ref
Mar 21, 2026
Merged

fix: quick-ref CSS snippet meaningful values + slot styling guidance#161
himerus merged 2 commits intodevfrom
feature/enhance-quick-ref

Conversation

@himerus
Copy link
Contributor

@himerus himerus commented Mar 21, 2026

Summary

This is the first tool agents call before writing code — making its output correct prevents hallucinations at the source.

Test plan

  • 4 new tests: no initial values, slot styling section, bare component skip, CEM defaults
  • All 23 quick-ref tests pass
  • TypeScript: clean
  • Prettier: clean

🤖 Generated with Claude Code

himerus and others added 2 commits March 21, 2026 02:55
…', adds slot styling

- Replace misleading 'initial' placeholder in CSS property examples with heuristic values
- Use CEM default values when available for more accurate examples
- Add slot styling section to CSS snippet showing correct light DOM CSS patterns
- Named slots get [slot="name"] selector examples, default slot gets > * selector
- 4 new tests: no initial, slot section, no slot for bare, CEM defaults

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Mar 21, 2026

Warning

Rate limit exceeded

@himerus has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 12 minutes and 17 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 11148376-3b06-409b-9750-0ffa4586a996

📥 Commits

Reviewing files that changed from the base of the PR and between 0be3991 and 87a1c86.

📒 Files selected for processing (3)
  • .changeset/enhance-quick-ref.md
  • packages/core/src/handlers/quick-ref.ts
  • tests/handlers/quick-ref.test.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/enhance-quick-ref

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@himerus himerus merged commit d294078 into dev Mar 21, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant