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

Backspaces and spaces do not work when editing simple filter value in explore chart #11404

Closed
2 of 3 tasks
zuzana-vej opened this issue Oct 23, 2020 · 7 comments
Closed
2 of 3 tasks
Assignees
Labels
!deprecated-label:bug Deprecated label - Use #bug instead

Comments

@zuzana-vej
Copy link
Contributor

Description:

When editing the value of a simple filter in explore box, backspaces and spaces are broken. It seems like they are not being entered into the filter value text box but are instead being entered into the filter column drop down. The space problem also occurs when editing custom SQL, which majorly breaks custom sql filters. The only workaround to type a space is to type the value/custom sql elsewhere and paste it into the desired textbox.

How often can this be reproduced?
100%

Steps to Reproduce:

  1. Create a table chart
  2. Click FILTERS drop down and select a column
  3. Type a space and observe that the space is entered into the filters drop down instead of the value text box
  4. Type a backspace and observe that the filter modal closes

Result:

After typing space: Space does not appear in filter value text box

After typing backspace: Modal closes

Expected Result:

After typing space: Space appears in filter value text box

After typing backspace: The character before the cursor disappears.

Screenshots

filter-space-issue

Environment

(please complete the following information):

  • superset version: master

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.
@zuzana-vej zuzana-vej added the !deprecated-label:bug Deprecated label - Use #bug instead label Oct 23, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.95. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@zuzana-vej
Copy link
Contributor Author

@junlincc This could be caused by the same PR as the other cosmetic issues on chart explore: #11394 #11379

@junlincc
Copy link
Member

junlincc commented Oct 23, 2020

@junlincc This could be caused by the same PR as the other cosmetic issues on chart explore: #11394 #11379

just tested.agreed. 👌 https://github.com/apache/incubator-superset/pull/11163/files

@junlincc junlincc self-assigned this Oct 23, 2020
@mistercrunch
Copy link
Member

@kgabryje ^^^

@kgabryje
Copy link
Member

I'll check it out

@kgabryje
Copy link
Member

kgabryje commented Nov 2, 2020

@junlincc It's been fixed by #11428, I think we can close this issue

@zuzana-vej
Copy link
Contributor Author

Yes it's fixed. thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
!deprecated-label:bug Deprecated label - Use #bug instead
Projects
None yet
Development

No branches or pull requests

5 participants