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

View File

@@ -175,12 +175,17 @@ export const MessageInput = forwardRef<MessageInputHandle, MessageInputProps>(fu
<form
className="px-4 py-2.5 border-t border-border flex flex-col gap-1"
onSubmit={handleSubmit}
autoComplete="off"
>
<div className="flex gap-2">
<Input
ref={inputRef}
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}
onChange={(e) => setText(e.target.value)}
onKeyDown={handleKeyDown}

View File

@@ -19,7 +19,7 @@ export const SETTINGS_SECTION_LABELS: Record<SettingsSection, string> = {
radio: '📻 Radio',
identity: '🪪 Identity',
connectivity: '📡 Connectivity',
database: '🗄️ Database & Interfacr',
database: '🗄️ Database & Interface',
bot: '🤖 Bot',
statistics: '📊 Statistics',
};

View File

@@ -36,7 +36,7 @@ test.describe('Reopen last conversation (device-local)', () => {
).toBeVisible();
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.getByRole('button', { name: 'Back to Chat' }).click();
@@ -57,7 +57,7 @@ test.describe('Reopen last conversation (device-local)', () => {
).toBeVisible();
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');
await reopenToggle.check();