fix(connection): show UXDB in database picker

This commit is contained in:
t8y2 2026-07-28 11:02:06 +08:00
parent 1ad9e663c7
commit 04b3262474
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View File

@ -2315,6 +2315,7 @@ const dbOptions: DbOption[] = [
{ value: "gbase", label: "GBase" },
{ value: "kingbase", label: "KingBase" },
{ value: "highgo", label: "瀚高 HighGo" },
{ value: "uxdb", label: "优炫 UXDB" },
{ value: "yashandb", label: "崖山 YashanDB" },
{ value: "vastbase", label: "Vastbase" },
{ value: "redshift", label: "Redshift" },
@ -2369,7 +2370,7 @@ const dbCategoryDefinitions: Array<{
{
key: "domestic",
titleKey: "connection.databaseCategoryDomestic",
optionValues: ["dm", "opengauss", "gaussdb", "kwdb", "tidb", "oceanbase", "goldendb", "tdsql", "polardb", "greatsql", "gbase", "kingbase", "highgo", "yashandb", "vastbase", "sundb", "oscar", "xugu"],
optionValues: ["dm", "opengauss", "gaussdb", "kwdb", "tidb", "oceanbase", "goldendb", "tdsql", "polardb", "greatsql", "gbase", "kingbase", "highgo", "uxdb", "yashandb", "vastbase", "sundb", "oscar", "xugu"],
},
{
key: "lightweight",

View File

@ -34,4 +34,6 @@ test("ConnectionDialog database categories stay exhaustive", () => {
assert.doesNotThrow(() => assertCompleteDatabaseCategories(optionValues, categoryBlocks));
assert.ok(optionValues.includes("rabbitmq"), "rabbitmq must remain in dbOptions");
assert.ok(categoryBlocks.some((values) => values.includes("rabbitmq")), "rabbitmq must remain categorized");
assert.ok(optionValues.includes("uxdb"), "uxdb must remain in dbOptions");
assert.ok(categoryBlocks.some((values) => values.includes("uxdb")), "uxdb must remain categorized");
});