mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-06 08:42:23 -08:00
add missing settings
This commit is contained in:
3 files changed
+25
No files matched your search
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user