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

Hitting enter doesn't save filter changes #6552

Closed
camsaul opened this issue Dec 9, 2017 · 8 comments
Closed

Hitting enter doesn't save filter changes #6552

camsaul opened this issue Dec 9, 2017 · 8 comments
Assignees
Labels
.Frontend Priority:P2 Average run of the mill bug Querying/GUI Query builder catch-all, including simple mode .Team/QueryingComponents Type:UX .Wanted: MLv2 Issues that will be fixed (or easier to fix, or possible to fix) when we have MLv2
Milestone

Comments

@camsaul
Copy link
Member

camsaul commented Dec 9, 2017

So I'm typing a new value for my Query Builder filter in and since my hands are already on the keyboard I hit enter thinking it will apply the values like it does everywhere else in the app where we use filters (for example Dashboard params). Instead it just closes the filter popover and does not apply any changes at all.

In fact since you must hit enter to apply other filters IMO this is confusing behavior 101.

annoying

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

@mazameli
Copy link
Contributor

mazameli commented Dec 9, 2017

I could have sworn I'd filed an issue for this already, but in any case I agree a million times yes to this. Enter should absolutely commit the changes.

@camsaul
Copy link
Member Author

camsaul commented Dec 9, 2017

This is related to #2059 I think

@flamber
Copy link
Contributor

flamber commented Feb 18, 2019

It seems to be only an issue for date pickers. When trying number/string picker, then it saves on Enter.
On the date picker, if you try to input 300 and press Tab and then Enter, then it works. OnBlur issue?

@mazameli mazameli added Querying/GUI Query builder catch-all, including simple mode Priority:P2 Average run of the mill bug and removed Query Builder labels Oct 24, 2019
@ranquild ranquild self-assigned this Jul 28, 2022
@ranquild
Copy link
Contributor

ranquild commented Aug 4, 2022

Unassigning since the UI has changed and it's not clear what the correct behavior would be.

@ranquild ranquild removed their assignment Aug 4, 2022
@uladzimirdev
Copy link
Contributor

I believe that UI has been reworked and we don't have this issue anymore.

@ranquild ranquild added the .Wanted: MLv2 Issues that will be fixed (or easier to fix, or possible to fix) when we have MLv2 label Oct 31, 2023
@nemanjaglumac nemanjaglumac self-assigned this Nov 8, 2023
@nemanjaglumac
Copy link
Member

I can still reproduce this on latest master d35c779.

  1. Open any table from the Sample Database (let's use Analytic Events)
  2. Click on a timestamp column
  3. Choose "Filter by this column" from the dropdown
  4. Choose "Last 30 days" (It should show no results)
    Image
  5. Click on a filter "Timestamp Previous 30 Days" to edit it
    Image
  6. Edit the number and click "enter" - nothing happens
    Image

Also not that it says "Add filter" and not "Update filter"

@WiNloSt
Copy link
Member

WiNloSt commented Nov 8, 2023

Reproducible in https://github.com/metabase/metabase/pull/34851/commits (e546daa), even though the filter popover got updated immediately when the value is changed, it doesn't update the question filter, nor Enter update the question filter.
image

@ranquild
Copy link
Contributor

Fixed by #35658

@ranquild ranquild added this to the 0.49 milestone Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Frontend Priority:P2 Average run of the mill bug Querying/GUI Query builder catch-all, including simple mode .Team/QueryingComponents Type:UX .Wanted: MLv2 Issues that will be fixed (or easier to fix, or possible to fix) when we have MLv2
Projects
None yet
Development

No branches or pull requests

8 participants