-
-
Notifications
You must be signed in to change notification settings - Fork 969
test: add coverage for active BreadcrumbItem with custom component #4462
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
test: add coverage for active BreadcrumbItem with custom component #4462
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
Deployment failed with the following error: |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Co-authored-by: simonguo <[email protected]>
|
Deployment failed with the following error: |
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
simonguo
left a comment
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.
LGTM
d72e776
into
fix/breadcrumb-item-props-forwarding
…rumbItem (#4450) * fix(Breadcrumb): forward props correctly when using as prop in BreadcrumbItem - Separate BoxProps and component props using extractBoxProps/omitBoxProps - BoxProps are applied to wrapper element to support layout properties - Component props (like 'to' for react-router Link) are forwarded to inner element - Align prop forwarding behavior with NavItem and DropdownItem - Add test cases for custom component prop forwarding and BoxProps support - Update composition docs to show direct react-router-dom usage Fixes #4427 * refactor(Breadcrumb): rename WrapperComponent to Wrapper in BreadcrumbItem (#4463) * Initial plan * refactor(Breadcrumb): rename WrapperComponent to Wrapper in BreadcrumbItem Co-authored-by: simonguo <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: simonguo <[email protected]> * test: add coverage for active BreadcrumbItem with custom component (#4462) * Initial plan * test: add test for active breadcrumb item with custom component Co-authored-by: simonguo <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: simonguo <[email protected]> --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: simonguo <[email protected]>
Addresses missing test coverage for active breadcrumb items using custom components via the
asprop. Whenactive={true}, the component renders a<span>instead of the custom component, but this behavior wasn't tested.Changes
asprop and render as<span>to,data-custom-link) are not applied when active✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.