Replaced hardcoded text with i18n components
Added title to confirmation button for a/b testing purposes
Redirect the user to the beginning of the process on reload to avoid losing camera access, also removed unused code
Update src/id-verification/IdVerificationContext.jsx, make children prop required
Co-authored-by: Kyle McCormick <kmccormick@edx.org>
Remove todo comment in ImageFileUpload.jsx
Added comment to service.js and removed unused code from index.js
Fix 404 page from displaying when it shouldn't
Was displaying below the settings page itself
Add panels for each step of the verification flow
Add IdVerificationContext
Add BasePanel
Revert "Add BasePanel"
This reverts commit 2ddca14b4b8b35cd23f0525f49070753c09d361d.
Add BasePanel
Focus heading elements on mount
Add current account name to GetNameIdPanel
Fix nested button focus problem
Add a friendly camera permission request
Remove double ctas
lint
Add initial service.js file; not tested
Add image file uploads
fix temp heading of photo context panel
Add photo id name input
Add redirect logic for users who find themselves too far in the flow
add wip SubmittedPanel
Wire up Submit button
Update routing-utilities.js
Preview image on summarypenl; still buggy
Add some content and styles
update first panel content
Update headings
Use ImagePreview component on SummaryPanel
Fix service.js; it works now
More content and fix for name input
ImagePreview: Change 'name' to 'alt'
Add content to camera request
Fix ImagePreview alt text
Iterating on SummaryPage
Add privacy info modal
Update name entry
Make the footer sticky to the bottom
Update upload photo screens
Add photo to name panel
camera component
overlay camera button
implement camera component
remove camera tracking
Add retake photo buttons
Add service for verification status endpoint
delete old css
lint fix
Better name edit state
portrait photo page
Add edit name from summary
Add content to submitted screen
lint
Rename status service function
Add clarity to summary view text
First pass at gating based on existing idv
Clean up IDv-status-gating screens
finish up webcam/photo pages
remove unused tracking library
* MB-366 don't save non eligible coaching number
This fixes a few little bugs in the system as well as the one listed in
the ticket.
* We no longer make an extra API call to user profile when toggling
coaching
* The user now must toggle coaching off to save a non-eligible phone
number
* If the user changes to another US based phone number, or is not
consented to coaching, the phone number will save as normal.
* Fix weird code
Recently we have changed rate limiting configuration for password reset
endpoint to one request per email and IP. I have added the frontend
functionality to show proper error message to users.
PROD-1427
Originally, we had it set up so that the coaching consent form saved 33
values in parallel. This add a new saga (saveMultipleSettings) to save
those 3 values in sync. This way, if one fails, the rest of the calls
fail.
Something to watch out for here: the order matters. The array that you
give the save function must be ordered in the way you need the data
saved.
Before this fix, we were having an issues where upon the first time a
user signs up with the coaching form, the phone number would not save.
This was because of the way we patch the user in the form. The phone
number was saving properly, then getting overwritten with `null`.
This fixes that issue, and also cleans up an error message.
* 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>
- 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.
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.
* 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.