feat(settings): add sidebar activation preference

This commit is contained in:
t8y2
2026-05-15 18:09:24 +08:00
parent 6db2430994
commit d124efbb20
10 changed files with 171 additions and 11 deletions
+6
View File
@@ -37,3 +37,9 @@ test("shortcut settings capture custom keydown input instead of fixed select opt
assert.match(source, /@keydown="\(event: KeyboardEvent\) => onShortcutKeydown/);
assert.doesNotMatch(source, /definition\.options/);
});
test("settings dialog exposes sidebar activation in navigation settings", () => {
assert.match(source, /value: "navigation"/);
assert.match(source, /activeSettingsTab === ['"]navigation['"]/);
assert.match(source, /settings\.sidebarActivation/);
});