-
Notifications
You must be signed in to change notification settings - Fork 96
style(chatbot): Update protected message link styles and add unit tests #8709
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
Conversation
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
✅ Risk Level
✅ What & Why
✅ Impact of Change
✅ Test Plan
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | Title is clear; optionally include component name |
| Commit Type | ✅ | refactor is appropriate |
| Risk Level | ✅ | Low matches label and code changes |
| What & Why | ✅ | Clear and concise; optional expansion of token rationale |
| Impact of Change | ✅ | Well documented |
| Test Plan | ✅ | Unit tests added and verified in diff |
| Contributors | Add contributors or a short "none" note | |
| Screenshots/Videos | ✅ | Provided for both themes |
Final Message
All required PR sections are present and correct. The changes are small and focused (styling + unit tests) — the assigned risk Low is appropriate and I agree with it. The only minor suggestion is to populate the Contributors section (or explicitly say there are none). No other changes are required to the PR body or title.
Please update Contributors if applicable, then this PR is good to merge. Thank you for the clear PR and for adding tests!
Last updated: Tue, 20 Jan 2026 21:31:02 GMT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the styling for the protected message link in the chatbot UI, including color token standardization and selector syntax updates.
Changes:
- Replaced hardcoded green background color with a Fluent UI token (
colorPaletteGreenBorderActive) - Updated CSS selector syntax from
selectorsobject to&prefix notation - Added
outlineColor: transparentto the focus state for improved accessibility
|
📊 Coverage check completed. See workflow run for details. |
|
📊 Coverage check completed. See workflow run for details. |
Commit Type
Risk Level
What & Why
This PR improves the styling of the protected message link in the Copilot panel header and adds comprehensive unit tests for the
CopilotPanelHeadercomponent.Style Changes:
#387a25with Fluent UI design tokentokens.colorPaletteGreenBorderActivefor better theme consistencyselectors: {}pattern to modern Griffel&:hoverand&:focuspseudo-class syntax...shorthands.borderRadius()with directborderRadiusproperty assignmentTest Coverage:
panelheader.spec.tsxwith comprehensive coverage for theCopilotPanelHeadercomponentImpact of Change
Test Plan
Contributors
Screenshots/Videos
Light theme
CleanShot.2026-01-20.at.15.47.39.mp4
Dark theme
CleanShot.2026-01-20.at.15.47.21.mp4