question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Filter Button [Apply] Position

See original GitHub issue

I’ve been working with some data that has big company names and noticed that when someone apply several filters (on the same column) the button apply disappear because it is located on the Chart’s bottom.

I change the position to bellow the drop-down button, but it still not good (visually), and would be a lot better to be in the left of the drop-down button. I’m trying to do this, but it’ll take some time because i don’t know React YET…

Current Modification

I just wrote a css to set a class with

margin-left: auto;
margin-right: 0;
display: block;

and added the class to the Filter Button. Modified

Expected results

I thin it would be really good to have like the image bellow, better to view and without that problem. Desired

Actual results

Now, with the current way, after selecting a set of filters, it can’t be applied because the button is hidden. Current Result

How to reproduce the bug

  1. Go to any dashboard
  2. Choose any filter slice and configure it to have the apply button.
  3. Select enough filters to hide the apply button

Environment

  • superset version: 0.999.0dev
  • python version: Python 3.6.9
  • node.js version: v10.16.3
  • npm version: 6.9.0

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven’t found one similar.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mistercrunchcommented, Oct 7, 2019

Somewhat related: the overflow on this component is tricky because the dropdowns containers themselves should scroll, but when the dropdown gets opened-up, it should probably overflow over (not scroll)

1reaction
mistercrunchcommented, Nov 20, 2019

I also sank some time trying to solve this CSS puzzle without success. Solution might be in the dashboard-native filter on the roadmap.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filter Button [Apply] Position · Issue #8348 · apache/superset
I've been working with some data that has big company names and noticed that when someone apply several filters (on the same column)...
Read more >
Where should I put the Filter button on the top or bottom of ...
Usually, for websites on browsers, the filters will always be on the right side of the screen. It helps to user to navigate...
Read more >
Filter Button - Dribbble
Discover 1 Filter Button design on Dribbble. ... Side Panel Detail - New Countly UI analytics app application button clean ui dashboard design...
Read more >
Filter data in a range or table - Microsoft Support
Filter a range of data. Select any cell within the range. Select Data > Filter. Filter button. Select the column header arrow Filter...
Read more >
Tableau 2020 - Apply All Filter Button - YouTube
This video shows how to add an Apply All Filter button to a Dashboard. The video is based on this KB article on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found