fix: remove @edx/frontend-lib-learning-assistant dependency#1894
Open
arbrandes wants to merge 1 commit intoopenedx:masterfrom
Open
fix: remove @edx/frontend-lib-learning-assistant dependency#1894arbrandes wants to merge 1 commit intoopenedx:masterfrom
arbrandes wants to merge 1 commit intoopenedx:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1894 +/- ##
==========================================
- Coverage 91.27% 91.26% -0.01%
==========================================
Files 343 343
Lines 5766 5761 -5
Branches 1387 1385 -2
==========================================
- Hits 5263 5258 -5
Misses 484 484
Partials 19 19 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
@jristau1984, hi! This is the PR that implements the DEPR, which by the timeline should be good to go (i.e, good to break). Objections? |
mraman-2U
approved these changes
Apr 9, 2026
It has been fully deprecated and is now being removed. Fixes openedx#1798 Co-Authored-By: Claude <noreply@anthropic.com>
f710d7d to
72cc0a1
Compare
Contributor
Feel free to proceed, from 2U perspective. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
@edx/frontend-lib-learning-assistantlibrary has been fully deprecated and is now being removed. This PR removes the dependency along with all its usage across the codebase: the Redux reducer registration, thelearningAssistantstate selectors, thelearning_assistant_enabledfield mapping, related config variables (CHAT_RESPONSE_URL,ENABLE_XPERT_AUDIT), and associated test and pact contract references.The
ContentToolscomponent previously readsidebarIsOpenfrom thelearningAssistantRedux state to conditionally hide itself when the chatbot sidebar was open. With the library removed, content tools now render unconditionally.Fixes #1798
Testing
When testing this via
npm run devyou may run into loud SASS build warnings. That's a separate issue, fixed by openedx/frontend-build#683.LLM usage notice
Built with assistance from Claude models (mostly Opus 4.6).