-
Notifications
You must be signed in to change notification settings - Fork 7
new submission permission box + test #122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
armin-bkh
wants to merge
98
commits into
dev
Choose a base branch
from
submitTree-test
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- tsconfig.json update to ignore any - plugins added for test in babel.config.js - i18next and react-18next and react-js-pull-to-refresh packages updated - @testing-library/react-native package installed - __test__ directory -- selectPlantType.test.tsx --- mock props --- should be defined test --- render SelectPlantType
- CheckingPermissions test - mock permissions list in different states
- PermissionItem new test - CheckPermissionV2 box component -- CheckPermissionV2 blocked state tests -- CheckPermissionV2 granted state tests
- PermissionItem.test.tsx updated -- test SubmissionSettings.test.tsx - toggle submission settings component in CheckPermissionsV2 -- test CheckPermissionsV2.test.tsx - permissionsList util to create permissions array - stylesToOneObject to store all the element styles in one object - customize testingLibrary render method -- wrap providers on ui component - babel issue fixed - jest preset changed to jest-expo
- StartPlantButton.test.tsx - navigationRef - stylesToOneObject improved - add coverage flag for better testing - Button.test.tsx
SelectPlantTypeV2.test.tsx
- remove SelectPhoto, SelectOnMap, SubmitTree screens from TreeSubmissionV2
- TestSubmissionStack
- TestSubmissionStack flow changed - checkElements utils -- isClassComponent -- isFunctionComponent -- isReactComponent -- isElement -- isElementOrComponent - LockedSubmissionField component -- UI -- test - SelectTreeLocation -- UI -- test - Simple SubmitTreeV2 screen component -- to test and develop inner components - v2 Route names changed - en file updated
-- styles tests - SelectTreePhoto photo updated -- elements and components should defined -- styles tests - colors -- khakiOpacity: #FAF8F0B3 added -- darkOpacity: #0000001A added -- grayDarkerOpacity: #424242B3 added - SelectTreeLocation UI updated - SelectTreePhoto UI updated - en file updated
- text content container box shadow -- SelectTreeLocation -- SelectTreePhoto - PermissionItemV2 test updated -- different state test seperated (granted, blocked, checking) - CheckPermissionsV2 loading state test - useless mocked data removed - permissionsList utils updated - en updated
-- all permissions granted UI test -- location permissions granted UI test -- camera permissions granted UI test - colors -- tooDark: #000 added - TestSubmissionStack -- name prop set to initialRouteName for Stack.Navigator
-- actions -- reducer - currentJourney redux module test -- mock treeDetail -- actions --- start to plant single tree --- start to plant assigned tree --- start to plant nursery --- set tree location --- set tree photo --- set tree photo & discard update location --- discard update nursery location --- set tree detail to update -- reducer --- should return the initial state --- should handle START_PLANT_SINGLE_TREE --- should handle START_PLANT_ASSIGNED_TREE --- should handle START_PLANT_NURSERY --- should handle SET_TREE_PHOTO, discard update location = false --- should handle SET_TREE_PHOTO, discard update location = true --- should handle SET_TREE_LOCATION --- should handle DISCARD_UPDATE_NURSERY_LOCATION --- should handle SET_TREE_DETAIL_TO_UPDATE - arrange imports - TreeJourney_V2 type -- isUpdate added -- isNursery added -- canUpdate added - rnmapbox/map downgrade to 10.0.0-beta.64 to resolve displacement error
- MapMarkingV2 component - TestSubmissionStack -- SelectOnMapV2 added to this screen - browserPlatform redux module -- browserPlatform actions & test -- browserPlatform reducer & test - currentJourney module updated -- initialState updated & test -- clearJourney action & test - navigate to SelectOnMapV2 screen to select tree photo - open camera and library to pick tree photo - react-native-geolocation-service mock updated
-- select tree (online) -- unit test - checkTreePhoto -- native func -- web func -- unit test - global toast ref mock - currentJourney action - setTreePhoto action updated - assignTreePhotoWatcher action added for currentJourney reducer - selectTreePhoto test updated
-- util to check coordinates
-- test
- checkTreeLocation
-- check distance between submitted location photo location
-- set location without checking when tree photo not exist yet
-- test
- checkTreePhoto updated
-- check distance between submitted location and photo location
if photo added after location
-- test
- dispatchSelectTreeLocation in MapMarkingV2.tsx
- en updated
-- test -- UI - SelectTreePhoto updated - SelectTreeLocation updated - RenderIf component - currentJourney -- remove journey photo + test -- remove journey location + test - en updated
- checkTreeLocation test updated - checkTreePhoto test updated - checkTreePhoto.web test updated
- draftedJourneys -- actions --- draftJourney - test --- removeDraftedJourney - test --- saveDraftedJourney - test --- setDraftAsCurrentJourneyWatcher - test -- reducer - test -- hook to read data and dispatches -- saga --- draftedJourneysSagas - test --- watchSetDraftAsCurrentJourney - test -- persist - draftId added to TreeJourney_V2
- en updated - draftedJourneys name and id flow changed - test - colors: modal bg added - SubmitTreeV2 -- open DraftJourneyModal component on press draft button -- open DraftJourneyModal component on press submit in offline mode -- close DraftJourneyModal component on press cancel draft or submit draft -- test updated
- currentJourney -- update tree - test -- update journey - test - submitTreeV2 -- hide SelectTreeLocation for update tree -- disable SelectTreeLocation for update nursery with canUpdateLocation = false value -- enable SelectTreeLocation for update nursery with canUpdateLocation = true value - en updated - DraftJourneyModal props updated - test -
… be removed - test - SubmitTreeV2.test updated - currentJourney.saga.test.ts type error fixed - currentJourney.action.test.ts type error fixed - currentJourney.reducer.test.ts type error fixed - CheckPermissionsV2.test updated - CheckPermissionV2 updated
-- use OptimizedList component -- use BigList component instead of FlatList for fix the problem on the web
…roidXBrowser = 1.5.0 - react-native version upgraded to v0.71.8
-- draftedJourneys.saga.test.ts updated -- draftedJourneys.web.saga.test.ts for web flow - jest.setup.js -- mock photoToBase64 func -- mock getCroppedImg func
- SelectTreePhoto test updated - offline init module bug fixed - check use toast when global.toast is exist - SubmitTreeV2 test updated - TreeInventory test updated - DraftItem test updated
- reset reducers after logout -- recentPlaces -- searchPlaces -- deleteTreeEvent -- treeDetails -- plantTree -- plantedTrees -- updateTree -- updatedTrees -- assignedTree -- assignedTrees -- userSign -- userNonce -- pendingTreeIds -- verifyMobile -- verifyProfile -- mobileSendCode -- mobileResendCode - get pendingTreeIds after plant tree, update tree, and assigned tree - get submittedTrees and notVerifiedTrees on refocus on TreeInventory screen
- currentJourney.saga -- upload treeSpecs to ipfs -- generate signature with treeSpecs hash -- pass Hash and treeSpecsJSON to requests -- test updated - jest.setup.js: mock upload function
- TreeInventory change tab bug fixed - show Biconomy switch in SettingsScreen and hide in SubmitTreeV2
- check tree photo and location bug fixed
- reset redux-persist data after release new version
- tests updated -- appInfo -- recentPlaces -- searchPlaces -- settings - searchLocationUrl util - test
- init module test
- web3 refactor
- draftedJourney module test updated - currentJourney module test updated - appInfo module test updated - browserPlatform module test updated - contracts module test updated
… used draft in journey - draftedJourneys test updated - currentJourneys test updated - en updated - ConflictDraftModal component
- NoWallet & TransferScreen keyboard aware scroll view bug fixed
- userSign refactored - test
- loginWithEmailOTP
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.