You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Navigate to a slide within a narrative, click on "Explore the Data Yourself" and the filter dropdown displays "No Options". If filters are defined in the dataset URL, then only the selected filters are available in the dropdown. The filter options in the footer are also missing, indicating this bug is most likely an issue stemming from the redux store and not the filter dropdown itself.
When users change the slide in a narrative, the controls state gets
reset to its default state which updates the filters state to an empty
object. This leads to the bug described in #1492.
This commit extracts the filters creation from `modifyStateViaMetadata`
into its own function so that it can be reused to recreate the filters
when users change the slide within a narrative.
Resolves#1492.
When users change to a slide in a narrative that has the same dataset as
the previous slide, `restoreQueryableStateToDefaults` resets controls
to the _app_ default state which updates the filters state to an empty
object. This leads to the bug described in #1492.
Calling `modifyStateViaMetadata` after `restoreQueryableStateToDefaults`
ensures that all _dataset_ default controls are restored as well.
Resolves#1492.
Navigate to a slide within a narrative, click on "Explore the Data Yourself" and the filter dropdown displays "No Options". If filters are defined in the dataset URL, then only the selected filters are available in the dropdown. The filter options in the footer are also missing, indicating this bug is most likely an issue stemming from the redux store and not the filter dropdown itself.
First noticed the bug in @huddlej 's community narrative for the flu meeting, but I can reproduce the bug in other narratives (e.g. intro to narratives).
The text was updated successfully, but these errors were encountered: