fix: hidden sort filter when searching model #6246
Merged
+47
−44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe Your Changes
This pull request makes improvements to the filtering logic and UI rendering in the
Hubpage of the web app. The main changes include refining how downloaded models are filtered and optimizing the display of the filter dropdown based on user input.Filtering logic improvements:
UI rendering optimizations:
renderFilterfunction so that the filter dropdown menu is only rendered when the search input is empty, streamlining the user interface.Fixes Issues
Self Checklist
Important
Improves filtering logic and UI rendering in
Hubto show only models with quantized variants and render filter dropdown based on search input.Hubto show only models with available quantized variants.renderFilterinindex.tsxto render filter dropdown only when search input is empty.This description was created by
for 1ad2907. You can customize this summary. It will automatically update as commits are pushed.