Story 1.0.12.2. CRM. Filter component. Simple select

Content

General info

Feature: Simple Select Filter Component

Purpose: Allows users to filter items based on a single-select dropdown menu.

User story

As a CRM user,
I want a simple select dropdown filter component,
so that I can easily filter items by selecting a specific status.

Visual design:

https://www.figma.com/design/I5CXH7H3ICD0vfA1kPbcVf/Rocken-Design?node-id=57381-23679&t=aLfLqWjgjni4WYGn-4

#

Acceptance Criteria

01

Scenario: Display of options in the dropdown
Given the user is on a page with the status filter
When they click on the dropdown menu
Then they should see a list of available status options, such as "New," "On hold," "Active," and "Inactive."

image-20241112-075407.png

02

Scenario: Selection of a status
Given the dropdown menu is expanded
When the user selects a status from the list
Then the selected status should appear in the input field, and the filter should be applied.

03

Scenario: Closing the dropdown with Esc
Given the dropdown is open
When the user presses the "Esc" key
Then the dropdown should close without selecting a status.

04

OOS Scenario: Clearing the selected status
Given a status is selected
When the user clicks on "Clear"
Then the selected status should be removed, and the filter should reset.

05

OOS Scenario: Keyboard interaction
Given the dropdown is open
When the user navigates using the arrow keys and presses "Enter" on a status
Then the selected status should be applied, and the dropdown should close.

Comments

Leave a Reply