Skip to content

Conversation

@mraman-2U
Copy link
Contributor

This pull request introduces a new feature flag for enabling a chat V2 endpoint across multiple environments and updates a dependency version in package.json. Below is a summary of the key changes:

Feature Flag Addition:

  • Added FEATURE_ENABLE_CHAT_V2_ENDPOINT to the .env file with an empty value for production configuration.
  • Added FEATURE_ENABLE_CHAT_V2_ENDPOINT='false' to the .env.development file for local development.
  • Added FEATURE_ENABLE_CHAT_V2_ENDPOINT='false' to the .env.test file for testing environments.

Dependency Update:

  • Updated the version of @edx/frontend-lib-learning-assistant from ^2.20.0 to ^2.22.0 in package.json.…pdate frontend-lib-learning-assistant version

@mraman-2U mraman-2U force-pushed the mraman-2u/update-learning-assistant-2.20.0-2.22.0 branch from 52f655d to b1f74b1 Compare July 23, 2025 09:45
@codecov
Copy link

codecov bot commented Jul 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.33%. Comparing base (06902d8) to head (bf57318).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1768   +/-   ##
=======================================
  Coverage   90.33%   90.33%           
=======================================
  Files         344      344           
  Lines        5793     5793           
  Branches     1394     1391    -3     
=======================================
  Hits         5233     5233           
  Misses        541      541           
  Partials       19       19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

.env Outdated
SHOW_UNGRADED_ASSIGNMENT_PROGRESS=''
# Fallback in local style files
PARAGON_THEME_URLS={}
FEATURE_ENABLE_CHAT_V2_ENDPOINT=''
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a quick note, GitHub actions require a blank line at the end of all files to run properly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Update the env files with a blank line at the end.

@mraman-2U mraman-2U requested a review from ilee2u July 23, 2025 14:12
@mraman-2U mraman-2U removed the request for review from michaelroytman July 28, 2025 14:54
@mraman-2U mraman-2U changed the title chore: add FEATURE_ENABLE_CHAT_V2_ENDPOINT to environment files and update library version feat: add FEATURE_ENABLE_CHAT_V2_ENDPOINT to environment files and update library version Jul 29, 2025
@mraman-2U mraman-2U requested a review from michaelroytman July 29, 2025 15:16
@michaelroytman michaelroytman merged commit 4c8aa7c into openedx:master Jul 29, 2025
7 checks passed
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