Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YOMA-438 - refactor(Profile): save new profile image (#100)
* refactor: set up user module * refactor: setup user reducer * refactor(User): set user data in profile viiew * refactor: changes as per PR comments * refactor: revert conflict * refactor: About - should correctly display current data * refactor: updated reducer names * refactor: changes as per PR comments * refactor(User): Aout should correctly save any edits to backend * refactor: changes as per PR comments * refactor: added endpoint correctly * refactor(User): revised biography view * refactor: About - should correctly display current data * refactor: changes as per PR comments * refactor(User): Aout should correctly save any edits to backend * refactor: added endpoint correctly * refactor(User): revised biography view * refactor: added redirect on user credentials update * refactor: fixed user data to profile view * refactor: removed unused variable * refactor: changes as per PR comments * chore: build failing fix * test: changes as per PR comments * refactor: fix conflicts * test: PR comment changes * refactor: implemented PR review changes * refactor: implemented PR review changes * refactor: removed prepareUserPatch util * refactor: changes as per PR comments * refactor: changes as per PR comments * refactor: restored social icons * refactor: sace edited user profile data * refactor: dropdown and profile component changes * refactor: removed ref from profile photo component * refactor: clear user action in reducer * refactor: fixed naming issues * refactor: naming related changes * refactor: import fixes, version bump * refactor: fixed form save bug * refactor: naming changes * refactor: added support for profile image * refactor: removed console.log * refactor: wired middleware for user photo update * test: added tests for updateUserPhotoFlow * refactor: support for null initia formstate * refactor: used middleware for image upload operation * refactor: rename middleware * refactor: supported profile image upload with middleware * test: added TODO for uploadUserPhotoFlow test * test: updated todo description * chore: removed connflict related issues * refactor: added separate middleware for user photo update * chore: dep changes * refactor: reverted to image picker library as dependecy * YOMA-438 - proposed fixes for tests (#101) * refactor(User): refactoring upload photo middleware to get tests working, cleaned up some tests * tests: simplifying the FormInstanceMock function * chore: version bump, release notes Co-authored-by: Cameron Olivier <[email protected]>
- Loading branch information