mui / mui-x

MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
https://mui.com/x/
3.91k stars 1.19k forks source link

[data grid] Date selector in date column filter inconsistent with date picker component #12067

Open olivier-g74 opened 4 months ago

olivier-g74 commented 4 months ago

When I want to select a date Value in the filter modal after the Operator (is, is not, is after...), I have 2 options:

Basic Date Picker, which we use on the same page, has also a grey calendar icon with a day square, but on hover gets a circle focus, and when clicked offers a much nicer looking calendar in the color and theme of the rest of the components. image

Can the components Basic Date Picker be used as well in the filter modal to retain a similar style and experience overall? Thank you

Search keywords:

michelengelen commented 4 months ago

Thanks @olivier-g74 ... this is indeed an inconsistency we can prevent. I know that the team just recently had a discussion if an update to the filterpanel UI is overdue (sparked by @romgrk ✨).

I have put it on the board for the team to discuss! Thanks again! 🙇🏼

olivier-g74 commented 3 months ago

Dear Michel, Unfortunately the inconsistency still persists in v.7.1.0 (https://mui.com/x/react-data-grid/filtering/) Is there any specific timeline regarding streamlining the views across the different cases (base date pick component and date picker as filter or qualifier within other components). Thanks a lot for keeping us posted! image

michelengelen commented 3 months ago

Is there any specific timeline regarding streamlining the views across the different cases (base date pick component and date picker as filter or qualifier within other components).

Not yet unfortunately. We will keep posting updates here once we get to work on this. I fear that the filterPanel UI rework is a bit complex and might take a while longer. Sry!

cherniavskii commented 2 months ago

Hi @olivier-g74 You can use date and time pickers in the data grid following the recipe in https://mui.com/x/react-data-grid/custom-columns/#date-pickers