Chart Explore: Pasting text into Metrics fails and deletes other metrics
See original GitHub issuePasting 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.
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.
How to reproduce the bug
- Go to ‘Chart Explore’
- Click in ‘Metrics field’
- Paste name of a metric, for example try to paste ‘test_metric’
- 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.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Time Tracking app: Metrics you need to be measuring
The app tracks the time spent on each ticket update, and stores this with the ticket. With Explore, you can create calculated metrics...
Read more >Troubleshooting Azure Monitor metric charts - Microsoft Learn
Use this article if you run into issues with creating, customizing, or interpreting charts in Azure metrics explorer.
Read more >Use metrics to understand how performance impacts your ...
This table lists the mPulse system metrics that are common to most dashboards. Category, Name, Description, Requirements. Resource Timing: All Asset: includes ...
Read more >Metrics - Product Documentation | ServiceNow
A metric measures and evaluates the effectiveness of IT service management processes.
Read more >Table chart options | Looker - Google Cloud
See the Exploring data in Looker documentation page for more ... which can then be pasted into a spreadsheet, text file, or Looker...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
tested~fixed. closing issue thanks! @kgabryje