onboarding: Replace channel messages in new organizations.

As a part of improving onboarding experience, this
commit updates the channels and messages initially
available in new orgs.

Fixes #29297.
This commit is contained in:
Prakhar Pratyush
2024-03-26 18:28:30 +05:30
committed by Tim Abbott
parent 7ea66dbec5
commit ac2152fdfd
15 changed files with 318 additions and 99 deletions

View File

@@ -333,6 +333,8 @@ class Realm(models.Model): # type: ignore[django-manager-missing] # django-stub
# Defaults for new users
default_language = models.CharField(default="en", max_length=MAX_LANGUAGE_ID_LENGTH)
ZULIP_DISCUSSION_CHANNEL_NAME = gettext_lazy("Zulip")
ZULIP_SANDBOX_CHANNEL_NAME = gettext_lazy("sandbox")
DEFAULT_NOTIFICATION_STREAM_NAME = gettext_lazy("general")
STREAM_EVENTS_NOTIFICATION_TOPIC_NAME = gettext_lazy("channel events")
new_stream_announcements_stream = models.ForeignKey(