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

Extend search functionality for Autosuggest component #3347

Open
MagdalenaLarge opened this issue Sep 13, 2024 · 0 comments · May be fixed by #3288
Open

Extend search functionality for Autosuggest component #3347

MagdalenaLarge opened this issue Sep 13, 2024 · 0 comments · May be fixed by #3288
Assignees
Labels
Community backlog An issue raised on the community backlog Component A component in the ONS Design System High priority IDS In Development To make the issue appear in 'working on now' on the Service Manual

Comments

@MagdalenaLarge
Copy link

As IDS Developer
I want to increase the number of characters in Autosuggest component
So that search performed by my users includes all the characters which are after 20 (which is current limit)

Description
IDS Team highlighted to us a need for the different approach in Autosuggest component. The current limit of 20 characters doesn't allow IDS users to perform correct search in the organisation field. As per accessibility guidance, they adding the abbreviations of the organisations at the end of the sting. Based on their UR majority of the users will search by using the abbreviations, but current set up of the component do not allow it especially that the longest string of characters they need is 86.
A new variant of the Autosuggest component would give users flexibility in setting up the parameter determining the length of characters as per their needs within the limit 0-1, where 0.2 = 20 characters and 0.6 = 60 characters.
Number of hits presented to the users will stay the same = 10.

Acceptance Criteria

  1. Parameter limiting the number of characters during fuzzy search is editable for the users.
  2. User can only set up value between 0-1.
  3. Autosuggest search is adjusting the search based on the parameter set up. If parameter is 0.3 only 30 characters is available, but if user changes to 0.5 search will include 50 characters.
  4. Documentation how to use this new functionality is added to Service Manual.

Visualisation/Input from UCD
N/a

Linked User stories/epics
Community backlog comment #894 (comment)

Technical details (optional)

MVP (optional)

@MagdalenaLarge MagdalenaLarge added Component A component in the ONS Design System Community backlog An issue raised on the community backlog IDS Refine To be refined Upcoming To make the issue appear in 'working on later' on the Service Manual and removed Upcoming To make the issue appear in 'working on later' on the Service Manual labels Sep 13, 2024
@MagdalenaLarge MagdalenaLarge added High priority and removed Refine To be refined labels Sep 20, 2024
@MagdalenaLarge MagdalenaLarge added the In Development To make the issue appear in 'working on now' on the Service Manual label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community backlog An issue raised on the community backlog Component A component in the ONS Design System High priority IDS In Development To make the issue appear in 'working on now' on the Service Manual
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants