Skip to content

feat: added restricted country functionality#1185

Merged
sundasnoreen12 merged 4 commits into2u-mainfrom
sundas/restricted-countries-changes
Mar 19, 2025
Merged

feat: added restricted country functionality#1185
sundasnoreen12 merged 4 commits into2u-mainfrom
sundas/restricted-countries-changes

Conversation

@sundasnoreen12
Copy link
Contributor

@sundasnoreen12 sundasnoreen12 commented Mar 18, 2025

Description

We are introducing a feature that allows platform administrators to restrict users from selecting one or more countries in Profile MFEs.

Merge Checklist

  • If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Sandbox, if applicable.
  • Is there adequate test coverage for your changes?

Post-merge Checklist

  • Deploy the changes to prod after verifying on stage or ask @openedx/2u-infinity to do it.
  • 🎉 🙌 Celebrate! Thanks for your contribution.

@sundasnoreen12 sundasnoreen12 requested a review from a team as a code owner March 18, 2025 16:49
@sundasnoreen12 sundasnoreen12 force-pushed the sundas/restricted-countries-changes branch from 629afbf to 29edfa9 Compare March 18, 2025 16:53
@sundasnoreen12 sundasnoreen12 force-pushed the sundas/restricted-countries-changes branch from 4976fa4 to 3fffbfe Compare March 18, 2025 17:10
@codecov
Copy link

codecov bot commented Mar 18, 2025

Codecov Report

Attention: Patch coverage is 52.00000% with 12 lines in your changes missing coverage. Please review.

Project coverage is 68.73%. Comparing base (2216c1b) to head (896f2ce).
Report is 6 commits behind head on 2u-main.

Files with missing lines Patch % Lines
src/profile/data/services.js 0.00% 10 Missing and 1 partial ⚠️
src/profile/forms/Country.jsx 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           2u-main    #1185      +/-   ##
===========================================
- Coverage    69.32%   68.73%   -0.59%     
===========================================
  Files           72       72              
  Lines         1216     1222       +6     
  Branches       269      273       +4     
===========================================
- Hits           843      840       -3     
- Misses         357      365       +8     
- Partials        16       17       +1     

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

@sundasnoreen12 sundasnoreen12 merged commit bf5dd5b into 2u-main Mar 19, 2025
6 of 8 checks passed
@sundasnoreen12 sundasnoreen12 deleted the sundas/restricted-countries-changes branch March 19, 2025 11:15
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.

4 participants