Closed Todua992 closed 2 days ago
Name | Link |
---|---|
Latest commit | d8c95a1b23996efc957373e65a8cfb6b7ce5cefd |
Latest deploy log | https://app.netlify.com/sites/educado-web/deploys/66ef1a9e1ac82300095a2fcb |
Deploy Preview | https://deploy-preview-106--educado-web.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Description
The 1st batch of frontend updates, are related to course creation to offer a more smooth experience; more specifically regarding creating/deleting sections aswell as components (lectures and exercises). This is achived by utilizing state to keep track of and rerender when data changes instead of refreshing the page to fetch data on every change in the data model.
On top of that, we introduced a new modal, where the user have to type their verification code, which they received on their mail. The same principles were used to create the new modal, as in the Password Reset Modal.
Changes
New Modal when registrating - used same method as when ResetPassword Modal Pops up.
The code in page Signup.tsx "const onSubmit", has been re written, most of the code after .then has been mooved to emailVerification folder in "NavigationFooter.tsx.
Depending on result from backend, it will either show the modal to veirfy mail, or else directly goes to application page, depending if the user used institution mail or not.
Smoother Experience when Creating Course - Creating/Deleting.
Webpage no longer needlessly refreshes when working on creating a cause Unsaved data to sections is no longer unintentionally lost when creating/deleting sessions or items Drag and Drop now works for Sections properly
Related Issues
There might be some merge conflicts, but most of them was not really a merge conflict, rather asked if we would rather use old branch code, or the new incomming code.
Checklist
Screenshots (if applicable)
Backend
Branch -> Deadlock Main Branch ID -> f860c15aaa880fbc351015ddf9dbb66f4027ddf8
Issues
https://github.com/Educado-App/educado-frontend/issues/93 https://github.com/Educado-App/educado-frontend/issues/94 https://github.com/Educado-App/educado-mobile/issues/258
Notes for Reviewers
Good Luck <3