Skip to content
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

[FEATURE] - Storage Limit - Reduce Txs Being Stored #2972

Merged
merged 20 commits into from Aug 12, 2021

Conversation

sethkfman
Copy link
Contributor

@sethkfman sethkfman commented Aug 3, 2021

Description

  • Limits the numbers of transactions to be displayed and stored to 40 most recent tx
  • Added option to view all associated txs block explorer at the footer the list
  • Store METRICS_OPTIN & ONBOARDING in using DefaultPreference and removed them for redux persist store

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

Issue

Resolves #2914

@sethkfman sethkfman requested a review from a team as a code owner August 3, 2021 18:20
@sethkfman sethkfman changed the title Feature/storage limit [FEATURE] - Storage Limit - Reduce Tx Stored Aug 3, 2021
@sethkfman sethkfman changed the title [FEATURE] - Storage Limit - Reduce Tx Stored [FEATURE] - Storage Limit - Reduce Txs Being Stored Aug 3, 2021
@sethkfman
Copy link
Contributor Author

@jakehaugen Would you be able to take a look at this I don't if we need to do more design work on it? The view on block explore will be displayed at the bottom of the transaction history & transactions lists.
Screen Shot 2021-08-03 at 1 17 20 PM

@sethkfman sethkfman added the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Aug 3, 2021
@jakehaugen
Copy link
Contributor

jakehaugen commented Aug 4, 2021

@jakehaugen Would you be able to take a look at this I don't if we need to do more design work on it? The view on block explore will be displayed at the bottom of the transaction history & transactions lists.

This looks pretty good to me. Only suggestion is to update the copy to say "View full history on Etherscan". Does that make sense to you?

Copy link
Member

@gantunesr gantunesr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good and the behaviour is the expected at the extend of the use cases I tested. I'm not sure if there's more changes to be added, so let me know if that is the case.

@sethkfman
Copy link
Contributor Author

@jakehaugen good suggestion. See updated view:
Screen Shot 2021-08-05 at 9 04 10 AM

@sethkfman sethkfman added needs-qa Any New Features that needs a full manual QA prior to being added to a release. and removed needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) labels Aug 5, 2021
@ibrahimtaveras00 ibrahimtaveras00 self-assigned this Aug 10, 2021
@ibrahimtaveras00 ibrahimtaveras00 added QA in Progress QA has started on the feature. and removed needs-qa Any New Features that needs a full manual QA prior to being added to a release. labels Aug 10, 2021
Copy link
Contributor

@ibrahimtaveras00 ibrahimtaveras00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA Passed 👍🏽

@ibrahimtaveras00 ibrahimtaveras00 added QA Passed A successful QA run through has been done next release and removed QA in Progress QA has started on the feature. labels Aug 12, 2021
rickycodes and others added 4 commits August 12, 2021 10:23
* Account for txParams.data when we sync

* Remove "Bummer!" wording

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>
* removed release build trigger

* updated GH action tigger on pull requests not pushes
@sethkfman sethkfman merged commit 0f86d02 into develop Aug 12, 2021
@sethkfman sethkfman deleted the feature/storage-limit branch August 12, 2021 16:39
rickycodes added a commit that referenced this pull request Aug 12, 2021
* added controller test tarball and updated path

* added DefaultPreference to save OPT_IN METRICS data

* added react native default prefs to pod

* added view on chain footer to list view, dis-allow list for onboarding and analytics in store

* updated yarn.lock file

* updated copy on footer

* updated tarball for latest controller PR

* yarn.lock update

* disable cache

* enable cache

* added migration for new values being stored in default preferences

* trigger test build

