Commit Graph

114 Commits

Author SHA1 Message Date
Kyle McCormick
13c5b12500 Make React routes relative 2020-04-05 17:23:42 -04:00
Albert (AJ) St. Aubin
7361674019 Created the form to collect phone number and name for coaching. 2020-04-02 13:53:36 -04:00
edX Transifex Bot
3e5bf2b19a fix(i18n): update translations 2020-03-22 17:06:24 -04:00
Adeel Khan
66b27a01d0 Fix timezone dropdown under Site Preferences
This patch would fix timezone dropdown which
doesn't change  value on selection.

PROD-1349
2020-03-19 22:52:38 +05:00
Thomas Tracy
9c9725c86c Bypass key check until we are ready to add it to internal (#197) 2020-03-16 13:59:52 -04:00
Thomas Tracy
3a49fb3296 Fix 404 error for coaching (#195) 2020-03-16 11:52:45 -04:00
Thomas Tracy
c1d1af4943 Add phone number field and coaching consent toggle (#192)
* Add phone number field and coaching consent toggle

MB-196

Adds phone number and coaching consent toggle to the profile. Currently,
toggled off in production, until we are ready for MB learners to start
recieving coaching.

* fix(deps): update dependency @fortawesome/react-fontawesome to v0.1.9

* fix(deps): update dependency @edx/frontend-component-footer to v10.0.8

* Add phone number field and coaching consent toggle

MB-196

Adds phone number and coaching consent toggle to the profile. Currently,
toggled off in production, until we are ready for MB learners to start
recieving coaching.

* Made requested changes and additional fixes

* Requested changes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-16 10:55:36 -04:00
edX Transifex Bot
39b57ead67 fix(i18n): update translations 2019-12-04 11:18:43 -05:00
edX Transifex Bot
4276442bfa fix(i18n): update translations 2019-12-03 13:54:55 -05:00
edX Transifex Bot
f4811efe66 fix(i18n): update translations 2019-12-01 16:08:23 -05:00
Adam Butterworth
ea37cf01dd feat: upgrade to frontend-platform (#126)
* feat: upgrade to frontend-platform

* Upgrading frontend-platform and re-generating package-lock.json

* Enabling duplicate_provider check again

* overrideHandlers.loadConfig -> handlers.config
2019-11-25 12:35:02 -05:00
David Joy
15d8836a8c fix: all account settings page elements now re-localize when the locale changes (#125)
- Ceased using i18nReducer and setLocale from frontend-i18n.
- Caused a number of dropdown menus to re-localize properly.
- Published LOCALE_CHANGED event when changing locale so that AppProvider updates the AppContext accordingly.
2019-11-20 16:54:21 -05:00
David Joy
05ea18f70d Small refactor to make updating the site language sequential (#124)
We were calling the setlang and preferences endpoints in parallel - it’s not clear whether this might create a race condition.  Instead, we now call preferences first, followed by i18n/setlang.  This matches the behavior of the django-based account settings page.
2019-11-13 14:16:20 -05:00
David Joy
cca4af7cc1 fix: adding underlines into JumpNav again (#123) 2019-10-31 12:52:13 -04:00
edX Transifex Bot
b1a5f98541 fix(i18n): update translations 2019-10-27 17:03:19 -04:00
David Joy
8020ff58b8 Adding frontend-base (#120)
* Use the new header and footer.

Note: Because we’re not fully using frontend-base yet, the header is broken.  It’ll start working once frontend-base’s App singleton is properly initialized.

* Initializing the app via App.initialize

- Removes App component
- Cleans up environment configuration - SUPPORT_URL is the only custom env variable.
- Cleans up usage of SUPPORT_URL and LOGOUT_URL to take advantage of App.config.

* Convert delete-account service to use App.

* Using App for services and cleaning up associated code.

Also pulling out the frontend-auth shim, since it was also dead and was sorta API-service like.

* Cleaning up “common” and some dead code.

- Most of it goes into account-settings for now.
- Shuffling the “utils” files around to classify them better.
- Removing unused assets

* Moving files into data subdirectory in account-settings

Including all the utils stuff.

* Moving top level reducers/sagas into a data dir

* Fix import bug with sagaUtils

* Removing connected-react-router

* Ceasing to use authentication and configuration from redux

Also removing some unnecessary test config.

* Updating redux init to default to prod.

Also fixing a bug where it wasn’t going into prod mode at all.

* Moving the duplicateTpaProvider logic out of redux

This lets us stop setting initial state on redux.

Also removing url-polyfill.

* A little cleanup.

* Remove default exports to keep the pattern the same.
2019-10-25 12:45:37 -04:00
David Joy
149cce731d Convert to using frontend-build. (#118)
Goodbye dependencies!  Goodbye config!
2019-10-21 12:30:24 -04:00
Adam Butterworth
274af6c2e5 fix: remove youtube logo from footer (#117) 2019-10-16 14:29:24 -04:00
David Joy
c566b157d9 Add favicon, run npm audit fix, and remove CSRF_TOKEN_NAME (#114)
* Adding a favicon

* Running npm audit fix

* Removing CSRF_COOKIE_NAME
2019-10-11 15:03:29 -04:00
edX Transifex Bot
5c578af96c fix(i18n): update translations 2019-08-13 14:18:12 -04:00
edX Transifex Bot
39cd052a81 fix(i18n): update translations 2019-07-21 17:02:20 -04:00
Douglas Hall
68928291bc Send event when discover new header link clicked 2019-06-25 17:42:02 -04:00
edX Transifex Bot
917f7cb486 fix(i18n): update translations 2019-06-16 17:07:52 -04:00
Douglas Hall
29269fcdbb Update header links. 2019-06-12 11:29:57 -04:00
Douglas Hall
23e6ca6bc4 Fix identityAuthenticatedUser call. 2019-06-12 10:29:00 -04:00
edX Transifex Bot
f43bc5597c fix(i18n): update translations 2019-06-09 17:02:59 -04:00
David Joy
481e38c308 Bump frontend-i18n version and use its scripts. (#100) 2019-06-07 11:13:11 -04:00
Douglas Hall
0d61d09ddd Render ErrorPage component via app-level error boundary. 2019-06-06 14:00:31 -04:00
David Joy
223ea212bc Adding tests for delete account. (#98)
- comprehensive reducer tests
- UI snapshot tests for most (all?) states
2019-06-06 09:40:35 -04:00
Douglas Hall
4132963bfb Handle Google Translate DOM manipulation error scenario. 2019-06-05 15:34:01 -04:00
David Joy
bbe2a6ab49 Get correct path to tpaProviders. (#96) 2019-06-05 13:35:54 -04:00
David Joy
defd969a80 Fix third party auth naming issues (#95)
Two problems:

- The auth providers were being added to the wrong part of the store.
- The ThirdPartyAuth component expected them to have the name “providers”, not “authProviders” - great reason to keep names consistent!
2019-06-05 13:15:44 -04:00
David Joy
d33cb658e2 Modularizing third party auth. (#93) 2019-06-05 12:25:16 -04:00
David Joy
15708b1154 Modularizing ResetPassword. (#92) 2019-06-05 11:06:56 -04:00
David Joy
c3749e9c7f Cleaning up delete account actions and action types. (#91) 2019-06-04 20:12:25 -04:00
David Joy
30914e6d6f Misc whitespace, deletions, and simplifications. (#90) 2019-06-04 17:31:19 -04:00
David Joy
78b5991c89 Modularizing DeleteAccount (#87) 2019-06-04 16:03:42 -04:00
Adam Butterworth
0ea87767af fix: async states for tpa disconnect is per provider not shared (#89) 2019-06-04 13:02:30 -06:00
Adam Butterworth
3e50222528 feat: add scrollspy to jump nav (#88) 2019-06-04 13:02:06 -06:00
edX Transifex Bot
c912f0e5d5 fix(i18n): update translations 2019-06-04 12:20:02 -04:00
David Joy
386d2ab1f3 Tidy: step 1, shuffle common components and add a utility function (#81)
* Adding getModuleState helper method.

* Light component rearranging in preparation for moving into subdirectories.
2019-06-04 09:49:59 -04:00
edX Transifex Bot
e8369ff5b7 fix(i18n): update translations 2019-06-03 16:05:34 -04:00
Adam Butterworth
d9d14202c5 feat: handle i18n rtl with postcss-rtl (#83) 2019-06-03 13:43:56 -06:00
edX Transifex Bot
14ded7cc23 fix(i18n): update translations 2019-06-02 17:08:03 -04:00
Douglas Hall
e6246f3233 Remove render block on fetchUserAccount. 2019-05-31 16:04:28 -04:00
albemarle
cee06f4e25 fix(delete my account): fix problem with password managers making modal open (#74) 2019-05-30 16:00:28 -04:00
David Joy
8070ec1acf Adding formdata polyfill for IE and Edge. (#72) 2019-05-30 13:53:04 -04:00
albemarle
ed43fe3b37 feat(delete my account): improvements in error handling for confirmation modal (#70) 2019-05-29 17:40:37 -04:00
David Joy
a026f09b63 Polyfill URL class (#69) 2019-05-29 16:29:02 -04:00
Adam Butterworth
e322ae18aa fix: increase clarity of a11y landmarks (#68) 2019-05-29 10:58:26 -06:00