Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/update-chart-customizations-configuration-for-a-dashboard.api.mdx
Superset Dev 5a5a0e70fc fix(docs): regenerate 6.1.0 snapshots with depth-aware import rewriter
The previous import-path fixer only matched two-level relative paths
(`../../src/` and `../../data/`), missing files at deeper nesting in the
section tree. After the 6.1.0 cut for developer_docs, ~50 component MDX
files at depth 3 still referenced `../../../src/components/StorybookWrapper`
(should have been `../../../../src/...`), and the components Button page
referenced `../../../superset-frontend/...` (should have been
`../../../../superset-frontend/...`). The Docusaurus production build
failed with module-not-found errors as a result.

Replace the pattern-specific regex with a depth-aware walker that
- counts the file's nesting depth within the snapshot,
- bumps any relative import whose `../` count exceeds that depth (i.e.
  the import escapes the section root and so must compensate for the
  extra `version-X.X.X/` directory the snapshot lives under),
- skips fenced code blocks so documented sample imports (e.g. Playwright
  page-object examples in developer_docs/testing/e2e-testing.md) are not
  rewritten.

Re-cut all four sections under the new fixer. yarn build now passes
locally.
2026-05-04 08:53:25 -07:00

69 lines
3.6 KiB
Plaintext

---
id: update-chart-customizations-configuration-for-a-dashboard
title: "Update chart customizations configuration for a dashboard."
description: "Update chart customizations configuration for a dashboard."
sidebar_label: "Update chart customizations configuration for a dashboard."
hide_title: true
hide_table_of_contents: true
api: eJzFWG1v2zgM/isEccBanNusux0weNiHrtuw7oatWNN7QV10is3UWm3Jk+S0meH/fqBkO06T4l42oJ8SyyTF5yFFkW6wEkaU5MhYjM8blApjrITLMUIlSuKna4zQ0NdaGsowdqamCG2aUykwbtAtK5aSytEVGWzbiyBN1r3U2ZJFUq0cKcd/RVUVMhVOajX5YrXitQ1bevaFUocRVkZXZJwky28zKsixC4OgMEYsMULpqLSjdeuMVFfYRpiRTY2seD+M8b20DvQcOkuQ5sI4SGvrdCm/ea/g+JXdZ81SZ3Iu/9V2nb/3bteb2rpfqtVcXtXGP4WtDWmTkfkhUO+BCFKBohvwG+1j20bopCvY4ith85kWJjti1aOxpj3yzp5VmXB0GsLWRki3oqxY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bG/BuOHcaij2/4/EQtIHjEzbCWNaNbKWq0/fSrZ8V+4Lvx4kA0pf9Bmc+v99oUwq29+6PKXaDJ5/T8BaH68qDbiNWvjQ0N2Tz/2uErVitPq2m2Nc/ZMKJUKq5DkbWSKkrMpaY7X4IGy1xSga5xUFg2rpS+Ou9m9C/6+CsuTK0A45u3aQqhPRdoc/hpjtU5ygqyX4dsHZvCiOM/ZeCrWfros+yc2yambB0Zoq25eWvNRm+7C9Wie7PXyZ9v5RhPBeFpQ0/h8YHdz513fsurAK57n8/vamlP09FzU8Y8XUSPnC0HJxQdf3u4cW4fo4UNxotPuZB4zBNyV8n98tejGrVyRln46z7TFLqjFWMuOGxVtwEH3UVKOS5ktfCnVaHJiyY5ITlIWUUvyGxuz8MaisLTRMkwu3RDqT465d5adu/AYY3T6Q=
sidebar_class_name: "put api-method"
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"Update chart customizations configuration for a dashboard."}
>
</Heading>
<MethodEndpoint
method={"put"}
path={"/api/v1/dashboard/{pk}/chart_customizations"}
context={"endpoint"}
>
</MethodEndpoint>
Update chart customizations configuration for a dashboard.
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>
<ParamsDetails
{...require("./update-chart-customizations-configuration-for-a-dashboard.ParamsDetails.json")}
>
</ParamsDetails>
<RequestSchema
{...require("./update-chart-customizations-configuration-for-a-dashboard.RequestSchema.json")}
>
</RequestSchema>
<StatusCodes
{...require("./update-chart-customizations-configuration-for-a-dashboard.StatusCodes.json")}
>
</StatusCodes>