add missing settings

This commit is contained in:
7w1 committed 2026-05-07 01:36:48 -05:00
1 parent 1c460812eb
commit 9752edd323
3 files changed
+25

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
default: patch
---
Readded various missing settings from the settings sharing list.
@@ -34,6 +34,12 @@ describe('settingsLink', () => {
'https://app.example/settings/appearance/?focus=message-link-preview'
)
).toEqual({ section: 'appearance', focus: 'message-link-preview' });
expect(
parseSettingsLink(
'https://app.example',
`https://app.example/settings/general?focus=composer-formatting-toolbar&${SETTINGS_LINK_ACTION_PARAM}=${SETTINGS_LINK_ACTION_SETTINGS}`
)
).toEqual({ section: 'general', focus: 'composer-formatting-toolbar' });
expect(
parseSettingsLink(
'https://app.example',
+14
View File
@@ -18,10 +18,12 @@ const settingsSectionLabel = Object.fromEntries(
const settingsLinkFocusIdsBySection: Record<SettingsSectionId, readonly string[]> = {
general: [
'client-side-embeds',
'composer-formatting-toolbar',
'custom-date-format',
'date-format',
'disable-media-auto-load',
'display-bundled-embeds',
'display-multiple-embeds',
'embed-youtube-links',
'emoji-selector-threshold',
'enable-swiping',
@@ -61,6 +63,7 @@ const settingsLinkFocusIdsBySection: Record<SettingsSectionId, readonly string[]
'email-address',
'has-cats',
'is-cat',
'user-hero-color',
'matrix-id',
'name-color',
'name-color-dark-theme',
@@ -85,13 +88,24 @@ const settingsLinkFocusIdsBySection: Record<SettingsSectionId, readonly string[]
'collapse-folders-by-default',
'colorful-names',
'consistent-icon-style',
'browse-remote-catalog',
'customize-dm-cards',
'custom-profile-cards',
'dark-theme',
'jumbo-emoji-size',
'light-theme',
'manual-theme',
'message-link-preview',
'page-zoom',
'catalog-themes',
'catalog-tweaks',
'theme-browse-remote',
'theme-catalog-clear-remote',
'theme-chat-sable-widgets',
'theme-chat-auto-approved',
'theme-chat-auto-any',
'theme-import-open',
'theme-local-sync-system',
'pronoun-pills-for-all',
'reduced-motion',
'render-global-username-colors',