Skip to content
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

feat(ChipsSelect): add prop sortFn #8119

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

EldarMuhamethanov
Copy link
Contributor


  • Unit-тесты
  • Release notes

Описание

Нужно добавить свойство sortFn для кастомной сортировки опций в списке компонента ChipsSelect

Изменения

  • Добавил свойство sortFn для использования кастомной сортировки опций в списке

Release notes

Улучшения

  • ChipsSelect: Добавлено свойство sortFn, которое позволяет сортировать опции на основании значения в поле ввода

@EldarMuhamethanov EldarMuhamethanov self-assigned this Dec 23, 2024
@EldarMuhamethanov EldarMuhamethanov requested a review from a team as a code owner December 23, 2024 12:44
Copy link
Contributor

github-actions bot commented Dec 23, 2024

size-limit report 📦

Path Size
JS 392.33 KB (+0.03% 🔺)
JS (gzip) 119 KB (+0.05% 🔺)
JS (brotli) 97.85 KB (+0.04% 🔺)
JS import Div (tree shaking) 1.56 KB (0%)
CSS 343.23 KB (0%)
CSS (gzip) 42.55 KB (0%)
CSS (brotli) 33.92 KB (0%)

Copy link

codesandbox-ci bot commented Dec 23, 2024

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.

Copy link
Contributor

github-actions bot commented Dec 23, 2024

e2e tests

Playwright Report

Copy link
Contributor

github-actions bot commented Dec 23, 2024

👀 Docs deployed

Commit 0a98d90

Copy link

codecov bot commented Dec 23, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 95.50%. Comparing base (c059b04) to head (0a98d90).
Report is 23 commits behind head on master.

Files with missing lines Patch % Lines
.../vkui/src/components/ChipsSelect/useChipsSelect.ts 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8119      +/-   ##
==========================================
- Coverage   95.55%   95.50%   -0.05%     
==========================================
  Files         398      398              
  Lines       11332    11374      +42     
  Branches     3733     3751      +18     
==========================================
+ Hits        10828    10863      +35     
- Misses        504      511       +7     
Flag Coverage Δ
unittests 95.50% <66.66%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@andrey-medvedev-vk andrey-medvedev-vk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 👏 👏 👏

@vkcom-publisher vkcom-publisher added the pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности label Jan 5, 2025
@EldarMuhamethanov EldarMuhamethanov removed the pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности label Jan 10, 2025
Co-authored-by: Inomdzhon Mirdzhamolov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants