mi6 / mi6/ic-ui-kit

Internal issue 3091 - Addition of grouping in search bar results

Open
#3,886 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
53
Forks
63
Avg merge
2d 4h
Merged PRs (30d)
15

Description

*Summary:*

Addition of grouping within search results in the search component.

*Description:*

Within the search bar component, there is currently no way to search results that have been grouped. It is possible to group these items, in a similar way to how grouping is carried out in the select components. However, when searching, only the group label can be searched for, and not the children labels. It would be good to implement this to allow for the child items to be searchable, like it is in the select component with grouping and search (See attached).

*User value:*

This would allow for a cleaner implementation of large scale searching.

*Acceptance Criteria:*

Given a user types in a search query

When there are two similarly named results in different groups

Then the results should be displayed in their relative groups.

*Urgency:*

Medium

Contributor guide

Open the contributing guide

Research direction

Start with the search bar component and compare its grouping and search behavior with the select components, which already support grouped searchable items. Done means child labels can be searched and similarly named results are displayed within their relative groups.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.