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).
[APER-2262]
- add a utility function to retrieve product recommendations based on skills from a job a learner is interested in
- add additional tests and coverage around new utility functions in `search.jsx`
[APER-2261]
* rename `hooks.jsx` to `search.jsx` as this is more of a collection of utilities for working with Algolia
* add a utiltiy function for returning job info (from our "job" Algolia index) based on a list of jobs a learner is interested in
* add a utility function for formatting job names based on the syntax Algolia expects
[APER-2261]
This PR adds Algolia support to the Profile MFE and the upcoming Skills Builder feature.
* Adds new dependency for the `algoliasearch` package
* Add new config to support Algolia
* Update MFE configuration so we can access the new configuration variables
* Add hook to initialize Algolia client and return job and product Algolia indexes (based on settings)
* Update SkillsBuilderModal to add test code that displays the results of querying Algolia
* feat: add unit tests for LearningGoal component
* feat: add LearningGoals component to Profile
---------
Co-authored-by: Jason Wesson <jwesson@2u.com>
[APER-2258]
This PR adds the SkillsBuilderHeader component to the profile MFE.
There was also some additional refactoring work required to display the header in the modal. The FullscreenModal component is not flexible enough to allow custom header designs to be displayed (only text). We have to pivot to using the `ModalDialog` family of components instead.
[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.
* 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