feat(settings): split Autofill into its own tab

Extracted the autofill toggle + hotkey combos out of the Security section into
their own .slideover-field labelled "Autofill", added an Autofill tab + map
entry. 5 tabs now.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
r-zakarya
2026-07-10 05:21:57 +01:00
parent c109694bd1
commit 374a6b3fe9
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -417,6 +417,7 @@
<div class="settings-tabs" id="settingsTabs"> <div class="settings-tabs" id="settingsTabs">
<button class="settings-tab is-active" data-tab="general">Général</button> <button class="settings-tab is-active" data-tab="general">Général</button>
<button class="settings-tab" data-tab="security">Sécurité</button> <button class="settings-tab" data-tab="security">Sécurité</button>
<button class="settings-tab" data-tab="autofill">Autofill</button>
<button class="settings-tab" data-tab="account">Account</button> <button class="settings-tab" data-tab="account">Account</button>
<button class="settings-tab" data-tab="sync">Sync &amp; Backup</button> <button class="settings-tab" data-tab="sync">Sync &amp; Backup</button>
</div> </div>
@@ -601,6 +602,9 @@
<span class="toggle-slider"></span> <span class="toggle-slider"></span>
</label> </label>
</div> </div>
</div>
<div class="slideover-field">
<div class="slideover-field-label">Autofill</div>
<div class="setting-row" id="settingAutofillRow"> <div class="setting-row" id="settingAutofillRow">
<span> <span>
Autofill with global hotkey Autofill with global hotkey
+1
View File
@@ -7813,6 +7813,7 @@ function closeSettings() {
const SETTINGS_TAB_OF = { const SETTINGS_TAB_OF = {
'Appearance': 'general', 'Appearance': 'general',
'Security': 'security', 'Clipboard privacy': 'security', 'Security': 'security', 'Clipboard privacy': 'security',
'Autofill': 'autofill',
'Account': 'account', 'Account': 'account',
'PIN unlock': 'account', 'Quick unlock': 'account', 'Recovery key': 'account', 'PIN unlock': 'account', 'Quick unlock': 'account', 'Recovery key': 'account',
'Export': 'sync', 'Sync (WebDAV)': 'sync', 'Auto-backup': 'sync', 'Import': 'sync', 'Export': 'sync', 'Sync (WebDAV)': 'sync', 'Auto-backup': 'sync', 'Import': 'sync',