mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Add default site settings to control the defaults of navigation menu preferences (#22485)
Follow-up to b27e12445d
This commit adds 2 new site settings `default_sidebar_link_to_filtered_list` and `default_sidebar_show_count_of_new_items` to control the default values for the navigation menu preferences that were added in the linked commit (`sidebar_link_to_filtered_list` and `sidebar_show_count_of_new_items` respectively).
This commit is contained in:
@@ -2351,6 +2351,8 @@ en:
|
||||
|
||||
default_title_count_mode: "Default mode for the page title counter"
|
||||
enable_offline_indicator: "Display a message to users when it is detected that they have no network connection"
|
||||
default_sidebar_link_to_filtered_list: "Make navigation menu links link to filtered list by default."
|
||||
default_sidebar_show_count_of_new_items: "Make navigation menu links show count of new items instead of badges by default."
|
||||
|
||||
retain_web_hook_events_period_days: "Number of days to retain web hook event records."
|
||||
retry_web_hook_events: "Automatically retry failed web hook events for 4 times. Time gaps between the retries are 1, 5, 25 and 125 minutes."
|
||||
|
||||
@@ -2727,6 +2727,9 @@ user_preferences:
|
||||
enable_offline_indicator:
|
||||
default: false
|
||||
client: true
|
||||
default_sidebar_link_to_filtered_list: false
|
||||
default_sidebar_show_count_of_new_items: false
|
||||
|
||||
api:
|
||||
retain_web_hook_events_period_days:
|
||||
default: 30
|
||||
|
||||
Reference in New Issue
Block a user