Skip to content

Commit

Permalink
YOMA-438 - refactor(Profile): save new profile image (#100)
Browse files Browse the repository at this point in the history
* 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
sciphergfx and cameronolivier authored Jul 23, 2021
1 parent 9809cae commit e44e74a
Show file tree
Hide file tree
Showing 18 changed files with 544 additions and 212 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ android {
applicationId "com.yomamobile"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 14
versionCode 15
versionName "0.0.1"
multiDexEnabled true
}
Expand Down
36 changes: 18 additions & 18 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ PODS:
- FBSDKShareKit/Share (= 9.3.0)
- FBSDKShareKit/Share (9.3.0):
- FBSDKCoreKit (~> 9.3.0)
- Firebase/CoreOnly (8.1.1):
- FirebaseCore (= 8.1.0)
- FirebaseCore (8.1.0):
- Firebase/CoreOnly (8.4.0):
- FirebaseCore (= 8.4.0)
- FirebaseCore (8.4.0):
- FirebaseCoreDiagnostics (~> 8.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleUtilities/Logger (~> 7.4)
- FirebaseCoreDiagnostics (8.2.0):
- FirebaseCoreDiagnostics (8.4.0):
- GoogleDataTransport (~> 9.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleUtilities/Logger (~> 7.4)
Expand Down Expand Up @@ -102,17 +102,17 @@ PODS:
- FlipperKit/Core
- FlipperKit/FlipperKitNetworkPlugin
- glog (0.3.5)
- GoogleDataTransport (9.0.1):
- GoogleDataTransport (9.1.0):
- GoogleUtilities/Environment (~> 7.2)
- nanopb (~> 2.30908.0)
- PromisesObjC (~> 1.2)
- PromisesObjC (< 3.0, >= 1.2)
- GoogleSignIn (5.0.2):
- AppAuth (~> 1.2)
- GTMAppAuth (~> 1.0)
- GTMSessionFetcher/Core (~> 1.1)
- GoogleUtilities/Environment (7.4.3):
- PromisesObjC (~> 1.2)
- GoogleUtilities/Logger (7.4.3):
- GoogleUtilities/Environment (7.5.0):
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.5.0):
- GoogleUtilities/Environment
- GTMAppAuth (1.2.2):
- AppAuth/Core (~> 1.4)
Expand All @@ -125,7 +125,7 @@ PODS:
- nanopb/decode (2.30908.0)
- nanopb/encode (2.30908.0)
- OpenSSL-Universal (1.1.180)
- PromisesObjC (1.2.12)
- PromisesObjC (2.0.0)
- RCT-Folly (2020.01.13.00):
- boost-for-react-native
- DoubleConversion
Expand Down Expand Up @@ -407,8 +407,8 @@ PODS:
- React
- RNDateTimePicker (3.5.2):
- React-Core
- RNFBApp (12.1.0):
- Firebase/CoreOnly (= 8.1.1)
- RNFBApp (12.3.0):
- Firebase/CoreOnly (= 8.4.0)
- React-Core
- RNGestureHandler (1.10.3):
- React-Core
Expand Down Expand Up @@ -741,9 +741,9 @@ SPEC CHECKSUMS:
FBSDKCoreKit: 0d1ae58388a458b8222f72025804cdc84eb5d0c3
FBSDKLoginKit: aea68df6121c5e165ccae2fabfdc83c4644ee40f
FBSDKShareKit: 70889c97c62f0c6b3ccb8b999e73a85f19024001
Firebase: 4bb49ae87756034cef870fa3c4006235eb46f475
FirebaseCore: 389c4ce9a7cce4a7e25eb22326b4bee0050557b2
FirebaseCoreDiagnostics: 61384f54989065b15c36b5922b65112e86811d3c
Firebase: 54cdc8bc9c9b3de54f43dab86e62f5a76b47034f
FirebaseCore: 31f389c37ac1ea52454a53d3081f2d7019485a4a
FirebaseCoreDiagnostics: cad03be1904b975f845e632f2720c3337da27faf
Flipper: d3da1aa199aad94455ae725e9f3aa43f3ec17021
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
Flipper-Folly: 755929a4f851b2fb2c347d533a23f191b008554c
Expand All @@ -752,15 +752,15 @@ SPEC CHECKSUMS:
Flipper-RSocket: 127954abe8b162fcaf68d2134d34dc2bd7076154
FlipperKit: 8a20b5c5fcf9436cac58551dc049867247f64b00
glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62
GoogleDataTransport: 04c3e9a480bbcaa2ec3f5d27f1cdeb6a92f20c8d
GoogleDataTransport: 85fd18ff3019bb85d3f2c551d04c481dedf71fc9
GoogleSignIn: 7137d297ddc022a7e0aa4619c86d72c909fa7213
GoogleUtilities: 45dbb24a7f351d69d0a601482b39ad6c32e30dab
GoogleUtilities: eea970f4a389963963bffe8d8fabe43540678b9c
GTMAppAuth: ad5c2b70b9a8689e1a04033c9369c4915bfcbe89
GTMSessionFetcher: 36689134877faeb055b27dfa4ccc9ceaa42e029e
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96
OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97
PromisesObjC: 68159ce6952d93e17b2dfe273b8c40907db5ba58
RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c
RCTRequired: 6d3e854f0e7260a648badd0d44fc364bc9da9728
RCTTypeSafety: c1f31d19349c6b53085766359caac425926fafaa
Expand Down
Loading

0 comments on commit e44e74a

Please sign in to comment.