* [FIX] Account for `txParams.data` when we sync (#2999)

* Account for txParams.data when we sync

* Remove "Bummer!" wording

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Fix/ci release update (#3004)

* removed release build trigger

* updated GH action tigger on pull requests not pushes

* updated to v14.2.0 controllers

Co-authored-by: ricky <ricky.miller@gmail.com>
sethkfman added a commit that referenced this pull request Sep 9, 2021
* upgraded to react-native-webview 11.13.0 and applied the patches from 11.0.2

* added imports to patch file

* updated logics for when a url is updated on the browser view

* updated webview patch to removed injected code android studio added during debugging

* enable the dispaly of a port number if entered on url

* updated webview patch with latest keyboard updates

* Collectibles enhancements (#2735)

* resizemode

* margintop

* transparent

* emptystate

* snaps

* backgroundColor

* snaps

* update snapshot

* fix typo

Co-authored-by: sethkfman <seth.kaufman@consensys.net>
Co-authored-by: Ibrahim Taveras <ibrahimtaveras@ibrahims-mbp.myfiosgateway.com>

* Release/3.0.1 patch (#2976)

* bumped version

* updated changelog

* updated formatting

* trigger patch build

* removed build trigger

* bugfix: issue #2763 (#2808)

* Remove extra top padding on send flow (#2907)

* Replace safe area view for send flow. Wrap send flow input focus in interaction block.

* Replace focus with optional chaining

* Update snapshot tests

* Remove redundant safe area view on Send component

* On-Ramp: Add on-ramp analytics (#2973)

* Add on-ramp analytics

* Add anonymized pairs

* Add more anonymized pairs

* Add fiatAmountInUsd for transak orders

* Move constants to app/constants

* Fix header layout. (#2980)

* Merge pull request from GHSA-3pg9-fvh4-99rr

* Fix address bar icon (#2893)

* Fix check if icon is empty

* Use boolean

Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>

* Remove cache pull

* added exclusion to yarn audit and upgraded url-parse module

* disable caching on ci

* updated yarn.lock and bitrise flow

* added caching back into bitrise build

Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>
Co-authored-by: ricky <ricky.miller@gmail.com>
Co-authored-by: sethkfman <seth.kaufman@consensys.net>
Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Feature/video subtitles (#2813)

* updated translation files with latest translations for secret recovery phrase

* added subtitles to secret phrase videos

* added english subtitles

* added urls for translations and updated video players to show subtitles

* updated subtitle location

* updated translation files with latest secret recovery text

* merge develop and trouble shoot subtitles

* removed subtitle logic from player

* update translations

* Review Translations (#2806)

* Lionbridge

* Lionbridge

* Client Update

* Lionbridge

Co-authored-by: Brennan <Mark.Brennan@lionbridge.com>
Co-authored-by: !corpitSVCUFC <!corpitSVCUFC@corpnet.liox.org>

* using updated to exo player for android video

* bumped version and updated changelog

* refactored subtitle uri and implemenation

* Update subtitles-en.vtt

removed formatting

* moved videos into secretPhrase folder

* udpated uri

* update uri

* Optional chaining dollarBalance (#2809)

* bumped version and updated changelog

* moved files into folder

* removed duplcate changelog

* updated comments

* removed duplicate swaps section

* removed debug param

* refactored video and subtitle location

* updated broken link

* updated fetching of subtitles for video

Co-authored-by: Brennan <Mark.Brennan@lionbridge.com>
Co-authored-by: !corpitSVCUFC <!corpitSVCUFC@corpnet.liox.org>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>

* Branch updates (#2804)

* handleDeeplinks

* bumpbranch

* pods

* functional

* notused

* handleDeeplinks

* handleDeeplink

* mock

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>
Co-authored-by: sethkfman <seth.kaufman@consensys.net>

* Fix: Add TransakWebview mediaPlayback props for KYC (#2996)

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* [FIX] GH Action Permission for Bump-Version (#2961)

* updated permissions for gh action

* test bump action

* test bump action

* bump controllers to v14.0.2 (#2952)

* [EIP1559] Improve time estimates (#2955)

* Improve eip1559 time estimates

* Add extendOptions to EditGasFee Components

* Update test

Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>

* updated permission and add improvements to slack notification

* removed test workflow

* removed before_run not needed in e2e

* updated bump version script to bump version code everything we push to main or develop

* removed types didn't apply in push

Co-authored-by: ricky <ricky.miller@gmail.com>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>
Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>

* upgrade walletconnect (#2956)

* [FIX] Account for `txParams.data` when we sync (#2999)

* Account for txParams.data when we sync

* Remove "Bummer!" wording

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Fix/ci release update (#3004)

* removed release build trigger

* updated GH action tigger on pull requests not pushes

* [FEATURE] - Storage Limit - Reduce Txs Being Stored (#2972)

* added controller test tarball and updated path

* added DefaultPreference to save OPT_IN METRICS data

* added react native default prefs to pod

* added view on chain footer to list view, dis-allow list for onboarding and analytics in store

* updated yarn.lock file

* updated copy on footer

* updated tarball for latest controller PR

* yarn.lock update

* disable cache

* enable cache

* added migration for new values being stored in default preferences

* trigger test build

* [FIX] Account for `txParams.data` when we sync (#2999)

* Account for txParams.data when we sync

* Remove "Bummer!" wording

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Fix/ci release update (#3004)

* removed release build trigger

* updated GH action tigger on pull requests not pushes

* updated to v14.2.0 controllers

Co-authored-by: ricky <ricky.miller@gmail.com>

* Revert "Collectibles enhancements (#2735)" (#3005)

This reverts commit 93c1296.

* v3.1.0 RC (#3009)

* updated changelog for 3.1.0

* Bump version name

* version bumped

* updated changelog

Co-authored-by: github-actions <github-actions@github.com>

* RC 3.0.1 - Downgrade Android SDK Version (#3010)

* downgraded SDK version

* bump version

* uncomment release build steps and disable slack notification that needs logic update to work outside of PR release flow

* fix deep links bug related to branch updates (#3017)

* [FIX] Delete Message (#2981)

* fix(DeleteMessage): uUse word 'delete' for all languages

* update delete to be translation variable

Co-authored-by: Ricky Miller <ricky.miller@gmail.com>

* remove tarball (#3024)

* fix eddit button (#3026)

* RC 3.1.0 (v3) (#3025)

* release(3.1.0 v3): Pump version number

* release(3.1.0 v3): Update changelog

* release(3.1.0 v3): Delete merge message

* release(3.1.0 v3): Update title

* release(3.1.0 v3): Update changelog

* release(3.1.0 v3): Add deleted title

* release(3.1.0 v3): Delete duplicates

* release(3.1.0 v3): Update changelog

* fix(CHANGELOG): Title (#3027)

* Make decelerationRate normal (#3006)

Co-authored-by: yulodl <yulodl@gmail.com>

* do not translate logic strings (#3031)

* tidy util dir based on discussions (#3030)

* [FIX] Uni V3 NFT animated SVG crash

* Switched to sslip.io instead of xip.io (#2718)

Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>
Co-authored-by: ricky <ricky.miller@gmail.com>

* Bump multihashes from 0.4.14 to 4.0.2 (#2527)

Bumps [multihashes](https://github.com/multiformats/js-multihash) from 0.4.14 to 4.0.2.
- [Release notes](https://github.com/multiformats/js-multihash/releases)
- [Changelog](https://github.com/multiformats/js-multihash/blob/master/CHANGELOG.md)
- [Commits](multiformats/js-multihash@v0.4.14...v4.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>

* increase the heap size to help mitigate the out of memory issue (#3038)

* [FIX] Video Subtitles Not Loading Properly (#3029)

* updated scope of variables to reflect currently selected language

* reverted podfile.lock changes

* [2783] Change default account name for ENS reversed-resolved name (#2878)

* Fix token transfer to address (#3046)

* v3.2.0 RC (#3044)

* Swaps V2 Integration (#3013)

Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>

* Bump minor version

* Update changelog

* Reset changelog

* Update changelog

* updated changelog

* updated changelog

* updated changelog

* updated changelog

* format changelogs

Co-authored-by: Matthew Epps <mepps32@gmail.com>
Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Revert multihashes (#3054)

* release(3.2.0): Pump verion number (#3056)

* Remove SwapsLiveness checks for non supported networks (#3057)

* [FEATURE] Update Recents (#3028)

render recents based on items stored in redux instead of from transactions

* remove circle ci badge (#3060)

* Enable Slack Notification on Successful Build (#3055)

* create a bitrise test slack step

* updated slack script

* update import

* updated e2e scripts to include minSDK being set to 26

* revert build.sh changes

* updated request import

* switched to non-depricated package

* updated bitrise build dep

* test

* test

* Slack Message Test

* removed bitrise test triggers & remove test text from slack message

* slack test

* added test trigger

* updated bitrise format

* update require

* removed test text and triggers

* Create general issue template (#3015)

* Bump redux-persist from 5.10.0 to 6.0.0 (#2526)

Bumps [redux-persist](https://github.com/rt2zz/redux-persist) from 5.10.0 to 6.0.0.
- [Release notes](https://github.com/rt2zz/redux-persist/releases)
- [Changelog](https://github.com/rt2zz/redux-persist/blob/master/CHANGELOG.md)
- [Commits](rt2zz/redux-persist@v5.10.0...v6.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>

* Bump regenerator-runtime from 0.13.1 to 0.13.9 (#2931)

Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.1 to 0.13.9.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.1...regenerator-runtime@0.13.9)

---
updated-dependencies:
- dependency-name: regenerator-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>

* Bump @react-native-community/cookies from 4.0.1 to 5.0.1 (#3069)

Bumps [@react-native-community/cookies](https://github.com/react-native-community/cookies) from 4.0.1 to 5.0.1.
- [Release notes](https://github.com/react-native-community/cookies/releases)
- [Changelog](https://github.com/react-native-cookies/cookies/blob/master/.releaserc)
- [Commits](react-native-cookies/cookies@v4.0.1...v5.0.1)

---
updated-dependencies:
- dependency-name: "@react-native-community/cookies"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update custom token copy (#3080)

* Make Engine .ts (#3072)

Make Engine TypeScript and leverage our Transaction Type from controllers

* fix issues 2100 (#3081)

* fix issues 2100

       /**
	 * fix bug: #2100
	 * 
	 * reason: redux-persist load storage data by 'getItem' API with a timeout (5 seconds default) when app ’cold start',
	 * on some old devices, I/O is slow and 'readfile' operation may take long time Occasionally, when this happened, timeout
	 * will lead to redux-persist rehydrate state with undefined and an Error(https://github.com/rt2zz/redux-persist/blob/master/src/persistReducer.js#89).
	 * 
	 * solution: the easy way to fix is to set a big timeout on config, Go further, we could save 'keyring' etc some important
	 * data to separate files or backup for this. the second way is not complicated, we could set
	 * serialize and deserialize to false to get JSON object and modify setItem/getItem API to save/load data.
	 */

* remove comment

* Use Logger

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>
Co-authored-by: Ricky Miller <ricky.miller@gmail.com>

* Bump @react-navigation/compat from 5.3.15 to 5.3.20 (#3068)

Bumps [@react-navigation/compat](https://github.com/react-navigation/react-navigation/tree/HEAD/packages/compat) from 5.3.15 to 5.3.20.
- [Release notes](https://github.com/react-navigation/react-navigation/releases)
- [Changelog](https://github.com/react-navigation/react-navigation/blob/@react-navigation/compat@5.3.20/packages/compat/CHANGELOG.md)
- [Commits](https://github.com/react-navigation/react-navigation/commits/@react-navigation/compat@5.3.20/packages/compat)

---
updated-dependencies:
- dependency-name: "@react-navigation/compat"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Integrate changes from controllers v15.0.2 (#3071)

* ignored tokens updates

* add migration

* cleanup

* bump @metamask/controllers to 15.0.2

* Add support for wallet_switchEthereumChain (#3023)

* Add support for wallet_switchEthereumChain

* updated method name

* Update app/core/RPCMethods/wallet_switchEthereumChain.js

Optimized params logic

Co-authored-by: ricky <ricky.miller@gmail.com>

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>
Co-authored-by: ricky <ricky.miller@gmail.com>

* Feature/improve warning eth sign (#2852)

* remove duplicate swap translations

* updated eth_sign warning

* added styling to warning message to allow different severity of warning

* updated prop name

* updated line height for alert text

* updated line spacing per design feedback

* updated snapshot

* removed translations that were not needed

* updated snapshot

* Bump eth-url-parser from 1.0.2 to 1.0.4 (#3084)

Bumps [eth-url-parser](https://github.com/brunobar79/eth-url-parser) from 1.0.2 to 1.0.4.
- [Release notes](https://github.com/brunobar79/eth-url-parser/releases)
- [Commits](brunobar79/eth-url-parser@v1.0.2...v1.0.4)

---
updated-dependencies:
- dependency-name: eth-url-parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Add typescript eslint from metamask (#3088)

* Add typescript eslint from metamask

* address new lints

Co-authored-by: Ricky Miller <ricky.miller@gmail.com>

* [FIX] Handle token icon remote resource

* Catch undefined navigate on buy eth (#3100)

* [FIX] Bug in token balance

* updated eth signing warning copy (#3103)

* Improvement/upgrade redux and tests (#3066)

* Begin converting tests to TS

* Upgrade redux. Update tests to TS and clean up.

* Remove unused line

* Leave react-redux 5.1.1 for testing purposes

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* [FEATURE] Add browser analytics

* [FIX] Fix undefined values in CustomGas component (#2977)

* Remove CustomGas component

* Removing custom gas breaks action sheet layout. Temporarily add View tag to fix this for now.

* Check lint status

* Prettify Approve view

* Remove unused warningGasPriceHigh

* update snapshot

* completely remove CustomGas

Co-authored-by: ricky <ricky.miller@gmail.com>

* Merge pull request from GHSA-rc56-6qmj-qg85

* Patch react-native & react-native-webview to remove learning from Android keyboards

* Initialize Android text input with BaseInputConnection

* Opt out of safe browsing

* Update bitrise.yml with NDK steps

* Fix bitrise.yml. Remove ds store diffs.

* Update README.md with NDK instructions

* chore: update swaps-controller and send clientId on fetchSwapsFeatureLiveness (#3101)

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* upgraded to react-native-webview 11.13.0 and applied the patches from 11.0.2

* Collectibles enhancements (#2735)

* resizemode

* margintop

* transparent

* emptystate

* snaps

* backgroundColor

* snaps

* update snapshot

* fix typo

Co-authored-by: sethkfman <seth.kaufman@consensys.net>
Co-authored-by: Ibrahim Taveras <ibrahimtaveras@ibrahims-mbp.myfiosgateway.com>

* Improvement/upgrade redux and tests (#3066)

* Begin converting tests to TS

* Upgrade redux. Update tests to TS and clean up.

* Remove unused line

* Leave react-redux 5.1.1 for testing purposes

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* rebase with MM develop

* Improvement/upgrade redux and tests (#3066)

* Begin converting tests to TS

* Upgrade redux. Update tests to TS and clean up.

* Remove unused line

* Leave react-redux 5.1.1 for testing purposes

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

Co-authored-by: Esteban Miño <efmino@uc.cl>
Co-authored-by: Ibrahim Taveras <ibrahimtaveras@ibrahims-mbp.myfiosgateway.com>
Co-authored-by: Cal Leung <cleun007@gmail.com>
Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>
Co-authored-by: ricky <ricky.miller@gmail.com>
Co-authored-by: Brennan <Mark.Brennan@lionbridge.com>
Co-authored-by: !corpitSVCUFC <!corpitSVCUFC@corpnet.liox.org>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Gustavo Antunes <gantunes@uc.cl>
Co-authored-by: yulodl <yulodl@gmail.com>
Co-authored-by: Javonne Martin <javonne.martin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthew Epps <mepps32@gmail.com>
Co-authored-by: liangwu <liangwu.cas@gmail.com>
Co-authored-by: Alex Donesky <adonesky@gmail.com>
rickycodes added a commit that referenced this pull request Jan 31, 2022
* added controller test tarball and updated path

* added DefaultPreference to save OPT_IN METRICS data

* added react native default prefs to pod

* added view on chain footer to list view, dis-allow list for onboarding and analytics in store

* updated yarn.lock file

* updated copy on footer

* updated tarball for latest controller PR

* yarn.lock update

* disable cache

* enable cache

* added migration for new values being stored in default preferences

* trigger test build

* [FIX] Account for `txParams.data` when we sync (#2999)

* Account for txParams.data when we sync

* Remove "Bummer!" wording

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Fix/ci release update (#3004)

* removed release build trigger

* updated GH action tigger on pull requests not pushes

* updated to v14.2.0 controllers

Co-authored-by: ricky <ricky.miller@gmail.com>
rickycodes added a commit that referenced this pull request Jan 31, 2022
* upgraded to react-native-webview 11.13.0 and applied the patches from 11.0.2

* added imports to patch file

* updated logics for when a url is updated on the browser view

* updated webview patch to removed injected code android studio added during debugging

* enable the dispaly of a port number if entered on url

* updated webview patch with latest keyboard updates

* Collectibles enhancements (#2735)

* resizemode

* margintop

* transparent

* emptystate

* snaps

* backgroundColor

* snaps

* update snapshot

* fix typo

Co-authored-by: sethkfman <seth.kaufman@consensys.net>
Co-authored-by: Ibrahim Taveras <ibrahimtaveras@ibrahims-mbp.myfiosgateway.com>

* Release/3.0.1 patch (#2976)

* bumped version

* updated changelog

* updated formatting

* trigger patch build

* removed build trigger

* bugfix: issue #2763 (#2808)

* Remove extra top padding on send flow (#2907)

* Replace safe area view for send flow. Wrap send flow input focus in interaction block.

* Replace focus with optional chaining

* Update snapshot tests

* Remove redundant safe area view on Send component

* On-Ramp: Add on-ramp analytics (#2973)

* Add on-ramp analytics

* Add anonymized pairs

* Add more anonymized pairs

* Add fiatAmountInUsd for transak orders

* Move constants to app/constants

* Fix header layout. (#2980)

* Merge pull request from GHSA-3pg9-fvh4-99rr

* Fix address bar icon (#2893)

* Fix check if icon is empty

* Use boolean

Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>

* Remove cache pull

* added exclusion to yarn audit and upgraded url-parse module

* disable caching on ci

* updated yarn.lock and bitrise flow

* added caching back into bitrise build

Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>
Co-authored-by: ricky <ricky.miller@gmail.com>
Co-authored-by: sethkfman <seth.kaufman@consensys.net>
Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Feature/video subtitles (#2813)

* updated translation files with latest translations for secret recovery phrase

* added subtitles to secret phrase videos

* added english subtitles

* added urls for translations and updated video players to show subtitles

* updated subtitle location

* updated translation files with latest secret recovery text

* merge develop and trouble shoot subtitles

* removed subtitle logic from player

* update translations

* Review Translations (#2806)

* Lionbridge

* Lionbridge

* Client Update

* Lionbridge

Co-authored-by: Brennan <Mark.Brennan@lionbridge.com>
Co-authored-by: !corpitSVCUFC <!corpitSVCUFC@corpnet.liox.org>

* using updated to exo player for android video

* bumped version and updated changelog

* refactored subtitle uri and implemenation

* Update subtitles-en.vtt

removed formatting

* moved videos into secretPhrase folder

* udpated uri

* update uri

* Optional chaining dollarBalance (#2809)

* bumped version and updated changelog

* moved files into folder

* removed duplcate changelog

* updated comments

* removed duplicate swaps section

* removed debug param

* refactored video and subtitle location

* updated broken link

* updated fetching of subtitles for video

Co-authored-by: Brennan <Mark.Brennan@lionbridge.com>
Co-authored-by: !corpitSVCUFC <!corpitSVCUFC@corpnet.liox.org>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>

* Branch updates (#2804)

* handleDeeplinks

* bumpbranch

* pods

* functional

* notused

* handleDeeplinks

* handleDeeplink

* mock

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>
Co-authored-by: sethkfman <seth.kaufman@consensys.net>

* Fix: Add TransakWebview mediaPlayback props for KYC (#2996)

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* [FIX] GH Action Permission for Bump-Version (#2961)

* updated permissions for gh action

* test bump action

* test bump action

* bump controllers to v14.0.2 (#2952)

* [EIP1559] Improve time estimates (#2955)

* Improve eip1559 time estimates

* Add extendOptions to EditGasFee Components

* Update test

Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>

* updated permission and add improvements to slack notification

* removed test workflow

* removed before_run not needed in e2e

* updated bump version script to bump version code everything we push to main or develop

* removed types didn't apply in push

Co-authored-by: ricky <ricky.miller@gmail.com>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>
Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>

* upgrade walletconnect (#2956)

* [FIX] Account for `txParams.data` when we sync (#2999)

* Account for txParams.data when we sync

* Remove "Bummer!" wording

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Fix/ci release update (#3004)

* removed release build trigger

* updated GH action tigger on pull requests not pushes

* [FEATURE] - Storage Limit - Reduce Txs Being Stored (#2972)

* added controller test tarball and updated path

* added DefaultPreference to save OPT_IN METRICS data

* added react native default prefs to pod

* added view on chain footer to list view, dis-allow list for onboarding and analytics in store

* updated yarn.lock file

* updated copy on footer

* updated tarball for latest controller PR

* yarn.lock update

* disable cache

* enable cache

* added migration for new values being stored in default preferences

* trigger test build

* [FIX] Account for `txParams.data` when we sync (#2999)

* Account for txParams.data when we sync

* Remove "Bummer!" wording

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Fix/ci release update (#3004)

* removed release build trigger

* updated GH action tigger on pull requests not pushes

* updated to v14.2.0 controllers

Co-authored-by: ricky <ricky.miller@gmail.com>

* Revert "Collectibles enhancements (#2735)" (#3005)

This reverts commit 93c1296.

* v3.1.0 RC (#3009)

* updated changelog for 3.1.0

* Bump version name

* version bumped

* updated changelog

Co-authored-by: github-actions <github-actions@github.com>

* RC 3.0.1 - Downgrade Android SDK Version (#3010)

* downgraded SDK version

* bump version

* uncomment release build steps and disable slack notification that needs logic update to work outside of PR release flow

* fix deep links bug related to branch updates (#3017)

* [FIX] Delete Message (#2981)

* fix(DeleteMessage): uUse word 'delete' for all languages

* update delete to be translation variable

Co-authored-by: Ricky Miller <ricky.miller@gmail.com>

* remove tarball (#3024)

* fix eddit button (#3026)

* RC 3.1.0 (v3) (#3025)

* release(3.1.0 v3): Pump version number

* release(3.1.0 v3): Update changelog

* release(3.1.0 v3): Delete merge message

* release(3.1.0 v3): Update title

* release(3.1.0 v3): Update changelog

* release(3.1.0 v3): Add deleted title

* release(3.1.0 v3): Delete duplicates

* release(3.1.0 v3): Update changelog

* fix(CHANGELOG): Title (#3027)

* Make decelerationRate normal (#3006)

Co-authored-by: yulodl <yulodl@gmail.com>

* do not translate logic strings (#3031)

* tidy util dir based on discussions (#3030)

* [FIX] Uni V3 NFT animated SVG crash

* Switched to sslip.io instead of xip.io (#2718)

Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>
Co-authored-by: ricky <ricky.miller@gmail.com>

* Bump multihashes from 0.4.14 to 4.0.2 (#2527)

Bumps [multihashes](https://github.com/multiformats/js-multihash) from 0.4.14 to 4.0.2.
- [Release notes](https://github.com/multiformats/js-multihash/releases)
- [Changelog](https://github.com/multiformats/js-multihash/blob/master/CHANGELOG.md)
- [Commits](multiformats/js-multihash@v0.4.14...v4.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>

* increase the heap size to help mitigate the out of memory issue (#3038)

* [FIX] Video Subtitles Not Loading Properly (#3029)

* updated scope of variables to reflect currently selected language

* reverted podfile.lock changes

* [2783] Change default account name for ENS reversed-resolved name (#2878)

* Fix token transfer to address (#3046)

* v3.2.0 RC (#3044)

* Swaps V2 Integration (#3013)

Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>

* Bump minor version

* Update changelog

* Reset changelog

* Update changelog

* updated changelog

* updated changelog

* updated changelog

* updated changelog

* format changelogs

Co-authored-by: Matthew Epps <mepps32@gmail.com>
Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Revert multihashes (#3054)

* release(3.2.0): Pump verion number (#3056)

* Remove SwapsLiveness checks for non supported networks (#3057)

* [FEATURE] Update Recents (#3028)

render recents based on items stored in redux instead of from transactions

* remove circle ci badge (#3060)

* Enable Slack Notification on Successful Build (#3055)

* create a bitrise test slack step

* updated slack script

* update import

* updated e2e scripts to include minSDK being set to 26

* revert build.sh changes

* updated request import

* switched to non-depricated package

* updated bitrise build dep

* test

* test

* Slack Message Test

* removed bitrise test triggers & remove test text from slack message

* slack test

* added test trigger

* updated bitrise format

* update require

* removed test text and triggers

* Create general issue template (#3015)

* Bump redux-persist from 5.10.0 to 6.0.0 (#2526)

Bumps [redux-persist](https://github.com/rt2zz/redux-persist) from 5.10.0 to 6.0.0.
- [Release notes](https://github.com/rt2zz/redux-persist/releases)
- [Changelog](https://github.com/rt2zz/redux-persist/blob/master/CHANGELOG.md)
- [Commits](rt2zz/redux-persist@v5.10.0...v6.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>

* Bump regenerator-runtime from 0.13.1 to 0.13.9 (#2931)

Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.1 to 0.13.9.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.1...regenerator-runtime@0.13.9)

---
updated-dependencies:
- dependency-name: regenerator-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>

* Bump @react-native-community/cookies from 4.0.1 to 5.0.1 (#3069)

Bumps [@react-native-community/cookies](https://github.com/react-native-community/cookies) from 4.0.1 to 5.0.1.
- [Release notes](https://github.com/react-native-community/cookies/releases)
- [Changelog](https://github.com/react-native-cookies/cookies/blob/master/.releaserc)
- [Commits](react-native-cookies/cookies@v4.0.1...v5.0.1)

---
updated-dependencies:
- dependency-name: "@react-native-community/cookies"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update custom token copy (#3080)

* Make Engine .ts (#3072)

Make Engine TypeScript and leverage our Transaction Type from controllers

* fix issues 2100 (#3081)

* fix issues 2100

       /**
	 * fix bug: #2100
	 * 
	 * reason: redux-persist load storage data by 'getItem' API with a timeout (5 seconds default) when app ’cold start',
	 * on some old devices, I/O is slow and 'readfile' operation may take long time Occasionally, when this happened, timeout
	 * will lead to redux-persist rehydrate state with undefined and an Error(https://github.com/rt2zz/redux-persist/blob/master/src/persistReducer.js#89).
	 * 
	 * solution: the easy way to fix is to set a big timeout on config, Go further, we could save 'keyring' etc some important
	 * data to separate files or backup for this. the second way is not complicated, we could set
	 * serialize and deserialize to false to get JSON object and modify setItem/getItem API to save/load data.
	 */

* remove comment

* Use Logger

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>
Co-authored-by: Ricky Miller <ricky.miller@gmail.com>

* Bump @react-navigation/compat from 5.3.15 to 5.3.20 (#3068)

Bumps [@react-navigation/compat](https://github.com/react-navigation/react-navigation/tree/HEAD/packages/compat) from 5.3.15 to 5.3.20.
- [Release notes](https://github.com/react-navigation/react-navigation/releases)
- [Changelog](https://github.com/react-navigation/react-navigation/blob/@react-navigation/compat@5.3.20/packages/compat/CHANGELOG.md)
- [Commits](https://github.com/react-navigation/react-navigation/commits/@react-navigation/compat@5.3.20/packages/compat)

---
updated-dependencies:
- dependency-name: "@react-navigation/compat"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Integrate changes from controllers v15.0.2 (#3071)

* ignored tokens updates

* add migration

* cleanup

* bump @metamask/controllers to 15.0.2

* Add support for wallet_switchEthereumChain (#3023)

* Add support for wallet_switchEthereumChain

* updated method name

* Update app/core/RPCMethods/wallet_switchEthereumChain.js

Optimized params logic

Co-authored-by: ricky <ricky.miller@gmail.com>

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>
Co-authored-by: ricky <ricky.miller@gmail.com>

* Feature/improve warning eth sign (#2852)

* remove duplicate swap translations

* updated eth_sign warning

* added styling to warning message to allow different severity of warning

* updated prop name

* updated line height for alert text

* updated line spacing per design feedback

* updated snapshot

* removed translations that were not needed

* updated snapshot

* Bump eth-url-parser from 1.0.2 to 1.0.4 (#3084)

Bumps [eth-url-parser](https://github.com/brunobar79/eth-url-parser) from 1.0.2 to 1.0.4.
- [Release notes](https://github.com/brunobar79/eth-url-parser/releases)
- [Commits](brunobar79/eth-url-parser@v1.0.2...v1.0.4)

---
updated-dependencies:
- dependency-name: eth-url-parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Add typescript eslint from metamask (#3088)

* Add typescript eslint from metamask

* address new lints

Co-authored-by: Ricky Miller <ricky.miller@gmail.com>

* [FIX] Handle token icon remote resource

* Catch undefined navigate on buy eth (#3100)

* [FIX] Bug in token balance

* updated eth signing warning copy (#3103)

* Improvement/upgrade redux and tests (#3066)

* Begin converting tests to TS

* Upgrade redux. Update tests to TS and clean up.

* Remove unused line

* Leave react-redux 5.1.1 for testing purposes

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* [FEATURE] Add browser analytics

* [FIX] Fix undefined values in CustomGas component (#2977)

* Remove CustomGas component

* Removing custom gas breaks action sheet layout. Temporarily add View tag to fix this for now.

* Check lint status

* Prettify Approve view

* Remove unused warningGasPriceHigh

* update snapshot

* completely remove CustomGas

Co-authored-by: ricky <ricky.miller@gmail.com>

* Merge pull request from GHSA-rc56-6qmj-qg85

* Patch react-native & react-native-webview to remove learning from Android keyboards

* Initialize Android text input with BaseInputConnection

* Opt out of safe browsing

* Update bitrise.yml with NDK steps

* Fix bitrise.yml. Remove ds store diffs.

* Update README.md with NDK instructions

* chore: update swaps-controller and send clientId on fetchSwapsFeatureLiveness (#3101)

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* upgraded to react-native-webview 11.13.0 and applied the patches from 11.0.2

* Collectibles enhancements (#2735)

* resizemode

* margintop

* transparent

* emptystate

* snaps

* backgroundColor

* snaps

* update snapshot

* fix typo

Co-authored-by: sethkfman <seth.kaufman@consensys.net>
Co-authored-by: Ibrahim Taveras <ibrahimtaveras@ibrahims-mbp.myfiosgateway.com>

* Improvement/upgrade redux and tests (#3066)

* Begin converting tests to TS

* Upgrade redux. Update tests to TS and clean up.

* Remove unused line

* Leave react-redux 5.1.1 for testing purposes

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* rebase with MM develop

* Improvement/upgrade redux and tests (#3066)

* Begin converting tests to TS

* Upgrade redux. Update tests to TS and clean up.

* Remove unused line

* Leave react-redux 5.1.1 for testing purposes

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

Co-authored-by: Esteban Miño <efmino@uc.cl>
Co-authored-by: Ibrahim Taveras <ibrahimtaveras@ibrahims-mbp.myfiosgateway.com>
Co-authored-by: Cal Leung <cleun007@gmail.com>
Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>
Co-authored-by: ricky <ricky.miller@gmail.com>
Co-authored-by: Brennan <Mark.Brennan@lionbridge.com>
Co-authored-by: !corpitSVCUFC <!corpitSVCUFC@corpnet.liox.org>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Gustavo Antunes <gantunes@uc.cl>
Co-authored-by: yulodl <yulodl@gmail.com>
Co-authored-by: Javonne Martin <javonne.martin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthew Epps <mepps32@gmail.com>
Co-authored-by: liangwu <liangwu.cas@gmail.com>
Co-authored-by: Alex Donesky <adonesky@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release QA Passed A successful QA run through has been done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alleviate storage limit issue (Internal Ticket)
5 participants