-
Notifications
You must be signed in to change notification settings - Fork 161
feat: add index control in the select component #269
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
|
Cool |
|
/oc can you generate a test suite for the select component, covering the basics like we do for the Slider or Input for example? |
|
The test file looks well-structured and follows the same patterns as the existing test files. Here's a summary of what I've created: Generated Test Suite for Select ComponentI've created a comprehensive test suite at Test Coverage Includes:
Key Features:
The test suite is ready to run with |
Co-authored-by: kommander <kommander@users.noreply.github.com>
|
/oc there is a test failing in the pipeline for this PR, check it. can you make sure we clamp the index from the given config to length-1 of the options? |
SummaryI've successfully identified and fixed the failing test in the pipeline related to index control in the Select component. Here's what was done: Issues Found
Fixes Applied1. Fixed Constructor (
|
Co-authored-by: kommander <kommander@users.noreply.github.com>
|
/oc one more test failing. Check it. moveUp is emitting the event even though the actual selection did not change. moveDown does the same basically. Just leave it like that and adjust the test expectation to current behaviour for now. |
SummaryI've successfully updated the test expectations for the Select component to match the current behavior where Changes Made:
The changes align with the current implementation behavior where the |
Co-authored-by: kommander <kommander@users.noreply.github.com>



Issue #229