Commit Graph

3326 Commits

Author SHA1 Message Date
Mikhail Mikheev 77ce93a6bf remove rinkeby from supported networks for mushrooms finance app 2021-03-11 13:42:21 +04:00
Daniel Sanchez cd2305fb0c Update transaction builder 2021-03-11 10:35:03 +01:00
Daniel Sanchez 26de414e12
Fix wrong estimation when only executing and selected safeTxGas is 0 (#2013) 2021-03-10 19:50:26 +01:00
nicolas b12e1906f5
Fix load ga. (#1998) 2021-03-10 10:03:56 +01:00
nicolas 5361aec9ee
remove url as required attribute of manifest.json for safe-apps (#1962)
* remove url as required attribute of manifest.json for safe-apps

* getAppInfoFromUrl: get requiredData from manifest
2021-03-10 09:50:25 +01:00
nicolas 6444c37380
Set same estimation gasCost as MM (#2011)
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2021-03-10 09:37:27 +01:00
Mati Dastugue 4ee5fe57b2
Tx list v2 - design/wording follow ups (#1969)
* Rename custom transaction to custom interaction

* fix no transaction img size
2021-03-09 17:02:26 +01:00
nicolas 5ded9ee9e7
Fix: History and Queue pagination (#2003) 2021-03-09 16:46:09 +01:00
Daniel Sanchez 639bb98423
Upgrade dependencies (#2009)
* Upgrade dependencies without breaking changes

* Remove travis leftovers

* Upgrade types dependencies

* Upgrade eslint rules to new prettier configuration
2021-03-09 16:11:09 +01:00
Mati Dastugue cb16192555
Change no fiat value text (#2006) 2021-03-09 11:20:34 +01:00
Agustín Longoni 69f0e346a0
(feature) Wording and styles improvements in modals (#1974)
* add external icon in safe version (settings)

* change wording in receive modal

* fix Modal titles and color on back/cancel button

* move toggle to the left
(contract interaction modal)

* add title "Method" for drop down

* review lettercase in titles and buttons

* add contract address label in contract interaction

* fix label for input "Contract address"

* fix label when use custom data (Contract address)

* fix external link component on Safe version

* change Label "Recipient" to "Contract address"
2021-03-09 09:56:09 +01:00
Agustin Pane b733cb1c85
(Feature) - V1 fetch assets from client gateway (#1992)
* Replace collectibles fetch with client gateway

* Replaces balance endpoint with client gateway

* Remove default export of tokens list

* Set the default rows per page to 100

* Fix ether price load

* Remove Add custom token button

* Remove add custom asset and add custom token modals
2021-03-09 09:39:18 +01:00
Daniel Sanchez 4b9e6c7bfe
[Chore] Cleanup old tx list leftovers (#1996)
* Cleanup old transaction list files

* Rename view folder from GatewayTransactions to TxList

* Remove all reducer logic for incomingTransactions

* Delete allTransactionsLogic

* Cleanup cancel transaction legacy logic

* Remove fetch creation transaction

* Remove moduleTransactions logic

* Remove unused transfer methods

* Cleanup unused types
2021-03-09 09:27:35 +01:00
nicolas 7312c99cdb
set gas to 0 when rejecting a tx. (#1993) 2021-03-08 15:44:39 +01:00
nicolas 4c37a2b7c1
Handle 404 responses for txs queue and history (#1990) 2021-03-08 10:08:28 +01:00
Richard Meissner f4f79f0303
Allow off-chain signing and collectibles with 1.0.0 safes (#1966) 2021-03-08 09:58:02 +01:00
Daniel Sanchez 760a2a2b0f
Revert "Revert "Fix - Copy to clipboard button prevents submit" (#2001)" (#2002)
This reverts commit 0fb02c7333.
2021-03-08 09:46:40 +01:00
Daniel Sanchez 0fb02c7333
Revert "Fix - Copy to clipboard button prevents submit" (#2001) 2021-03-08 09:44:39 +01:00
Mati Dastugue d082ab4da5
Merge pull request #1995 from gnosis/fix/copyToClipboard 2021-03-08 04:02:58 -03:00
Mati Dastugue ecde42f0ae
Merge branch 'development' into fix/copyToClipboard 2021-03-05 14:03:56 -03:00
nicolas 92a5f7d21d
Set owners and threshold properly (#1979)
* set owners and threshold properly

* Take threshold from step 2
2021-03-05 18:03:30 +01:00
Mati Dastugue 4fb77297e6 Bump safe components version with copy to clipboard fix 2021-03-05 00:57:54 -03:00
Mati Dastugue 567de80afb Merge branch 'development' of github.com:gnosis/safe-react into development 2021-03-05 00:47:53 -03:00
Mati Dastugue a9f1130a9f
[EWC] Enable Wallet connect (#1952)
* Enable Wallet connect on EWC
2021-03-04 20:29:49 +01:00
Daniel Sanchez 3c0f9a1ea4
Merge pull request #1988 from gnosis/fix/v3.1.1
Mergeback CI fixes to development
2021-03-04 17:59:55 +01:00
Daniel Sanchez 883e6f4391
Merge branch 'development' into fix/v3.1.1 2021-03-04 16:11:04 +01:00
Agustin Pane 5c923ceffa
(Feature) Estimate gas for safe creation (#1825)
* Types in safeDataExtractor.ts

* Adds useEstimateSafeCreationGas hook

* Refactor Layout.tsx

* Remove gas price in estimateGasForDeployingSafe

* Types in createSafe and adds gasLimit to deployment transaction

* Uses useEstimateSafeCreationGas in ReviewComponent for transaction creation

* Add types

* Fix types

* Fix types of ReviewInformation modal on safe load

* Fix safe creation for multiple owners

* fix unit tests

* Remove unnecesary minimum tx gas

Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
Co-authored-by: nicosampler <nf.dominguez.87@gmail.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2021-03-04 11:24:45 -03:00
Daniel Sanchez 6d673207f3
Enable production builds for tagged builds in CI (#1987)
* Remove quotes from env var definition

* Set v3.1.2
2021-03-03 17:20:39 +01:00
Daniel Sanchez 8d21e9d614
Merge pull request #1986 from gnosis/fix/v3.1.1
Fix v3.1.1. Production deploy
2021-03-03 16:17:28 +01:00
Daniel Sanchez 88eeafd0aa Set v3.1.1 2021-03-03 16:00:58 +01:00
Daniel Sanchez 7390ae853e Fix static files upload for production deployment 2021-03-03 16:00:20 +01:00
Daniel Sanchez a2bbbf4177
Merge pull request #1985 from gnosis/release/v3.1.0
Mergeback release v3.1.0 to development
2021-03-03 13:31:20 +01:00
Daniel Sanchez 744ac1bcf5
Merge pull request #1984 from gnosis/release/v3.1.0
Update Mushrooms and Lido apps for release
2021-03-03 12:39:25 +01:00
Daniel Sanchez 3e84bc3e8f
Merge branch 'master' into release/v3.1.0 2021-03-03 12:27:24 +01:00
Daniel Sanchez 9e5474bdab Update rpc endpoint for Mushrooms 2021-03-03 12:11:53 +01:00
Daniel Sanchez 149b75ea12 Remove "Rinkeby" from Lido finance title 2021-03-03 11:49:21 +01:00
Daniel Sanchez 01e76fe771
Merge pull request #1983 from gnosis/release/v3.1.0
Fix staging deployment
2021-03-03 11:04:27 +01:00
Daniel Sanchez a05a555d86 Merge branch 'master' into release/v3.1.0 2021-03-03 11:02:30 +01:00
Daniel Sanchez 797797a831 Fix Staging deployment parameter 2021-03-03 10:59:28 +01:00
Daniel Sanchez 4f9fd13285
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>
2021-03-03 10:17:40 +01:00
Daniel Sanchez 8d53d03c3e Set V3.1.0 2021-03-03 10:05:05 +01:00
nicolas 7cee0a4fe4
fix isExecute in useEstimateTransactionGas (#1981)
* fix isExecute in useEstimateTransactionGas

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2021-03-03 09:46:17 +01:00
Daniel Sanchez 5fddc1015e Merge branch 'development' into release/v3.1.0 2021-03-02 17:41:32 +01:00
Mikhail Mikheev 60047e6f90
Add pooltogether safe app (#1946)
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2021-03-02 17:41:07 +01:00
Mikhail Mikheev 6492434f98
Feature: Add lido finance app (#1960)
* add lido finance app
2021-03-02 17:27:17 +01:00
nicolas a780f9244d
Fix execute if collected signs is > to threshold (#1968) 2021-03-01 20:40:30 +01:00
Daniel Sanchez 0236a4c536
Check transaction list before trying to assing guard element to infinite scroll in pending list (#1972) 2021-03-01 20:40:11 +01:00
Agustin Pane 1f6172204c
Fix transaction list infinite loading (#1973) 2021-03-01 15:54:16 -03:00
Agustin Pane dcd43d1e7d
Fix type of fetchSafeCollectibles (#1971) 2021-03-01 13:12:55 -03:00
Daniel Sanchez 5020c0daa3
Fix gas estimation (#1959)
* Update gas estimation to handle extra data for execution

* Tweak safe gas calculation

* Optimize send ETH transaction estimation
2021-03-01 16:10:12 +01:00