openedx / frontend-app-account

Open edX micro-frontend application for managing user account information.
GNU Affero General Public License v3.0
18 stars 123 forks source link

feat: added country disabling feature #1116

Closed awais-ansari closed 1 month ago

awais-ansari commented 1 month ago

INF-1567

Description

For Example, if Russia is on the disabled countries list.

Other Country Users will not see Russia in the country list as an

Screenshot 2024-09-14 at 2 10 05 PM Screenshot 2024-09-14 at 2 07 52 PM

Russian user will see Russia in the country list but it'll be disabled and they can change their country to another one.

Screenshot 2024-09-14 at 2 09 07 PM Screenshot 2024-09-14 at 2 09 30 PM

Note

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 76.47059% with 4 lines in your changes missing coverage. Please review.

Project coverage is 58.70%. Comparing base (752d760) to head (d6a23e1). Report is 1 commits behind head on 2u-main.

Files with missing lines Patch % Lines
src/account-settings/AccountSettingsPage.jsx 73.33% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2u-main #1116 +/- ## =========================================== + Coverage 58.61% 58.70% +0.09% =========================================== Files 117 117 Lines 2317 2332 +15 Branches 641 645 +4 =========================================== + Hits 1358 1369 +11 - Misses 898 902 +4 Partials 61 61 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.