settings: Add web_left_sidebar_unreads_count_summary setting.

Co-authored-by: Akarsh Jain <akarsh.jain.790@gmail.com>

Fixes part of #28759.
This commit is contained in:
opmkumar
2025-06-18 23:47:55 +05:30
committed by Tim Abbott
parent cf658155e7
commit 87d14086af
7 changed files with 69 additions and 1 deletions

View File

@@ -183,6 +183,8 @@ class UserBaseSettings(models.Model):
default=WEB_STREAM_UNREADS_COUNT_DISPLAY_POLICY_UNMUTED_STREAMS
)
web_left_sidebar_unreads_count_summary = models.BooleanField(default=True, db_default=True)
# Setting to control whether to automatically go to the
# conversation where message was sent.
web_navigate_to_sent_message = models.BooleanField(default=True)
@@ -379,6 +381,7 @@ class UserBaseSettings(models.Model):
web_suggest_update_timezone=bool,
hide_ai_features=bool,
resolved_topic_notice_auto_read_policy=ResolvedTopicNoticeAutoReadPolicyEnum,
web_left_sidebar_unreads_count_summary=bool,
)
modern_notification_settings = dict(