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

[import/export][native-filters]import/export is incompatible with Native filters #15050

Closed
junlincc opened this issue Jun 8, 2021 · 3 comments · Fixed by #15253
Closed

[import/export][native-filters]import/export is incompatible with Native filters #15050

junlincc opened this issue Jun 8, 2021 · 3 comments · Fixed by #15253
Assignees
Labels
#bug Bug report dashboard:import Related to importing dashboards dashboard:native-filters Related to the native filters of the Dashboard P1 Priority item - Major

Comments

@junlincc
Copy link
Member

junlincc commented Jun 8, 2021

to reproduce: Export dashboard with native filters locally and import to a Preset workspace
Currently behavior: When user create a dashboard with dashboard native filters, it can't be exported and imported properly in JSON format.
Expected behavior: dashboard with native filters should be able to import and export.

Screen.Recording.2021-06-08.at.3.07.42.PM.mov
@junlincc junlincc added dashboard:native-filters Related to the native filters of the Dashboard #bug Bug report dashboard:import Related to importing dashboards labels Jun 8, 2021
@junlincc junlincc added this to To do in Native dashboard filters via automation Jun 8, 2021
@junlincc junlincc added the P1 Priority item - Major label Jun 8, 2021
@junlincc
Copy link
Member Author

junlincc commented Jun 8, 2021

another issue, unrelated to filter~
every click to import the JSON file, trigger a toast message, and same dashboard gets imported.

Expected behavior, only import once with multiple clicks. @betodealmeida

@villebro
Copy link
Member

No action needed - exporting from local instance and importing to both local instance (after first deleting original chart and dashboard) and Preset confirmed to work as expected.

See below screenshot of imported dashboard with a Value filter with predefined default values:
image

Native dashboard filters automation moved this from To do to Done Jun 18, 2021
@villebro
Copy link
Member

Reopening - table references need to be updated in native filter metadata

@villebro villebro reopened this Jun 18, 2021
Native dashboard filters automation moved this from Done to In progress Jun 18, 2021
@villebro villebro moved this from In progress to In review in Native dashboard filters Jun 18, 2021
Native dashboard filters automation moved this from In review to Done Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report dashboard:import Related to importing dashboards dashboard:native-filters Related to the native filters of the Dashboard P1 Priority item - Major
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

4 participants