Commit Graph

65 Commits

Author SHA1 Message Date
Brian Smith
fc60d9f7d1 chore(deps): update paragon and frontend-build to openedx scope (#1132) 2024-01-24 10:10:13 -05:00
Syed Sajjad Hussain Shah
4ff14c8731 fix: fix duplicate mfe context calls and cookie set exc (#1103) 2023-11-16 10:44:29 +05:00
Zainab Amir
5e15969f4a Recommendations v2 (#1040)
* feat: add personalized recommendations (#1024)

* use Algolia for personalized recommendations
* show personalized recommendations to use that have consented
to functional cookies
* update tests

VAN-1599

* Revert "fix: special characters in redirect url getting decoded to space (#1029)" (#1030)

This reverts commit fc62241332.

* feat: update recommendations page design (#1036)

VAN-1598

* feat: add events for recommendations (#1039)

* feat: remove static recommendations

---------

Co-authored-by: Syed Sajjad Hussain Shah <52817156+syedsajjadkazmii@users.noreply.github.com>
2023-09-08 12:08:41 +05:00
Syed Sajjad Hussain Shah
d469102cee refactor: registration component refactoring (#1050)
* refactor: registration component refactoring

* fix: refactored constants
2023-09-05 13:52:25 +05:00
Syed Sajjad Hussain Shah
9730a4f55d Revert "fix: special characters in redirect url getting decoded to space (#1029)" (#1030)
This reverts commit fc62241332.
2023-08-15 15:45:31 +05:00
Syed Sajjad Hussain Shah
fc62241332 fix: special characters in redirect url getting decoded to space (#1029) 2023-08-15 13:24:27 +05:00
Mubbshar Anwar
fa4a0ac2d5 feat: param based cta and redirection (#984)
Register CTA label and authn redirection would be based on query params.

VAN-1535
2023-07-20 11:43:32 +05:00
Syed Sajjad Hussain Shah
9e13141f6b fix: render embedded experience through pathname (#949) 2023-06-19 13:44:30 +05:00
Blue
4b64ce2534 fix: make host param compulsory (#948)
Description

Make host param compulsory and host should grab from query params when calling postMessage api

VAN-1485
2023-06-16 14:44:34 +05:00
Mubbshar Anwar
1e10e9c89c feat: registration conversion events (#942)
Passing variant property to registration and progressive profiling events to calculate on ramp conversion rate.

VAN-1478
2023-06-16 09:42:04 +05:00
Zainab Amir
5edcee9eb9 feat: allow welcome page to load for embedded experience (#944) 2023-06-15 15:46:34 +05:00
Syed Sajjad Hussain Shah
d41c06b1fd feat: allow embedded experience to open register page for authenticated users (#945)
VAN-1482
2023-06-15 14:42:09 +05:00
Blue
2a2c5abc81 fix: redirect user to welcome page (#939) (#941)
Description
Redirect the user to welcome page after registration, as Authn is embedded in iframe which is located in Hubspot so we call window.postMessage function from Authn which let the Hubspot knows about redirect URL and then reload the welcome page in parent window.

VAN-1474
2023-06-15 12:29:04 +05:00
Blue
5c1ea04970 fix: change registration form for onramp (#939)
Description:
In this we have changed the regirstation form on the basis of embed query param and hide the multiple things

VAN-1476
2023-06-13 16:10:39 +05:00
Attiya Ishaque
5ebd22f088 fix: remove survery cookie (#937) 2023-06-08 18:56:00 +05:00
Zainab Amir
ce28add152 fix: conditionally initialize optimizely (#862) 2023-05-02 16:11:55 +05:00
renovate[bot]
06c4f75b4a chore(deps): update dependency eslint-plugin-import to v2.27.5 (#811)
* chore(deps): update dependency eslint-plugin-import to v2.27.5

* fix: fix eslint tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: attiyaishaque <atiya.ishaq@arbisoft.com>
2023-04-13 13:41:10 +05:00
ahtesham-quraish
ec8b256852 fix: remove depricated getQueryParams
Replace getQueryParams function with getAllPossibleQueryParams function

VAN-1348
2023-04-11 10:27:55 +05:00
Syed Sajjad Hussain Shah
294519c7a5 feat: shift recommendations experiment to optimizely full stack (#770)
VAN-1330

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-03-09 15:13:46 +05:00
Zainab Amir
8e527efd07 zamir/van 1295/add tests for recommender (#755)
* feat: VAN-1295 add tests for recommendations
* feat: add test for loading state

VAN-1295
2023-02-23 13:59:21 +05:00
Mubbshar Anwar
c31c03f5a9 feat: personalized recommendations (#751)
configured algolia for recommendations based on user location or education level
VAN-1287

Co-authored-by: Mubbshar Anwar <mubbsharanwar@users.noreply.github.com>
2023-02-22 10:59:00 +05:00
Attiya Ishaque
1f21a874b8 feat: [VAN-1291] add recommendation page (#743) 2023-02-17 17:02:25 +05:00
Zainab Amir
525abe6b88 feat: update configs (#721) 2023-01-06 10:49:47 +05:00
Attiya Ishaque
f8fe704c42 fix: rename welcome pages and flag to progressive profiling (#720) 2022-12-30 14:00:24 +05:00
Zainab Amir
85fbc54384 feat: refactor registration page 2022-12-13 11:35:05 +05:00
Zainab Amir
7ac8f6a40a feat: VAN-1056 - remove formik (#621) 2022-08-31 16:04:09 +05:00
Waheed Ahmed
f83c24c020 fix: eslint issues 2022-07-21 14:45:56 +05:00
Zainab Amir
5f2570c440 feat: update logistration pages (#591)
- removed few unused classes
- updated login page to rely on error messages generated
from the frontend only.

VAN-138
2022-06-30 17:02:04 +05:00
Syed Sajjad Hussain Shah
9c555c06be fix: Manage imports eslint [VAN-48] 2022-06-17 15:32:41 +05:00
Zainab Amir
2099e62bb4 feat: add password change modal (#552)
* feat: add password change modal

Based on the error code sent from the platform, the modal will either
be to nudge users to change password or block users from logging in.

VAN-667
VAN-668
2022-04-04 16:42:07 +05:00
Jawayria
b493a09c63 feat: add support for node v16 2022-03-18 14:44:22 +05:00
Shafqat Farhan
182fb34a03 feat: VAN-876 - Rename register experiment with improved metrics (#537) 2022-03-09 16:18:51 +05:00
Zainab Amir
6e99e1e72c feat: add dynamic optional fields support (#534)
Added a new component that renders fields based on the
field descriptions returned from backend

VAN-835
2022-03-01 16:00:37 +05:00
Mubbshar Anwar
be783fed99 feat: fire track event (#456)
fire track event for save for latter course
VAN-741
2021-11-22 14:47:42 +05:00
Attiya Ishaque
68cc93da1c fix: [VAN-332] Full name validation on registration page. (#416) 2021-08-12 13:25:58 +05:00
Waheed Ahmed
32300db8dd refactor: remove legacy code and move redesign code to src
VAN-670
2021-07-28 16:42:37 +05:00
Waheed Ahmed
e59f11a96e feat: added support for both legacy and new design (#349) 2021-07-27 16:57:14 +05:00
uzairr
4108336f40 add edx as a valid service provider 2021-07-27 16:57:14 +05:00
uzairr
f116b62057 add did u mean email feature 2021-07-27 16:57:14 +05:00
Zainab Amir
bab2d33cbf Redesign registration page (#241)
- Created a based logistration component that will load login and register
components
- Updated tests
- Updated base component

VAN-405
2021-07-27 16:57:14 +05:00
Waheed Ahmed
ea51a584e7 feat: set returning user cookie (#312)
Set returning user cookie to measure exit rate for A/B test.
2021-06-04 15:17:52 +05:00
Mubbshar Anwar
a8eb5916eb Add welcome page (#302)
Add welcome page for A/B testing

VAN-514
2021-06-01 17:46:52 +05:00
Waheed Ahmed
b76998a36c feat: allow survey cookie to be used for login (#277)
Refactored register survey cookie to be used for login survey as well.

VAN-462
2021-05-10 21:10:43 +05:00
Waheed Ahmed
96d1be44c2 Fix scroll error for older browsers. (#235)
Check if scrollBehavior is supported otherwise fallback to two arguments
window.scrollTo(x-coord, y-coord).

VAN-439
2021-04-07 15:28:26 +05:00
adeelehsan
41a0deea5b skip hinted login check added for enterprise SSO 2021-04-01 14:59:28 +05:00
adeelehsan
738fda4622 redirect MFE to tpa url if tpa_hint
is secondary provider

VAN-401
2021-03-26 01:04:55 +05:00
Waheed Ahmed
beac574c12 Fix enrolment through SSO login/register. (#211)
VAN-415
2021-03-18 19:18:59 +05:00
Waheed Ahmed
c2d9a9384d Keep the query params intact within the app. (#201)
Currently, if the user lands on one page with course_id and enroll action
params and navigates to another page with the MFE, the query params
are not passed to that other page and resulting in not enrolling into
the course.

Also add these query params into login and register payload.

VAN-415
2021-03-11 20:01:16 +05:00
Adeel Khan
117325ec2a Ratelimit handling for validate and password reset endpoints.
* This patch implements ratelimit handling code for
validate token and password reset end points.
* Adds graceful error messages for such case

VAN-312
2021-02-24 15:56:37 +05:00
Adeel Khan
11888fcdc3 Fix to let tpa_hint url have ? instead of &
Now the url could also be of the form
?next=/dashboard?tpa_hint=oa2-google-oauth2
to be backward compatible with old url.

VAN-42
2021-02-22 11:32:09 +05:00