mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat: Embedded dashboard configuration (#19364)
* embedded dashboard model
* embedded dashboard endpoints
* DRY up using the with_dashboard decorator elsewhere
* wip
* check feature flags and permissions
* wip
* sdk
* urls
* dao option for id column
* got it working
* Update superset/embedded/view.py
* use the curator check
* put back old endpoint, for now
* allow access by either embedded.uuid or dashboard.id
* keep the old endpoint around, for the time being
* openapi
* lint
* lint
* lint
* test stuff
* lint, test
* typo
* Update superset-frontend/src/embedded/index.tsx
* Update superset-frontend/src/embedded/index.tsx
* fix tests
* bump sdk
(cherry picked from commit 8e29ec5a66)
This commit is contained in:
committed by
Ville Brofeldt
parent
a7ee677154
commit
795ed3c719
@@ -471,9 +471,9 @@ class QueryContextProcessor:
|
||||
annotation_layer: Dict[str, Any], force: bool
|
||||
) -> Dict[str, Any]:
|
||||
chart = ChartDAO.find_by_id(annotation_layer["value"])
|
||||
form_data = chart.form_data.copy()
|
||||
if not chart:
|
||||
raise QueryObjectValidationError(_("The chart does not exist"))
|
||||
form_data = chart.form_data.copy()
|
||||
try:
|
||||
viz_obj = get_viz(
|
||||
datasource_type=chart.datasource.type,
|
||||
|
||||
Reference in New Issue
Block a user