Skip to content

Vyadav#29

Open
vyadav-sonata wants to merge 11 commits intomasterfrom
vyadav
Open

Vyadav#29
vyadav-sonata wants to merge 11 commits intomasterfrom
vyadav

Conversation

@vyadav-sonata
Copy link
Collaborator

GSRE-3458

update package names from edx to 2U

Copilot AI review requested due to automatic review settings February 24, 2026 12:09
@vyadav-sonata vyadav-sonata requested review from a team as code owners February 24, 2026 12:09
Copy link
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

This pull request updates package names from the @edx scope to the @2u scope for four frontend enterprise packages across the entire codebase. This appears to be part of a broader organizational rebranding effort referenced in ticket GSRE-3458.

Changes:

  • Updated package.json to reference @2u scoped packages instead of @edx for: frontend-enterprise-catalog-search, frontend-enterprise-hotjar, frontend-enterprise-logistration, and frontend-enterprise-utils
  • Updated 151+ import statements across all source files to use the new @2u scoped package names
  • Updated all jest.mock() calls and test imports to reference the new package names
  • Updated comments referencing these packages

Reviewed changes

Copilot reviewed 147 out of 147 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
package.json Updated dependencies from @edx to @2u scope for 4 enterprise packages
src/index.jsx Updated hasFeatureFlagEnabled import from @2u/frontend-enterprise-utils
src/config/index.js Updated hasFeatureFlagEnabled import from @2u/frontend-enterprise-utils
src/components/test/testUtils.jsx Updated TODO comment reference to @2u/frontend-enterprise-utils
src/components/subscriptions/* Updated sendEnterpriseTrackEvent imports and jest mocks across subscription components
src/components/settings/* Updated sendEnterpriseTrackEvent imports across settings components
src/components/learner-credit-management/* Updated multiple imports including sendEnterpriseTrackEvent, renderWithRouter, and search components from @2u packages
src/components/UserActivationPage/index.jsx Updated LoginRedirect import from @2u/frontend-enterprise-logistration
src/components/TableComponent/* Updated sendEnterpriseTrackEvent imports and mocks
src/components/ProductTours/* Updated sendEnterpriseTrackEvent imports across all tour components
src/components/PeopleManagement/* Updated sendEnterpriseTrackEvent and renderWithRouter imports
src/components/Header/index.jsx Updated getProxyLoginUrl import from @2u/frontend-enterprise-logistration
src/components/EnterpriseList/* Updated renderWithRouter import
src/components/DownloadCsvButton/index.jsx Updated sendEnterpriseTrackEvent import
src/components/ContentHighlights/* Updated sendEnterpriseTrackEvent and renderWithRouter imports, plus SearchData/SearchHeader from catalog-search
src/components/BulkEnrollmentPage/* Updated SearchContext, SearchData, SearchHeader imports from @2u/frontend-enterprise-catalog-search
src/components/BudgetExpiryAlertAndModal/* Updated sendEnterpriseTrackEvent and renderWithRouter imports
src/components/AuthenticatedEnterpriseApp/index.jsx Updated LoginRedirect import from @2u/frontend-enterprise-logistration
src/components/App/index.jsx Updated initializeHotjar import from @2u/frontend-enterprise-hotjar
src/components/AdvanceAnalyticsV2.0/* Updated sendEnterpriseTrackEvent imports and mocks
src/components/AdminV2/* Updated sendEnterpriseTrackEvent imports and mocks
src/components/AdminRegisterPage/* Updated LoginRedirect, getProxyLoginUrl, isEnterpriseUser, and ENTERPRISE_ADMIN imports from @2u packages

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

Copilot AI review requested due to automatic review settings March 4, 2026 06:58
Copy link
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

Copilot reviewed 147 out of 148 changed files in this pull request and generated 1 comment.


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

Copilot AI review requested due to automatic review settings March 4, 2026 09:33
Copy link
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

Copilot reviewed 148 out of 149 changed files in this pull request and generated no new comments.


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

Copilot AI review requested due to automatic review settings March 17, 2026 06:30
Copy link
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

Copilot reviewed 148 out of 150 changed files in this pull request and generated 1 comment.


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

@codecov
Copy link

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.51%. Comparing base (b511436) to head (57226cb).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   85.49%   85.51%   +0.02%     
==========================================
  Files         816      816              
  Lines       19025    19033       +8     
  Branches     3911     4015     +104     
==========================================
+ Hits        16266    16277      +11     
+ Misses       2694     2662      -32     
- Partials       65       94      +29     

☔ 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.

Copilot AI review requested due to automatic review settings March 17, 2026 14:11
Copy link
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

Copilot reviewed 151 out of 153 changed files in this pull request and generated no new comments.


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

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.

2 participants