Skip to content

Feature/sc 43297/migrate welcome messages from remoteconfig#3265

Open
stevekaplan123 wants to merge 5 commits intomasterfrom
feature/sc-43297/migrate-welcome-messages-from-remoteconfig
Open

Feature/sc 43297/migrate welcome messages from remoteconfig#3265
stevekaplan123 wants to merge 5 commits intomasterfrom
feature/sc-43297/migrate-welcome-messages-from-remoteconfig

Conversation

@stevekaplan123
Copy link
Copy Markdown
Contributor

@stevekaplan123 stevekaplan123 commented May 6, 2026

Description

Removes the Django-side RemoteConfig-backed “chatbot welcome messages” configuration and stops passing welcome message payloads from base_props into the lc-chatbot web component, relying instead on the chatbot UI’s own defaults. Removes the (now-unneeded) chatbot Django app (admin/proxy model) and drop it from INSTALLED_APPS. The previous complicated setup is no longer necessary as the 3 welcome messages are now going to be in en.json/he.json in the chatbot repo. This PR should not be merged until #3264 and Sefaria/ai-chatbot#125 are merged.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the Django-side RemoteConfig-backed “chatbot welcome messages” configuration and stops passing welcome message payloads from base_props into the lc-chatbot web component, relying instead on the chatbot UI’s own defaults and providing only interface language.

Changes:

  • Stop sending chatbot_welcome_messages from reader.views.base_props() and stop passing welcome-messages into <lc-chatbot> in ReaderApp.
  • Remove the CHATBOT_WELCOME_MESSAGES RemoteConfig key constant.
  • Remove the (now-unneeded) chatbot Django app (admin/proxy model) and drop it from INSTALLED_APPS.

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
static/js/ReaderApp.jsx Removes welcome-messages prop passed to <lc-chatbot>; sets interface-lang via Sefaria._getShortInterfaceLang().
reader/views.py Removes import/prop wiring for chatbot_welcome_messages from base_props().
remote_config/keys.py Removes CHATBOT_WELCOME_MESSAGES key constant.
sefaria/settings.py Removes chatbot from INSTALLED_APPS.
chatbot/models.py Deleted: removes RemoteConfig proxy model + helper for welcome messages.
chatbot/admin.py Deleted: removes custom singleton-style admin UI for editing welcome messages.
chatbot/apps.py Deleted: removes Django app config for chatbot.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stevekaplan123 stevekaplan123 marked this pull request as ready for review May 7, 2026 10:34
…uage' into feature/sc-43297/migrate-welcome-messages-from-remoteconfig
Copy link
Copy Markdown
Contributor

@YishaiGlasner YishaiGlasner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that seems to include the other pr, so my comment is relevant here

@stevekaplan123
Copy link
Copy Markdown
Contributor Author

that seems to include the other pr, so my comment is relevant here

I responded in the other PR. #3264 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants