refactor(Select): remove IsFixedSearch parameter#5660
Conversation
# Conflicts: # src/BootstrapBlazor/Components/Select/SelectBase.cs
Reviewer's Guide by SourceryThis pull request removes the No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey @ArgoZhang - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider removing the obsolete properties entirely instead of just marking them as obsolete.
- Verify that the removal of
IsFixedSearchdoes not introduce any accessibility issues.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5660 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 654 654
Lines 29576 29542 -34
Branches 4208 4204 -4
=========================================
- Hits 29576 29542 -34 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Link issues
fixes #5659
Summary By Copilot
This pull request focuses on removing the
IsFixedSearchfeature from various components and updating related code and documentation. The most important changes include the removal ofIsFixedSearchfrom theMultiSelectandSelectcomponents, updates to localization files, and marking theIsFixedSearchWhenSelectproperty as obsolete.Removal of
IsFixedSearchfeature:src/BootstrapBlazor.Server/Components/Samples/MultiSelects.razor: Removed all instances ofIsFixedSearchfrom theMultiSelectcomponent. [1] [2] [3] [4] [5]src/BootstrapBlazor.Server/Components/Samples/Selects.razor: Removed all instances ofIsFixedSearchfrom theSelectcomponent. [1] [2] [3] [4]src/BootstrapBlazor.Server/Components/Samples/MultiSelects.razor.cs: Removed the_isFixedSearchfield and its related attribute. [1] [2]src/BootstrapBlazor.Server/Components/Samples/Selects.razor.cs: Removed the_isFixedSearchfield and its related attribute. [1] [2]Localization updates:
src/BootstrapBlazor.Server/Locales/en-US.json: Removed theIsFixedSearchattribute description from the English localization file. [1] [2]src/BootstrapBlazor.Server/Locales/zh-CN.json: Removed theIsFixedSearchattribute description from the Chinese localization file. [1] [2]Marking
IsFixedSearchWhenSelectas obsolete:src/BootstrapBlazor/Attributes/AutoGenerateColumnAttribute.cs: Marked theIsFixedSearchWhenSelectproperty as obsolete.src/BootstrapBlazor/Components/EditorForm/EditorItem.cs: Marked theIsFixedSearchWhenSelectproperty as obsolete.src/BootstrapBlazor/Components/EditorForm/IEditorItem.cs: Marked theIsFixedSearchWhenSelectproperty as obsolete.src/BootstrapBlazor/Components/Filters/LookupFilter.razor.cs: Marked theIsFixedSearchproperty as obsolete.src/BootstrapBlazor/Components/Filters/TableFilter.razor: Removed theIsFixedSearchattribute from theLookupFiltercomponent.Codebase simplification:
src/BootstrapBlazor/Components/Select/MultiSelect.razor: Simplified theDropdownMenuClassStringproperty. [1] [2] [3]src/BootstrapBlazor/Components/Select/MultiSelect.razor.scss: Updated the CSS to remove references to fixed search height.src/BootstrapBlazor/Components/Select/Select.razor: Simplified the dropdown menu class.Regression?
Risk
Verification
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Removes the
IsFixedSearchfeature from theMultiSelectandSelectcomponents, simplifying the codebase and updating related documentation and localization files. TheIsFixedSearchWhenSelectproperty is marked as obsolete.Enhancements:
IsFixedSearchproperty from theMultiSelectandSelectcomponents.Tests:
IsFixedSearchproperty.