fix: rename settings modal title

This commit is contained in:
Erik Kotsiuba
2026-05-02 22:49:00 +02:00
parent 5b70eca306
commit 4feeec9f0f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ export class AskSettingsList {
const lines = [ const lines = [
this.topBorder(innerWidth), this.topBorder(innerWidth),
this.line( this.line(
center(this.theme.fg("accent", "Ask Settings"), innerWidth), center(this.theme.fg("accent", "@eko24ive/pi-ask"), innerWidth),
innerWidth innerWidth
), ),
this.line("", innerWidth), this.line("", innerWidth),
+1 -1
View File
@@ -66,7 +66,7 @@ test("registers /ask-settings and opens the shared settings overlay", async () =
}, },
}); });
const text = customCalls[0]?.lines.join("\n") ?? ""; const text = customCalls[0]?.lines.join("\n") ?? "";
assert(text.includes("Ask Settings")); assert(text.includes("@eko24ive/pi-ask"));
assert( assert(
text.includes("Edit this config file to change customizable ask keymaps:") text.includes("Edit this config file to change customizable ask keymaps:")
); );
+1 -1
View File
@@ -66,7 +66,7 @@ test("settings list renders behaviour settings and config path", () => {
const text = list.render(72).join("\n"); const text = list.render(72).join("\n");
assert(text.includes("╭")); assert(text.includes("╭"));
assert(text.includes("Ask Settings")); assert(text.includes("@eko24ive/pi-ask"));
assert(text.includes("Auto-submit when answered without notes")); assert(text.includes("Auto-submit when answered without notes"));
assert(text.includes("[off]")); assert(text.includes("[off]"));
assert(text.includes("Confirm dismiss when dirty")); assert(text.includes("Confirm dismiss when dirty"));