feat(plugins): add settings shortcut entry and drag edge avoidance

This commit is contained in:
ezreal authored and GitHub committed 2026-09-28 21:02:37 +08:00
1 parent fd6b7bd502
commit e444c15e0c
32 files changed
+483 -34

No files matched your search

@@ -18,7 +18,7 @@ describe("plugin shortcut persistence", () => {
});
const first = useSettingsStore();
await first.initEditorSettings();
const pluginShortcuts = { enabled: false, position, order: ["b", "missing", "a"], hiddenPluginIds: ["hidden"], sidebarHeight: 132, toolbarCount: 6 };
const pluginShortcuts = { enabled: false, position, order: ["b", "missing", "a"], hiddenPluginIds: ["hidden"], sidebarHeight: 132, toolbarCount: 6, showSettingsEntry: false };
await first.updateEditorSettingsAndPersist({ pluginShortcuts });
setActivePinia(createPinia());
const second = useSettingsStore();