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

Chart Explore: Pasting text into Metrics fails and deletes other metrics #11379

Closed
3 tasks done
zuzana-vej opened this issue Oct 22, 2020 · 6 comments · Fixed by #11445
Closed
3 tasks done

Chart Explore: Pasting text into Metrics fails and deletes other metrics #11379

zuzana-vej opened this issue Oct 22, 2020 · 6 comments · Fixed by #11445
Assignees
Labels
!deprecated-label:bug Deprecated label - Use #bug instead

Comments

@zuzana-vej
Copy link
Contributor

Pasting text into Metrics fails and deletes other metrics. This feature is commonly used if metrics are long - user finds them in documentation / from a colleague (via slack) / from previous chart - instead of typing the metric name user wants to paste it. This functionality worked at some point in the past.

Expected results

Existing metric remain, and newly pasted metric (if exists) also is in the Metrics field.

Actual results

Existing metrics disappear.

Screenshots

Step 1: There is some metric in the METRICS field.
Screen Shot 2020-10-21 at 6 08 15 PM

Step 2: try to paste new metric, like "test_metric"

Step 3: All metrics disappear. Regardless of if metric that is being pasted exists or not.
Screen Shot 2020-10-21 at 6 08 42 PM

How to reproduce the bug

  1. Go to 'Chart Explore'
  2. Click in 'Metrics field'
  3. Paste name of a metric, for example try to paste 'test_metric'
  4. See issue - all existing metrics disappear

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 22, 2020
@issue-label-bot
Copy link

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

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

@junlincc
Copy link
Member

@zuzana-vej could you please provide a gif that shows the old behavior? do you think #11388 are caused by a same PR?

@zuzana-vej
Copy link
Contributor Author

I can't provide video of old behavior (when pasting a metric into the box worked) because old behavior doesn't work right now (honestly I am not sure how long this has been broken, this might not be feature user uses every day, so it could be couple weeks).

I think they certainly touch the same component, so the regression is likely to be introduced when doing some redesign/changes to the Metrics box.

@kgabryje
Copy link
Member

Can you assign me please?

@junlincc
Copy link
Member

Can you assign me please?

added to Trello and assigned to you~

@junlincc
Copy link
Member

junlincc commented Nov 4, 2020

tested~fixed. closing issue thanks! @kgabryje

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

Successfully merging a pull request may close this issue.

3 participants