Skip to content

feat(username): add search text function with examples (#DS-5132)#1664

Merged
NikGurev merged 6 commits into
mainfrom
feat/DS-5132
Jul 2, 2026
Merged

feat(username): add search text function with examples (#DS-5132)#1664
NikGurev merged 6 commits into
mainfrom
feat/DS-5132

Conversation

@NikGurev

Copy link
Copy Markdown
Contributor

No description provided.

@NikGurev NikGurev self-assigned this Jun 27, 2026
@NikGurev NikGurev requested a review from lskramarov as a code owner June 27, 2026 08:05
@NikGurev NikGurev added the documentation Improvements or additions to documentation label Jun 27, 2026
@NikGurev NikGurev requested review from artembelik and rmnturov June 27, 2026 08:05
@github-actions

github-actions Bot commented Jun 27, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit fe1f91f):

https://koobiq-next--prs-1664-c4djm9p8.web.app

(expires Tue, 07 Jul 2026 07:39:43 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new documentation example demonstrating username list filtering by displayed full name and substring highlighting, and wires it into the docs/examples registry and dev showcase for the username component.

Changes:

  • Added UsernameSearchExample showcasing a search input, filtering via KbqUsernamePipe, and highlighting via kbqHighlightBackground.
  • Registered the new example in the docs examples index and the username dev module template.
  • Updated username docs (EN/RU) with a new “Search and highlight” section referencing the example.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
packages/docs-examples/components/username/username-search/username-search-example.ts New docs example implementing filtering + highlight rendering for usernames.
packages/docs-examples/components/username/index.ts Exposes and registers the new example in the docs examples module/index.
packages/components/username/username.ru.md Adds RU docs section and embeds the new example.
packages/components/username/username.en.md Adds EN docs section and embeds the new example.
packages/components-dev/username/module.ts Adds the new example to the dev showcase template.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rmnturov

Copy link
Copy Markdown
Contributor

@NikGurev а в выпадашке filter pipe будет возможность применять твоё решение по подсветке комплексного поля Username

@NikGurev

NikGurev commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@NikGurev а в выпадашке filter pipe будет возможность применять твоё решение по подсветке комплексного поля Username

фильтрация и подсветка будут работать, да, добавил пример. Но отображение в триггере из коробки не закастомить сейчас .

И изначальный запрос я получается не совсем выполнил. UsernamePipe.transform выдает не все данные из user Info

@NikGurev NikGurev marked this pull request as draft June 30, 2026 13:18
@NikGurev

Copy link
Copy Markdown
Contributor Author

@lskramarov @rmnturov @artembelik

добавил функцию, которая собирает все поля и отображает по заданному формату. Формат соответствует дефолтному отображению в username, его можно кастомить

Примеры обновил.

У меня правда некорректно работает кастомное отображение опций в filter bar (см скриншот) .

image

@NikGurev NikGurev marked this pull request as ready for review June 30, 2026 15:14
@lskramarov

Copy link
Copy Markdown
Contributor

У меня правда некорректно работает кастомное отображение опций в filter bar (см скриншот) .

да, чет со второго раза опции появляются.. либо в примере не синхронизируется стейт, либо баг в фильтр баре, посмотри пример и если что закинь баг

@NikGurev NikGurev changed the title feat(docs): username filter and search highlight (#DS-5132) feat(username): add build search text function with examples (#DS-5132) Jul 1, 2026
@NikGurev NikGurev changed the title feat(username): add build search text function with examples (#DS-5132) feat(username): add search text function with examples (#DS-5132) Jul 1, 2026
@NikGurev

NikGurev commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

да, чет со второго раза опции появляются.. либо в примере не синхронизируется стейт, либо баг в фильтр баре, посмотри пример и если что закинь баг

@lskramarov DS-5263

@NikGurev NikGurev added the enhancement New feature or request label Jul 2, 2026
@NikGurev NikGurev merged commit 87d95aa into main Jul 2, 2026
8 checks passed
@NikGurev NikGurev deleted the feat/DS-5132 branch July 2, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants