fix: Add editors to ContributionConfig and additional properties to EditorKeyword (#38098)

This commit is contained in:
Michael S. Molina
2026-02-19 15:00:21 -03:00
committed by GitHub
parent f049d3e34a
commit 1f76944c2b
8 changed files with 17 additions and 7 deletions

View File

@@ -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,
}),
),
);

View File

@@ -55,7 +55,7 @@ const { useQueryState: useTablesQueryState } = tableEndpoints.tables;
const getHelperText = (value: string) =>
value.length > 30 && {
docText: value,
detail: value,
};
const extensionsRegistry = getExtensionsRegistry();