feat(plugins): localize options_action and rework dock plus picker

This commit is contained in:
Jinpy authored and GitHub committed 2026-09-28 00:37:36 +08:00
1 parent 5d21ba79df
commit d2c471306c
14 files changed
+220 -47

No files matched your search

@@ -438,7 +438,7 @@ describe("PluginConnectionFields", () => {
await mountContribution(dynamic, { sudo_profile: "ghost" }, "io.dbx.ssh");
await flushAsync();
expect(invokePluginMock).toHaveBeenCalledWith("io.dbx.ssh", "sudo/profiles/options");
expect(invokePluginMock).toHaveBeenCalledWith("io.dbx.ssh", "sudo/profiles/options", { locale: "en" });
expect(document.querySelector("input#dyn-connection-sudo_profile")).toBeNull();
const trigger = document.querySelector<HTMLButtonElement>('#dyn-connection-sudo_profile, button[role="combobox"]');
expect(trigger).not.toBeNull();