Skip to content

DEB-1421 deichman.no: Redirect on invalid user profile

Tom Adam requested to merge DEB-1421-required-comm-channel into master

DEB-1421 deichman.no: Fixed redirect and Settings form

-Added Formik form to handle all, e-mail/mobile and communication channel in one place (more robust technically less challenging than having channel and e-mail/, mobile in one form, alo better user experience).

-Added more robust redirect

-Hiding nav menu for users logged in with invalid profile (provides far better user experience then allowing clocking around without any effect)

-Added Formik fields to be reused - these are gateway components between deichman-ui and Formik

-Added a pattern to use Formik in the app (form itself is responsible for dispatch, dispatch returns a Promise the form can wait for - matches perfectly in Formik flow). See code for details.

-Improved somewhat logout user experience (LogoutButton)

-Removed 295 lines of code

DEB-1421 deichman.no: Dead session infinite redirect loop fix.

-Added invalidProfile for convenience :)
-Fixed component display for unauthenticated users

DEB-1421 deichman.no: Fixed redirect to /min-side/profil when comm channel is missing for authenticated user.

DEB-1421 keycloak: Added mapping of fields required by missing comm channel

Merge request reports