Interval annotations on charts broken in master #30347
Labels
explore:annotation
Related to annotations in Explore
explore
Namespace | Anything related to Explore
viz:charts
Namespace | Anything related to viz types
Bug description
Annotation layers of type "Interval" no longer seem to appear on line charts in master. They are fine in 4.02-dev and 4.1.0rc2-dev but not on master.
It does not matter if the source is a 'Superset annotation' or a 'Table'.
How to reproduce the bug
This uses the examples datasets.
TAG=994de1f-dev docker compose -f ./docker-compose-image-tag.yml up -d
+ Annotation layer
buttonAdd
+ Annotation
button2000-01-01 00:00:00
and end date to2004-01-01 00:00:00
Add
Charts
in the navigation bar+ Chart
birth_names
datasetLine Chart
typeCreate new chart
ds
column toX-axis
num
column toMetrics
, choose the Sum aggregate and clickSave
Annotations and Layers
followed by+ Add annotation layer
Show label
boxAnnotation layer type
toInterval
Annotation source
toSuperset annotation
Annotation layer
to the name given to the newly created layer in step 2Update chart
I cannot see any errors in the superset logs. I've attached a screenshot of an error in the Firefox console.
Screenshots/recordings
Superset version
master / latest-dev
Python version
3.10
Node version
18 or greater
Browser
Firefox
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: