Skip to content

[CAD/Project File Reviews] - filter and search functionality #3392

@chpy04

Description

@chpy04

Description

We need a way to search by and filter for parts on a project's part page. These two features will look like:
Image
When the filter icon is clicked, it should show three inputs for review status, reviewer, and assignee on the row below. These are not in the epic, so make them look like they fit with the page. The review status should show a dropdown where any of the reviews can be selected, and the reviewer and assignees should use a searchbox to search by name, and select users from a dropdown that matches that name. When these filters are selected, only parts that match the filter criteria should appear. Additionally, the search box should search on the filtered results, and only show the results that match what has been typed in so far.

Acceptance Criteria

  • There exists a search box (empty by default) that can be used to produce only parts which match the search, after being applied to the search
  • If the filters are clicked, there should be three inputs to select the status, reviewer name, and assignee name, all of which are pre-set to all. The review status has a drop-down that hows all the status's, while the name inputs have a search component that allows users to select names that match their search
  • As these fields are updated, the parts that are shown on the page dynamically react to only show those that apply to the filters

Proposed Solution

For the drop-down for status, use a menu component. To search by name, use the autocomplete component.

Mocks

No response

Metadata

Metadata

Assignees

Labels

staleHasn't been updated in a while

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions