liferay.design icon indicating copy to clipboard operation
liferay.design copied to clipboard

Management Toolbar - date filter

Open crcarlo opened this issue 5 years ago • 1 comments

Is your feature request related to a problem? Please describe. Curretly there is no date filter in the management toolbar.

Describe the solution you'd like A possible implementation of this feature might be a button (with calendar icon) in the left part of the toolbar, toghether with the other filtres, which opens a popover that allows the selection of start and end dates (I'll leave here an implementation example for reference https://airbnb.io/react-dates/?path=/story/daterangepicker-drp--default).

Describe alternatives you've considered Another option might be to add two date input fields in the "Filter and Order" dropdown with a start and end date in a section dedicated for this filter called "FILTER BY DATE".

crcarlo avatar Oct 14 '19 12:10 crcarlo

Hi! @crcarlo

My apologies, I was on vacation for almost three weeks and the last one we were attending to the Liferay Symposium in Madrid.

We allow adding new filters, so the initial place for this feature could be, as you said in your alternative solution, as a filter by date within the filter and order dropdown.

In the same way, the solution you would like to have. It can be another option. We don't have it as part of the component but the design we requested for the MT is flexible.

Therefore we don't block developers to expand the default behavior (see MT extension points) with new features and also we allow designers to find a specific solution for a scenario not provided for us.

So as you described in your solution you could have a new filter on the left of the input search (see MT in Clay Storybook).

cc\ @matuzalemsteles @bryceosterhaus

drakonux avatar Oct 29 '19 13:10 drakonux