Release v3.1.0 (#1953)

* Added help center article link to step 2

* Removed deprecated wallets (#1922)

* Bump new onboardjs version

* Fix notification re-appears (#1925)

* (Fix) - #1775 Nonce of cancel transaction calculation (#1886)

* Fix how the nonce of the cancel transaction is calculated

* make use useState to handle nonce state

* fix to prevent "0" being treated as undefined

* (Fix) - #1707 Cannot use larger numbers in contract interaction (#1863)

* Remove withStyles from TextAreaField and fix name

* Remove any type in handleSubmit from contractInteraction review

* Parses the bignumber value to string

* Added link to docs for custom app modal

* Fix styles to match design

* Fix nonce 0 check (#1941)

* Use tooltip from SRC (#1888)

* Upgrade safe-react-components to latest version

* fix New Transaction button

* Increase the date/time tooltip size

* Feature: Add Mushrooms finance app (#1893)

* add mushrooms finance app

* Migrate to GitHub actions (#1924)

* Add Github action for each network environment

* Move deploy scripts to new folder

* Adapt deploy scripts to Github actions

* Run coveralls only if tests succeed

* Upload sentry source map

* Add Production flag for tagged builds

* Use coveralls Github Action

* Add debug steps to all networks for first release test

* Avoid to remove the current loaded safe data if the batch request fail (#1847)

* Fix gas estimation (#1944)

* Fix gas estimation for threshold > 4

* Update gas estimation to be more precise

* Add threshold gas costs on transaction creation estimation

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>

* update ipfs hash for wc app (#1954)

* Update endpoint to use new name (#1955)

* (Fix) Transactions infinite scroll (#1931)

* install `react-intersection-observer` dependency

- also, remove `react-infinite-scroll-component`

* refactor `InfiniteScroll` to be used with `react-intersection-observer`

* build an infinite scroll wrapper for transactions based on `InfiniteScroll`

* recover `TxsInfiniteScrollContext` information to identify the last item in a list

- a new component was created for History transactions: `HistoryTransactions` as a wrapper

* refactor lists to use `TxsInfiniteScrollContext` and identify the last item in the list

* allow to pass config to the InfiniteScroll component

 - also changed default bottom margin so the txs loading starts a bit earlier

* fix memory consumption issue based on nft retrieval/update data

* delay `lastItemId` set to next tick, to prevent multiple updates during the same render phase

* Set triggerOnce to infinitescroll

* Fix gas estimation (#1959)

* Fix type of fetchSafeCollectibles (#1971)

* Fix transaction list infinite loading (#1973)

* Check transaction list before trying to assing guard element to infinite scroll in pending list (#1972)

* Fix execute if collected signs is > to threshold (#1968)

* Feature: Add lido finance app (#1960)

* Add pooltogether safe app (#1946)

* fix isExecute in useEstimateTransactionGas (#1981)

* Set V3.1.0

Co-authored-by: Mati Dastugue <mdastugu@amazon.com>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
Co-authored-by: Agustin Pane <agustin.pane@gmail.com>
Co-authored-by: Fernando <fernando.greco@gmail.com>
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: nicosampler <nf.dominguez.87@gmail.com>
This commit is contained in:
Daniel Sanchez
2021-03-03 10:17:40 +01:00
committed by GitHub
co-authored by Mati Dastugue Mati Dastugue nicolas Agustin Pane Fernando Agustín Longoni Mikhail Mikheev nicosampler
parent a4e3c82ca2
commit 4f9fd13285
67 changed files with 3717 additions and 2210 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash
function deploy_pull_request {
# Pull request number with "pr" prefix
PULL_REQUEST_NUMBER="pr$PR_NUMBER"
# Only alphanumeric characters. Example safe-react -> safereact
REVIEW_FEATURE_FOLDER="$REPO_NAME_ALPHANUMERIC/$PULL_REQUEST_NUMBER"
# App build path
APP_PATH="./build"
# Deploy pull request
aws s3 sync $APP_PATH s3://${REVIEW_BUCKET_NAME}/${REVIEW_FEATURE_FOLDER}/${REACT_APP_NETWORK}/app --delete
}
# Only:
# - Pull requests
# - Security env variables are available. PR from forks don't have them.
if [ -n "$AWS_ACCESS_KEY_ID" ]; then
deploy_pull_request
fi
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# Only:
# - Tagged commits
# - Security env variables are available.
if [ -n "$VERSION_TAG" ] && [ -n "$AWS_ACCESS_KEY_ID" ]
then
# Only alphanumeric characters. Example v1.0.0 -> v100
VERSION_TAG_ALPHANUMERIC=$(echo $VERSION_TAG | sed 's/[^a-zA-Z0-9]//g')
REVIEW_RELEASE_FOLDER="$REPO_NAME_ALPHANUMERIC/$VERSION_TAG_ALPHANUMERIC"
# Deploy safe-team release project
aws s3 sync build s3://${REVIEW_BUCKET_NAME}/${REVIEW_RELEASE_FOLDER}/app --delete --exclude "*.html" --exclude "/page-data" --cache-control max-age=31536000,public
aws s3 sync build s3://${REVIEW_BUCKET_NAME}/${REVIEW_RELEASE_FOLDER}/app --delete --exclude "*" --include "*.html" --cache-control max-age=0,no-cache,no-store,must-revalidate --content-type text/html
fi
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
set -ev
# Only:
# - Tagged commits
# - Security env variables are available.
if [ -n "$VERSION_TAG" ] && [ -n "$PROD_DEPLOYMENT_HOOK_TOKEN" ] && [ -n "$PROD_DEPLOYMENT_HOOK_URL" ]
then
curl --silent --output /dev/null --write-out "%{http_code}" -X POST \
-F token="$PROD_DEPLOYMENT_HOOK_TOKEN" \
-F ref=master \
-F "variables[TRIGGER_RELEASE_COMMIT_TAG]=$VERSION_TAG" \
$PROD_DEPLOYMENT_HOOK_URL
else
echo "[ERROR] Production deployment could not be prepared"
fi