This is an automated email from the ASF dual-hosted git repository.
beto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new f405174fcf fix(dataset): render default URL description properly in
settings (#35669)
f405174fcf is described below
commit f405174fcf0707f409bf7c7f659a70747ebe37ef
Author: Beto Dealmeida <[email protected]>
AuthorDate: Thu Oct 16 14:27:24 2025 -0400
fix(dataset): render default URL description properly in settings (#35669)
Co-authored-by: Claude <[email protected]>
---
.../components/DatasourceEditor/DatasourceEditor.jsx | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git
a/superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.jsx
b/superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.jsx
index a5ad47aefa..04f4f18ef3 100644
---
a/superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.jsx
+++
b/superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.jsx
@@ -1019,10 +1019,16 @@ class DatasourceEditor extends PureComponent {
<Field
fieldKey="default_endpoint"
label={t('Default URL')}
- description={t(
- `Default URL to redirect to when accessing from the dataset list
page.
- Accepts relative URLs such as <span style=„white-space:
nowrap;”>/superset/dashboard/{id}/</span>`,
- )}
+ description={
+ <>
+ {t(
+ 'Default URL to redirect to when accessing from the dataset
list page. Accepts relative URLs such as',
+ )}{' '}
+ <Typography.Text code>
+ /superset/dashboard/{'{id}'}/
+ </Typography.Text>
+ </>
+ }
control={<TextControl controlId="default_endpoint" />}
/>
<Field