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

Ticket filters: filters bar component #5188

Open
3 tasks
sanmont3drepo opened this issue Oct 2, 2024 · 0 comments
Open
3 tasks

Ticket filters: filters bar component #5188

sanmont3drepo opened this issue Oct 2, 2024 · 0 comments

Comments

@sanmont3drepo
Copy link
Contributor

sanmont3drepo commented Oct 2, 2024

Description

Product issue: https://github.com/3drepo/3D-Repo-Product-Team/issues/521
We want to provide more powerful filters for tickets (also reusable for drawings). For this we need a a filters bar in which you can add filters and show the applied filters.
This filters bar can collapse or expand. When is collapsed the user cant see one line of filters (represented as pills) but if the filters how beyond that a button with "show more" shows up and when clicking that the filters bars exppands to show everything. The user can click "clear all" to clear the whole filters section.

  • The idea is to provide a general component that will take in a value of filters (like an input) and be able to delete individual filters/all collapse and expand.
  • So at this stage the filters are not added through the actual bar with the magnifying glass but as a prop value
  • The fillter pills should be a different component that would somehow make the the bar be aware that you want to delete them? (maybe a filters context?)

Goals

  • I want to have a general search component to reuse

Tasks

  • Create a Filter Bar component which contains the filter pills
  • Create the filters pills

Suggestion

  • Provide an input interface like value/onChange, etc so we can use it in the same manner as other inputs
  • Create its own context (filtersContext?)

Related Resources

MockUp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants