mirror of
https://github.com/apache/superset.git
synced 2026-05-12 11:25:56 +00:00
fix: Add editors to ContributionConfig and additional properties to EditorKeyword (#38098)
This commit is contained in:
committed by
GitHub
parent
f049d3e34a
commit
1f76944c2b
@@ -295,7 +295,7 @@ test('returns column keywords among selected tables', async () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('returns long keywords with docText', async () => {
|
||||
test('returns long keywords with detail', async () => {
|
||||
const expectLongKeywordDbId = 2;
|
||||
const longKeyword = 'veryveryveryveryverylongtablename';
|
||||
const dbFunctionNamesApiRoute = `glob:*/api/v1/database/${expectLongKeywordDbId}/function_names/`;
|
||||
@@ -335,7 +335,7 @@ test('returns long keywords with docText', async () => {
|
||||
expect.objectContaining({
|
||||
name: longKeyword,
|
||||
value: longKeyword,
|
||||
docText: longKeyword,
|
||||
detail: longKeyword,
|
||||
}),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -55,7 +55,7 @@ const { useQueryState: useTablesQueryState } = tableEndpoints.tables;
|
||||
|
||||
const getHelperText = (value: string) =>
|
||||
value.length > 30 && {
|
||||
docText: value,
|
||||
detail: value,
|
||||
};
|
||||
|
||||
const extensionsRegistry = getExtensionsRegistry();
|
||||
|
||||
Reference in New Issue
Block a user