Skip to content

Add ability to filter project list by columns in a grid view #2804

@maxceem

Description

@maxceem

From Connect - UI/UX Enhancements ducument.

  1. Remove “Filters” bar at the top (it is not helpful).

    image

  2. Instead, each column should be filterable/sortable, per the callouts below. Idea is similar to how filtering in Excel works in each column.

    • ID Column: Should be filterable. User can type in a full ID or a portion (Ex. “55..) and all results matching that ID should be filtered.
    • Project: Project name should be filterable. User can type in a full name or a portion (Ex. Eaton…) and all results matching that name should be filtered.
    • *NEW: Reference Code/Tag: Should be filterable. User can type in a full code/tag or a portion (Ex. Zur…) and all results matching that name should be filtered. This column should be added as described in this issue Add reference code as a column to the project list in a grid view #2803.
    • Last Updated: No changes - keep as is.
    • Customer: Customer name should be filterable. User can type in a full name or a portion (Ex. Jim…) and all results matching that name should be filtered.
    • Managers: Managers should be filterable. User can type in a name/handle and all results matching that should be filtered.

Implementation notes

  • For design of the filter for columns we can use the same drodown like for Last Updated sorting:

    image

    But instead of the list of options to sort we can show one input field where we can type some portion of the text to filter by.

  • Filtering should be live. During typeing we automatically make request to the server for filtered data. But these requests should be debounced. We already include lodash lib which has _.debounce() method.

  • Currently, when we load project list or filter project by status the whole project list got hidden, see screencast: https://monosnap.com/file/gKUaHdp7FurvOHXuCcLnKW1isU82Ui

    • We have to change this behaviour and show table header all the time with loader animation during loading project list, filtering by status or filtering in columns.

Project Service support

For now project service doesn't support such way of filtering by parts of the text. We should implement it there before we can complete this issue.

fyi @vikasrohit

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions