-
-
Notifications
You must be signed in to change notification settings - Fork 162
feat: implement BFormRating disabled state (#2753) #2793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
WalkthroughA Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant BFormRating
participant UI
User->>BFormRating: Tries to interact (click/star/clear)
alt disabled or readonly
BFormRating-->>User: Ignore interaction
BFormRating-->>UI: Show disabled visual state
else enabled
BFormRating->>BFormRating: Update rating
BFormRating-->>UI: Update active star(s)
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15 minutes Possibly related PRs
Suggested reviewers
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (8)
🧰 Additional context used🧠 Learnings (8)📓 Common learnings
apps/docs/src/docs/components/form-rating.md (1)Learnt from: dwgray packages/bootstrap-vue-next/src/types/ComponentProps.ts (3)Learnt from: xvaara Learnt from: dwgray Learnt from: VividLemon packages/bootstrap-vue-next/src/components/BFormRating/BFormRating.spec.ts (1)Learnt from: dwgray apps/docs/src/docs/components/demo/RatingCustomIcon.vue (2)Learnt from: unstoppablecarl Learnt from: dwgray apps/docs/src/docs/components/demo/RatingDisabled.vue (1)Learnt from: dwgray packages/bootstrap-vue-next/src/components/BFormRating/_form-rating.scss (1)Learnt from: unstoppablecarl packages/bootstrap-vue-next/src/components/BFormRating/BFormRating.vue (3)Learnt from: dwgray Learnt from: xvaara Learnt from: xvaara 🔇 Additional comments (17)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Describe the PR
Implemented the BFormRating component disabled state and updated the docs accordingly.
Contributor: Farzan Zaheer - https://github.com/farzanzaheer
PR checklist
What kind of change does this PR introduce? (check at least one)
fix(...)
feat(...)
fix(...)
docs(...)
The PR fulfills these requirements:
CHANGELOG
is generated from these messages, and determines the next version type. Pull requests that do not follow conventional commits or do not have an override will be deniedSummary by CodeRabbit
New Features
Style
Bug Fixes
Documentation
Tests