hotspots: Add TUTORIAL_ENABLED setting to toggle INTRO_HOTSPOTS.

We add a TUTORIAL_ENABLED setting for self-hosters who want to
disable the tutorial entirely on their system. For this, the
default value (True) is placed in default_settings.py, which
can be overwritten by adding an entry in /etc/zulip/settings.py.
This commit is contained in:
Sumanth V Rao
2021-03-11 21:49:49 +05:30
committed by Tim Abbott
parent fdefc4275a
commit 7f6fe128f6
4 changed files with 21 additions and 5 deletions

View File

@@ -190,6 +190,10 @@ TWO_FACTOR_AUTHENTICATION_ENABLED = False
# in development mode.
ALWAYS_SEND_ALL_HOTSPOTS = False
# The new user tutorial is enabled by default, but can be disabled for
# self-hosters who want to disable the tutorial entirely on their system.
TUTORIAL_ENABLED = True
# In-development search pills feature.
SEARCH_PILLS_ENABLED = False