Brian Smith
e5f57ec603
fix(deps): regenerate package-lock.json ( #1325 )
...
* fix(deps): regenerate package-lock.json
Co-Authored-By: Claude Code <noreply@anthropic.com >
* test: update snapshots for CSS serialization changes
Minor formatting differences from dependency updates:
- .1px → 0.1px (leading zero)
- url(path) → url("path") (quoted URLs)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-02-13 17:28:33 -05:00
Stanislav
16de1d6a40
feat: Change Twitter to X ( #1186 )
2025-12-08 10:35:36 -05:00
Simone Saturno
d2ed3e54ee
refactor: replaced injectIntl with useIntl ( #1239 )
...
* refactor: replaced injectIntl with useIntl
* test: update tests for useIntl hook implementation
* fix: add missing trailing comma
* test: fix failing component tests and remove deprecated defaultProps
- Fix SwitchContent component defaultProps warning with default parameters
- Fix Visibility component formatMessage errors and remove defaultProps
- Fix FormControls component intl provider issues with useIntl mock
- Fix EditButton component defaultProps and message formatting
- Update EditableItemHeader, EmptyContent components
- Replace React defaultProps with ES6 default parameters across components
- Update test mocking to properly handle useIntl hook
- All 82 tests now pass (previously 4 failed, 78 passed)
Resolves React deprecation warnings and modernizes component patterns.
* fix: add missing trailing comma
2025-08-18 10:00:13 -04:00
Brayan Cerón
8b88de618d
feat: add slot to extend the profile fields ( #1211 )
...
* feat: add extended profile fields functionality with context and form components
* refactor: replace string literals with FORM_MODE constants in profile fields components
* feat: implement BaseField component and refactor field elements to use it
* chore: remove unused webpack development configuration file
* feat: refactor extended profile fields implementation and remove unused components
* feat: update dependencies for frontend-plugin-framework and remove unused dompurify
* refactor: simplify pluginProps structure in ExtendedProfileFieldsSlot component
* feat: add README and example images for Extended Profile Fields slot
* refactor: improve performance & keep consistency
* feat: add Additional Profile Fields slot with example implementation and documentation
* feat: update custom fields image for Additional Profile Fields slot
* fix: reorder import of AdditionalProfileFieldsSlot for consistency
* test: fix snapshot
* fix: adjust margin in example to avoid oddities on mobile
* fix: remove unnecessary empty divs from ProfilePage snapshots
2025-08-13 15:25:45 -04:00
ayesha waris
872fa4c917
test: added test cases to improve test coverage ( #1254 )
...
Co-authored-by: Ayesha Waris <ayesha.waris@192.168 .1.75>
2025-08-13 15:21:09 +05:00
Eemaan Amir
25a0f08850
fix: fixed styling of buttons ( #1250 )
...
* fix: fixed styling of buttons
* test: updated test snapshots
2025-08-07 16:17:55 +05:00
Eemaan Amir
2b3857d922
fix: added country code list to profilePage state ( #1235 )
2025-07-11 18:43:36 +05:00
Eemaan Amir
9d5a89d4c6
feat: removed flag for new profile UI and depreacted old code ( #1233 )
2025-07-11 11:09:13 +05:00
Awais Ansari
762e29047f
feat: merge 2u-main into master ( #1231 )
...
* feat: added country disabling feature (#1084 )
* feat: added country disabling feature
* fix: lint errors
* test: added test case for disabled countries
* refactor: combined test cases
* feat: reskin of Profile MFE main page (#1114 )
* feat: reskin of Profile MFE main page
* feat: reskin of Profile MFE main page
* test: updated tests according to the changes
* fix: added missing name property
* test: updated test snapshot
* test: added tests for reducers
* feat: moved reskin logic behind env variable
* test: updated tests
* refactor: refactored code according to requested changes
* fix: fixed lint errors
* refactor: refactored code according to requested changes
* refactor: refactored code according to requested changes
* feat: fixed reloading issue
* fix: fixed responsiveness issues on mobile view (#1133 )
* fix: fixed reponsiveness issues on mobile view
* test: updated tests
* refactor: refactored code as requested
* test: added not found test case
* test: updated test cases
* feat: added restricted country functionality
* fix: fixed test cases
* test: updated snapshot
* test: updated test cases
* feat: made profile editable (#1212 )
* feat: readded editable fields to new profile view
* feat: made fullname editable and updated design
* test: updated test cases
* refactor: refactored code based on reviews
* feat: made fullname uneditable and added redirect link (#1215 )
* feat: made fullname uneditable and added redirect link
* refactor: refactored code
* refactor: refactored code
* chore: rebase 2u-main with master (#1225 )
* fix(deps): update dependency @edx/frontend-platform to v8.3.3 (#1187 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency core-js to v3.41.0 (#1188 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): update `@openedx` dependencies to versions that support React 18 (#1189 )
* chore(deps): update dependency @openedx/frontend-build to v14.4.1 (#1191 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update react-router monorepo to v6.30.0 (#1192 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat: upgrade react to v18 (#1190 )
* fix(deps): update dependency @edx/frontend-platform to v8.3.4 (#1195 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/frontend-component-footer to v14.4.0 (#1196 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/frontend-component-header to v6.3.0 (#1197 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/frontend-component-footer to v14.6.0 (#1199 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/openedx-atlas to ^0.7.0 (#1200 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/frontend-component-header to v6.4.0 (#1201 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat: import `FooterSlot` from component package instead of slot package (#1198 )
* chore(deps): update dependency glob to v11.0.2 (#1202 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/frontend-component-footer to v14.7.0 (#1203 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/frontend-component-footer to v14.7.1 (#1204 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency core-js to v3.42.0 (#1205 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/frontend-platform to v8.3.6 (#1207 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): update commitlint monorepo to v19.8.1 (#1206 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/frontend-platform to v8.3.7 (#1209 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/frontend-component-footer to v14.7.2 (#1213 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update react-router monorepo to v6.30.1 (#1214 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/frontend-platform to v8.3.9 (#1216 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency @edx/frontend-component-footer to v14.9.0 (#1217 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat!: add design tokens support (#1220 )
BREAKING CHANGE: Pre-design-tokens theming is no longer supported.
Co-authored-by: Diana Olarte <diana.olarte@edunext.co >
* fix: fixed lint issues
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Brian Smith <112954497+brian-smith-tcril@users.noreply.github.com >
Co-authored-by: Hunia Fatima <huniafatima99@gmail.com >
Co-authored-by: Diana Olarte <diana.olarte@edunext.co >
Co-authored-by: sundasnoreen12 <sundasnoreen12@gmail.com >
* fix: fixed font sizing issue after applying elm theme (#1228 )
* Revert "fix: fixed font sizing issue after applying elm theme (#1228 )" (#1232 )
This reverts commit a9159f6613 .
---------
Co-authored-by: muhammadadeeltajamul <muhammadadeeltajamul@hotmail.com >
Co-authored-by: Muhammad Adeel Tajamul <77053848+muhammadadeeltajamul@users.noreply.github.com >
Co-authored-by: Eemaan Amir <57627710+eemaanamir@users.noreply.github.com >
Co-authored-by: sundasnoreen12 <sundasnoreen12@gmail.com >
Co-authored-by: sundasnoreen12 <72802712+sundasnoreen12@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Brian Smith <112954497+brian-smith-tcril@users.noreply.github.com >
Co-authored-by: Hunia Fatima <huniafatima99@gmail.com >
Co-authored-by: Diana Olarte <diana.olarte@edunext.co >
Co-authored-by: eemaanamir <eemaan.amir@gmail.com >
2025-07-10 10:12:21 +05:00
Brian Smith
981dccf2d5
feat!: add design tokens support ( #1220 )
...
BREAKING CHANGE: Pre-design-tokens theming is no longer supported.
Co-authored-by: Diana Olarte <diana.olarte@edunext.co >
2025-06-18 12:13:59 -04:00
Awais Ansari
c8a6f9fbd8
test: updated profile test cases ( #1182 )
2025-03-18 15:58:48 +05:00
sundasnoreen12
b597e2cc14
Revert "feat: addd countries changes for embargo"
2025-02-22 15:44:11 +05:00
sundasnoreen12
9a26dc7088
refactor: refactored test file
2025-02-20 16:55:53 +05:00
sundasnoreen12
770a248d8c
refactor: fixed review suggestions
2025-02-19 16:14:48 +05:00
sundasnoreen12
70cb1803b4
refactor: added constant
2025-02-17 21:09:11 +05:00
sundasnoreen12
e9aa787ade
test: fixed test case
2025-02-17 18:29:21 +05:00
sundasnoreen12
01e2f1af79
test: fixed test cases
2025-02-17 18:10:57 +05:00
sundasnoreen12
1e67d51394
feat: addd countries changes for embargo
2025-02-17 13:18:02 +05:00
sundasnoreen12
c66facee92
feat: fixed loading issue for wrong username
2024-11-26 16:32:50 +05:00
Bilal Qamar
b27300e63d
fix: updated failing snapshots ( #1070 )
2024-08-21 07:21:48 -07:00
Emad Rad
6aaf615c63
fix: make raw string a formatted message ( #1041 )
2024-06-24 09:49:14 -07:00
Bilal Qamar
ee8912530d
feat: updated frontend-build & frontend-platform major versions ( #932 )
...
* chore: updated frontend-build
* fix: updated snapshots for failing tests
* refactor: switched frontend-build to openedx, updated screenshots
* refactor: added overrides to resolve dependency issues
* refactor: updated frontend-build to alpha
* refactor: updated frontend-build
* feat: updated build and platform major versions, along with edx packages
* refactor: updated package-lock
* refactor: resolved lint issues
---------
Co-authored-by: Muhammad Abdullah Waheed <abdullah.waheed@arbisoft.com >
2024-05-22 13:21:34 -04:00
mashal-m
15a81ee09f
feat: replace legacy LMS url with account mfe url
2024-03-04 14:52:12 -03:00
Mashal Malik
676166a160
refactor: replace @edx/paragon and @edx/frontend-build ( #945 )
...
* refactor: replace @edx/paragon and @edx/frontend-build
* refactor: updated edx packages
---------
Co-authored-by: mashal-m <mashal.malik@arbisoft.com >
Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com >
2024-02-22 09:21:04 -08:00
Deborah Kaplan
5726470881
feat: updating the snapshots
...
update jest snapshots
2024-01-24 21:33:26 +00:00
Syed Ali Abbas Zaidi
8d1dbfe55d
Merge branch 'master' of github.com:openedx/frontend-app-profile into bilalqamar95/enzyme-to-rtl-migration
2024-01-22 17:42:03 +05:00
Syed Ali Abbas Zaidi
8eb0029970
chore: remove react-test-renderer
2024-01-22 17:38:53 +05:00
vladislavkeblysh
e59ab99d45
feat: Fixed displaying banner and certificates on mobile view ( #860 )
...
* feat: fixed displaing banner and certificates on mobile view
* feat: update snapshot
2024-01-08 13:58:27 -05:00
Bilal Qamar
42810a5e36
feat: migrated tests from enzyme to RTL
2023-12-19 15:02:27 +05:00
Ihor Romaniuk
5cf7db140c
fix: trim long text in form controls and username block ( #888 )
...
* fix: trim long text in form controls and username block
* fix: update snapshots
2023-11-08 13:56:49 -05:00
vladislavkeblysh
860d2e6f5e
feat: fixed displaying field and visibility forms ( #864 )
2023-11-08 13:41:54 -05:00
Syed Ali Abbas Zaidi
fe800f2ee9
feat: upgrade react router to v6 ( #716 )
...
* feat: upgrade react router to v6
* refactor: add hoc to use params
* fix: lint issue
2023-09-05 14:55:23 -04:00
Swayam Rana
038c2a845f
feat: Pact Contract Consumer testing with the Account API, and implement stub script
2023-07-11 15:15:33 +00:00
Eugene Dyudyunov
549d51509b
fix: error when trying to save 'other education' ( #667 )
...
When user selects "Other Education" and clicks save - error occurs.
It's caused by the wrong API call payload value `'o'`
Fix: use the `'other'` payload value instead (the valid one).
2023-07-03 10:22:13 -07:00
renovate[bot]
3b68201748
fix(deps): update dependency @edx/frontend-component-header to v4.2.3 ( #743 )
...
* fix(deps): update dependency @edx/frontend-component-header to v4.2.3
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Wesson <jwesson@2u.com >
2023-07-03 10:13:11 -07:00
Jason Wesson
50d80ef614
fix: adjust header height and content when window is medium in width or less ( #756 )
...
* fix: adjust header height and content when window is medium in width or less
* feat: convert stepper header's contents to compact view for medium windows (or less)
---------
Co-authored-by: Jason Wesson <jwesson@2u.com >
2023-06-06 11:10:00 -07:00
Jason Wesson
04607dba1d
Feat: display Learning Goal in profile ( #676 )
...
* feat: add unit tests for LearningGoal component
* feat: add LearningGoals component to Profile
---------
Co-authored-by: Jason Wesson <jwesson@2u.com >
2023-02-08 13:54:47 -08:00
Justin Hynes
25d0ecb531
fix: remove learner record MFE URL building logic
...
[APER-2240]
The Profile MFE no longer needs to understand anything about the Learner Record MFE. The Credentials IDA now has logic to determine if a request should be redirected to the Learner Record MFE so we can remove these changes from the Profile MFE.
2023-01-30 14:00:13 -05:00
Jason Wesson
e5ee7894b0
refactor: updated frontend-build & resolved eslint issues ( #654 )
...
Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com >
2022-12-22 12:00:53 -08:00
mashal-m
da5bf2f533
build: use shared browserslist configuration and upgrade paragon version
2022-12-15 12:43:57 +00:00
Diana Olarte
4f00bc43b9
feat: allow runtieme configuration ( #586 )
...
Allows frontend-app-profile to be configured at
runtime using the LMS's new MFE Configuration API.
Part of https://github.com/openedx/frontend-wg/issues/103
2022-10-17 12:13:59 -04:00
Bilal Qamar
22d0f8b688
refactor: updated tests to accommodate jsx-no-constructed-context-values rule
2022-09-20 16:08:15 -04:00
Bilal Qamar
95cffc73f1
refactor: pinned frontend-build version & ignored jsx-no-constructed-context-values for tests
2022-09-20 16:08:11 -04:00
Bilal Qamar
759428dd3e
refactor: resolved eslint issues after master branch merge
2022-09-20 16:07:50 -04:00
Bilal Qamar
3733497ecb
refactor: resolved eslint issues
2022-09-20 16:06:40 -04:00
Muhammad Abdullah Waheed
7503e6c5cb
Paragon form component deprecations ( #596 )
...
* refactor: removed ValidationFormGroup deprecations
* refactor: updated unit tests
* fix: linting issue
* refactor: added unit tests for some uncovered code
2022-08-18 10:41:50 +05:00
Muhammad Abdullah Waheed
34a9caa0bb
fix: Paragon StatusAlert deprecation ( #574 )
...
* refactor: migrated StatusAlert deprecated package to Alert in AgeMessage component
* refactor: migrated StatusAlert deprecated package to Alert for remaining components
* refactor: changed snapshot to unit test to fix ci issue
* fix: updated unit test scrip to make it consistent to timezone differences and fixed snapshot issue
* feat: added unit tests of SocialLinks component to fix ci issue and improve coverage
* refactor: used aria-labelledby in place of ID as suggested in PR
* fix: unnecessary removal of coverage from test script
* fix: typo
2022-08-11 08:20:50 -04:00
Diana Catalina Olarte
1acc1d0262
fix: show site name instead edX
2022-05-23 14:36:49 +01:00
David Joy
e4033037f2
build: adding nvmrc, bumping paragon to latest ( #557 )
...
* build: adding nvmrc, bumping paragon to latest
Adding .nvmrc is a nicety. Bumping paragon to latest is necessary to ensure compatiblity with the edX override header (frontend-component-header-edx).
* test: snapshot needed updating to account for new data-testid
This is the result of upgrading to the latest paragon. Presumably some test IDs were added.
2022-05-09 16:15:48 -04:00
edX requirements bot
918aa91e49
feat: Added support for node v16 ( #530 )
...
Co-authored-by: Mohammad Ahtasham ul Hassan <ahthassan74@gmail.com >
2022-03-25 14:51:14 +05:00