Fix typo and disable autocomplete

This commit is contained in:
Jack Kingsman
2026-02-20 17:26:30 -08:00
parent f9eb46f2ab
commit a8a8f6e08b
3 changed files with 9 additions and 4 deletions
+6 -1
View File
@@ -175,12 +175,17 @@ export const MessageInput = forwardRef<MessageInputHandle, MessageInputProps>(fu
<form <form
className="px-4 py-2.5 border-t border-border flex flex-col gap-1" className="px-4 py-2.5 border-t border-border flex flex-col gap-1"
onSubmit={handleSubmit} onSubmit={handleSubmit}
autoComplete="off"
> >
<div className="flex gap-2"> <div className="flex gap-2">
<Input <Input
ref={inputRef} ref={inputRef}
type={isRepeaterMode ? 'password' : 'text'} type={isRepeaterMode ? 'password' : 'text'}
autoComplete={isRepeaterMode ? 'off' : undefined} autoComplete="off"
name="chat-message-input"
data-lpignore="true"
data-1p-ignore="true"
data-bwignore="true"
value={text} value={text}
onChange={(e) => setText(e.target.value)} onChange={(e) => setText(e.target.value)}
onKeyDown={handleKeyDown} onKeyDown={handleKeyDown}
+1 -1
View File
@@ -19,7 +19,7 @@ export const SETTINGS_SECTION_LABELS: Record<SettingsSection, string> = {
radio: '📻 Radio', radio: '📻 Radio',
identity: '🪪 Identity', identity: '🪪 Identity',
connectivity: '📡 Connectivity', connectivity: '📡 Connectivity',
database: '🗄️ Database & Interfacr', database: '🗄️ Database & Interface',
bot: '🤖 Bot', bot: '🤖 Bot',
statistics: '📊 Statistics', statistics: '📊 Statistics',
}; };
@@ -36,7 +36,7 @@ test.describe('Reopen last conversation (device-local)', () => {
).toBeVisible(); ).toBeVisible();
await page.getByRole('button', { name: 'Settings' }).click(); await page.getByRole('button', { name: 'Settings' }).click();
await page.getByRole('button', { name: /Database & Interfacr/i }).click(); await page.getByRole('button', { name: /Database & Interface/i }).click();
await page.getByLabel('Reopen to last viewed channel/conversation').check(); await page.getByLabel('Reopen to last viewed channel/conversation').check();
await page.getByRole('button', { name: 'Back to Chat' }).click(); await page.getByRole('button', { name: 'Back to Chat' }).click();
@@ -57,7 +57,7 @@ test.describe('Reopen last conversation (device-local)', () => {
).toBeVisible(); ).toBeVisible();
await page.getByRole('button', { name: 'Settings' }).click(); await page.getByRole('button', { name: 'Settings' }).click();
await page.getByRole('button', { name: /Database & Interfacr/i }).click(); await page.getByRole('button', { name: /Database & Interface/i }).click();
const reopenToggle = page.getByLabel('Reopen to last viewed channel/conversation'); const reopenToggle = page.getByLabel('Reopen to last viewed channel/conversation');
await reopenToggle.check(); await reopenToggle.check();