feat: call screenshot to store query_context (#15846)

* feat: call screenshot to store query_context

* Add unit test

* Move updateQueryContext to ExploreChartPanel

* Add error handling

* Fix code

* Fix logic
This commit is contained in:
Beto Dealmeida
2021-07-27 14:02:27 -07:00
committed by GitHub
parent 8c7e09e500
commit 2ce676d20d
6 changed files with 121 additions and 32 deletions

View File

@@ -193,6 +193,7 @@ class Slice(
"description_markeddown": self.description_markeddown,
"edit_url": self.edit_url,
"form_data": self.form_data,
"query_context": self.query_context,
"modified": self.modified(),
"owners": [
f"{owner.first_name} {owner.last_name}" for owner in self.owners