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

Date Filter Width and Can we have from date and to date filter ? #32293

Open
oseverma opened this issue Feb 18, 2025 · 2 comments
Open

Date Filter Width and Can we have from date and to date filter ? #32293

oseverma opened this issue Feb 18, 2025 · 2 comments

Comments

@oseverma
Copy link

Image

At a glance, I can't see which dates are selected. And I need From Date , To Date filter, which a user can selected with minimum number of clicks.
How to get it in superset?

@rusackas
Copy link
Member

There are open SIPs about date picker redesign, but it's hard to align on these things. That said, the cut-off date does seem annoying. Not sure if @kasiazjc or @michael-s-molina or @mistercrunch have opinions about letting these filter displays have a more dynamic width (which could cause other layout issues).

@mistercrunch
Copy link
Member

mistercrunch commented Feb 21, 2025

Yeah I think a smarter and more dynamic/responsive horizontal filter bar would be great to have. Currently we do not use the real estate well. Clearly in the example above there's plenty of horizontal real estate to show the actual filter. We could really benefit from smarter use of flex and things like min-width/max-width/wrapping.

On the topic of magical/dynamic VS configurable by user, I'm all for automagical/dynamic/responsive over forcing/allowing the dashboard owner to adjust widths.

I'm pretty certain a flex/css wizard might be able to make things much better pretty easily here.

About dropdowns/<Select />, I believe our current antd v4 Select doesn't easily allow for a "dropdown is wider than trigger", and that antd v5 does allow for that. That migration to v5 should happen soon and help a bit support better usability in this area. At least would allow for the dropdown to not be as contained as the trigger.

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

No branches or pull requests

3 participants