Commit Graph

3349 Commits

Author SHA1 Message Date
nicolas da9031568f
Advanced Options refactor (#2029)
* useEstimateTxGas: set the correct value of isOffChainSignature if gas estimation fails
2021-03-23 09:01:49 +01:00
Mikhail Mikheev 253137d2ba
Bug: Safe app communicator is not properly initialized sometimes, thus app fails to communicate (#2069)
* use iframeRef inside app communicator
2021-03-22 18:59:12 +01:00
Fernando c41ab4eaec
(Chore) Update `nativeCoin` address to ZERO_ADDRESS (#2059) 2021-03-18 14:02:48 -03:00
Fernando e2c1113377
Remove asset and activeAssets references (#2058) 2021-03-18 15:33:10 +01:00
Fernando a504ad495a
use `tokenBalance` for SendFunds modal (#2056) 2021-03-18 12:20:49 +01:00
Daniel Sanchez 8d8a971313
Merge pull request #2052 from gnosis/backmerge-release-3.1.3
Backmerge Release v3.1.3 - Desktop app
2021-03-18 12:03:17 +01:00
Daniel Sanchez f15a91ba7d
Merge branch 'development' into backmerge-release-3.1.3 2021-03-17 20:06:06 +01:00
Daniel Sanchez 352461658b
Release v3.1.3 - Desktop app (#2045)
* Update release desktop app github action

* Restore yarn install step for desktop build

* Add linux deps for Ledger build in desktop workflow

Update electron to latest v9

* Push back ubuntu version for desktop build

* Set ubuntu 18 for linux desktop app

* Update Desktop App signature

* Set v3.1.3

* Fix AWS credentials configuration for Volta, xDai and EWC

* Remove explicit aws credentials for all networks
2021-03-17 20:04:00 +01:00
Agustin Pane 4ed181886b
(Feature) - V2 fetch supported fiat currencies from client gateway (#2023)
* Replace collectibles fetch with client gateway

* Updates tokenProps types

* 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

* Remove default exports

* Remove currencyValues state from store
Remove currencyValues selectors

* Update balance state with fiatBalance and tokenBalance

* Remove default export from fetchEtherBalance.ts

* Fix safeFiatBalancesTotalSelector
Add totalFiatBalance to safe store

* Remove fetchCurrenciesRates.ts

* Adds in currencyValuesStorageMiddleware logic for updating the safe tokens when the user changes the selected currency

* Move selectedCurrency to simple redux state
Remove currencyValues redux state

* Updates fetchTokenCurrenciesBalances with selectedCurrency parameter

* Revert CurrencyValuesState
Remove selectedCurrency from safe state

* Remove selectedCurrency from safe state
Update currentCurrencySelector selector usage

* Add fetchAvailableCurrencies setAvailableCurrencies and updateAvailableCurrencies

* Remove availableCurrencies.ts by using availableCurrenciesSelector

* Fix display of ETH balance on extendedSafeTokensSelector and extractDataFromRESULT

* Fix multiple calls to token balance endpoint

* (Feature) - V2 Remove Manage List (#2032)

Co-authored-by: fernandomg <fernando.greco@gmail.com>
2021-03-17 18:28:37 +01:00
Mikhail Mikheev 1c74f39f37
Update Mushrooms finance app (#2035) 2021-03-17 11:47:12 +01:00
Fernando 1818302d5d
(Fix) Stop from notifying user's wallet tx confirmation (#2007)
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
2021-03-16 19:04:48 -03:00
Agustín Longoni 78191e979d
Safe creation process improvements (#1935)
* add new icons and fix styles
* delete part of legal text
* adjustments on columns and container width

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: nicosampler <nf.dominguez.87@gmail.com>
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
Co-authored-by: Fernando <fernando.greco@gmail.com>
2021-03-16 16:44:46 -03:00
Richard Meissner b26b681426
Show loading spinner while js is not ready (#2031)
* Switch to bounce animation

* Add more specific preloader class

Co-authored-by: lukasgnosis <lukas.schor@gnosis.pm>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2021-03-16 16:46:03 +01:00
Daniel Sanchez 03397f9e8f
[CI Improvements] - Build mainnet environment for PRs (#2047)
* Enable mainnet build on PRs

Enable EWC build on release PRs
2021-03-16 16:22:49 +01:00
Agustin Pane f1547c1188
(Feature) Modals types improvements (#2027)
* Fix types, styles and default exports

Co-authored-by: Fernando <fernando.greco@gmail.com>
2021-03-16 15:57:26 +01:00
Fernando 188175d690
(Fix) Wrong owners name assignment on Safe Load (#2020)
* pad with zeroes so sorting works properly

* fix @ts-eslint warnings
2021-03-16 11:24:31 +01:00
Mati Dastugue 34a8bcc259
Change view for bytes parameters (#2028)
* Remove unused components

* replace shortVersionOf by textShortener
2021-03-16 10:55:25 +01:00
Agustin Pane 8f16c4f18d
(Feature) - #1991 Prevent that a Safe adds itself as an owner (#2026)
* Uses addressIsNotSafe on replaceOwner modal and addNewOwnerModal

* Update method name from addressIsNotSafe to addressIsNotCurrentSafe
2021-03-16 10:42:42 +01:00
Daniel Sanchez 61125fb937
Merge pull request #2038 from gnosis/release/v3.2.0
Mergeback release v3.2.0
2021-03-16 10:28:52 +01:00
Daniel Sanchez c441bae7f7
Merge branch 'development' into release/v3.2.0 2021-03-15 15:44:23 +01:00
Agustín Longoni 2fd68c55ee
(feature) Wording improvements (#1999)
* Fix reject and cancel button on Rejection modal

* change buttons labels on modal (Settings/Policies)

* fix Policies button align to the right

* change wording cancel for reject
2021-03-15 11:02:48 +01:00
Daniel Sanchez 99f46043ae
Merge pull request #2015 from gnosis/release/v3.2.0 2021-03-12 12:31:31 +01:00
Daniel Sanchez 19eb4f6375 Set v3.2.0 2021-03-12 09:29:29 +01:00
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