Commit Graph

3371 Commits

Author SHA1 Message Date
Mati Dastugue a00539e8c2 Fix token price function to be more generic 2020-12-28 14:09:30 -03:00
Mati Dastugue d1cbc1ac8c
Merge branch 'development' into fix/balance-table-sort 2020-12-22 16:19:04 -03:00
Mati Dastugue 5008ee4ab9
Merge pull request #1738 from gnosis/fix/modal-close
Fix - Send Again modal close on its own
2020-12-22 11:16:16 -03:00
Mati Dastugue 6ffb7368cd Allow sort for value column 2020-12-21 23:06:48 -03:00
Mati Dastugue 283e62efd4 Merge branch 'development' of github.com:gnosis/safe-react into development 2020-12-21 22:29:43 -03:00
Mati Dastugue 2af0fb0cb1
Update index.tsx 2020-12-18 10:44:04 -03:00
Mati Dastugue 8946ebcf32 Merge branch 'development' of github.com:gnosis/safe-react into fix/modal-close 2020-12-18 10:36:02 -03:00
Mati Dastugue 62232e6dc2 Prevent modal from closing on its own 2020-12-18 10:34:57 -03:00
Daniel Sanchez f143721c06
Fix typo in ADD_OR_UPDATE_SAFE reducer (#1735) 2020-12-16 18:32:13 -03:00
Daniel Sanchez f47580877b
Merge pull request #1733 from gnosis/release/v2.17.0
Backmerge release v2.17.0
2020-12-16 13:05:22 +01:00
Daniel Sanchez 94d9ee46d9
Merge branch 'development' into release/v2.17.0 2020-12-16 10:58:19 +01:00
Daniel Sanchez b3541705e5
Merge pull request #1719 from gnosis/release/v2.17.0
Release v2.17.0
2020-12-16 09:20:11 +01:00
Agustin Pane f65c8b7212 (Feature) - Expanded decoded data collapses automatically (#1731)
* Adds shouldSafeBeUpdated to avoid updating unnecessary the safe

* Fix css typing

* Moves equalArrays to utils function
Improves how updateSafe is dispatched within checkAndUpdateSafe to avoid unnecessary re renders

* Revert some default cases fixes

* Adds equalArrays tests

* Add test to arrays.test.ts

* Improves shouldSafeStoreBeUpdated order and renames it

* Adds shouldSafeStoreBeUpdated.test.ts

* Uses shouldSafeStoreBeUpdated within safe reducer

* Replaces equalArrays with isEqual from lodash

* Simplify shouldSafeStoreBeUpdated using isEqual from lodash

* Remove lodash to compare Immutable objects correctly

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-12-15 22:27:09 +01:00
Agustin Pane 7c19205e01
(Feature) - Expanded decoded data collapses automatically (#1731)
* Adds shouldSafeBeUpdated to avoid updating unnecessary the safe

* Fix css typing

* Moves equalArrays to utils function
Improves how updateSafe is dispatched within checkAndUpdateSafe to avoid unnecessary re renders

* Revert some default cases fixes

* Adds equalArrays tests

* Add test to arrays.test.ts

* Improves shouldSafeStoreBeUpdated order and renames it

* Adds shouldSafeStoreBeUpdated.test.ts

* Uses shouldSafeStoreBeUpdated within safe reducer

* Replaces equalArrays with isEqual from lodash

* Simplify shouldSafeStoreBeUpdated using isEqual from lodash

* Remove lodash to compare Immutable objects correctly

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-12-15 22:23:12 +01:00
Mati Dastugue 0814eb528e Merge branch 'development' of github.com:gnosis/safe-react into development 2020-12-14 14:53:54 -03:00
Mati Dastugue 71375f9d64 Fix wrong status on txs 2020-12-14 14:53:34 -03:00
Daniel Sanchez 71bdd43a80
Merge pull request #1720 from gnosis/release/v2.17.0
Fix safe-react-components
2020-12-14 18:51:55 +01:00
Daniel Sanchez cca6854320 Update tx-builder and Aave app hashes 2020-12-14 16:06:36 +01:00
Daniel Sanchez afa8903eb2 Set v2.17.0 2020-12-14 13:58:05 +01:00
Daniel Sanchez 1357801f6b
Merge branch 'master' into release/v2.17.0 2020-12-14 13:56:56 +01:00
Daniel Sanchez e34b9e74ed Use latest safe-react-components version 2020-12-14 13:53:51 +01:00
nicolas 89c7482344
Show ETH value input for payable methods (fix for solidity v0.6x) (#1717) 2020-12-14 11:01:03 +01:00
Agustin Pane 0f592111e9
(Feature) Safe owners not loaded (#1710)
* Makes getGasEstimationTxResponse exportable

* Removes the race condition between useLoadSafe and useSafeScheduledUpdates

* Reword safeLoaded

* Improve check for setIsSafeLoaded
2020-12-12 14:39:50 +01:00
Agustín Longoni 1bb3ebce63
Welcome Screen (#1655)
* add cards and styles on texts

* add styles and content

* align card content

* fix text about Safe Multisig

* add new components from SRC

* update SRC

* changes to welcome page

* fix margins

* update SRC

* fix icon size

* update SRC hash

* Dot: replace number by check when wallet is connected

* fix card  width

* add url to help to connect wallet.

* remove underline on button as a link (Load Safe).

* Fix buttons

* disable connect wallet button when there is a connected wallet

* fix padding in New Transaction button

Co-authored-by: nicosampler <nf.dominguez.87@gmail.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-12-11 22:47:07 +01:00
Daniel Sanchez f782c35e31
Clean dependencies warnings (#1716)
* Add resolution for babel version

Update @rescrips/cli to be compatible with react-scripts 4

* Upgrade packages to avoid install warnings
2020-12-11 20:42:13 +01:00
nicolas c9a06ec1c2
Handle console erros and warnings (#1709)
* Remove Warning: React.createFactory() is deprecated

* make TS recognize Window definition by adding an empty export

* Silent MM warning  ethereum.autoRefreshOnNetworkChange

* remove warning when requesting data from contract with null address.
2020-12-11 19:38:16 +01:00
Mikhail Mikheev 94175a6970
Feature #1593: Support promise-based api of Safe Apps SDK (#1594)
* use multiple versions of safe apps sdk

* use multiple versions of safe apps sdk

* Type fixes

* wip error for multiple versions

* fix multiple sdk versions

* app communicator wip

* communicator wip

* getEnvInfo handler

* update sdk

* app communicator wip

* sdk dep bump

* promisified getSafeInfo

* sendTransactions handler wip

* don't send a response if a handler doesnt return anything

* add handler for transaction sending

* wip rpc call handler

* rpc handler

* rpc handler fix

* V2 Communicator

* remove tsbuildinfo

* fix communicator

* fix error handling for rpc requests

* rpc call fixes

* Update sdk

* Adapting app to use formatters wip

* use messafe formatter from sdk

* Sdk update

* update safe apps sdk version, remove ethBalance from response for safe apps sdk v1

* bump sdk to beta version

* update yarn.lock

* update yarn.lock

* update yarn.lock

* use beta version of the sdk

* enhance validation check

* update dependecies

* Update to python3 dependencies

* Revert "Update to python3 dependencies"

This reverts commit 1332940c77cb649b53ec3e1adfdca10b88e24a87.

* fix transaction params type import

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-12-11 12:31:55 +04:00
Fernando 71f1ea7ad1
(Fix) Duplicated address validation (#1699)
* use createStyles/makeStyles

* simplify `addressBookQueryParamsSelector`

* avoid using `createSelector`

as memoization in this scenario is not working as expected and list is not refreshed

* refactor `uniqueAddress` curried function and strategy to validate

- `selectedEntry` being `null` made the code harder to follow

* fix `uniqueAddress` validator tests

* use arrow function
2020-12-10 16:07:38 +01:00
Fernando 4079ff9abe
add missing parameters to TransferDescription (#1686) 2020-12-10 00:25:20 +01:00
nicolas 2fe1fb2794
Remove safe address tracking for GA (#1683)
* reactGA bump

* remove address from GA

* remove unneeded option

* Disable travis cache

* Set travis to use latest linux build image

* Update to use python3 dependencies

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-12-09 20:45:06 +01:00
Agustin Pane 9175552488
(Feature) - #1656 Tx is sent to backend even if not signed (#1672)
* Fix black notification

* Fix executing tx even if the user rejected it

* Fix hidden metamask error code

* Fix proccessTransaction notifications and metamask sign reject handling
2020-12-09 18:02:09 +01:00
Mati Dastugue 89a80bdb7a Merge branch 'development' of github.com:gnosis/safe-react into development 2020-12-09 11:33:58 -03:00
Mati Dastugue 878c32c4a3 Collectibles utils 2020-12-09 11:33:22 -03:00
Fernando f161875902
(Fix) Duplicated Owner Addresses on Safe Creation (#1666)
* add form level validation for OwnersForm

- also fixed `calculateValuesAfterRemoving` function that removed an owner's row by clicking on the trash icon

* add tests for `calculateValuesAfterRemoving` function

* reformat with prettier
2020-12-09 12:55:55 +01:00
Daniel Sanchez 258790dcca
Backmerge hotfix v2.16.2 (#1702) 2020-12-04 19:28:46 -03:00
Daniel Sanchez 9a9bb3c775
Upgrade dependencies (#1691)
* Upgrade dependencies without breaking changes

* Upgrade react-scripts to v4

* Use import instead of require in icons

* Update styles dependencies

* Remove react-app-rewired as is deprecated and not needed anymore

* Update prettier and testing-library/react dependencies

* Upgrade @ledger for desktop app

* Fix types in fetchSafeTokens test

* Use rescripts to remove ESLint plugin from react-scripts webpack

* Disable travis cache

Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
2020-12-04 18:38:49 +01:00
Daniel Sanchez aaafea4d89 Set v2.16.2 2020-12-03 16:29:59 +01:00
Daniel Sanchez b6556e4c7f Fix style error 2020-12-03 16:27:18 +01:00
Daniel Sanchez a62bfe329d
Merge pull request #1694 from gnosis/hotfix/v2.16.1
Add CMM app
2020-12-03 14:53:42 +01:00
Daniel Sanchez e72d04a0a2 Set v2.16.1 2020-12-03 14:49:18 +01:00
Daniel Sanchez 0f9c2cbf49 Add CMM app 2020-12-03 14:47:37 +01:00
Agustin Pane c0a8d24828
(Fix) - Shows a timeout message on app timeout (#1654)
* Shows a timeout message on api timeout

* Improves loading text

* Improves clear timeout

* Fix typo

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-12-03 08:56:34 -03:00
Daniel Sanchez 40e0a7b6fb
Merge pull request #1681 from gnosis/release/v2.16.0
Backmerge Release v2.16.0
2020-12-01 17:40:00 +01:00
Daniel Sanchez 08bd74229f
Merge pull request #1657 from gnosis/release/v2.16.0
Release v2.16.0
2020-12-01 11:10:25 +01:00
Daniel Sanchez 265f43e72e Disable Ledger and Trezor in Volta network 2020-11-30 19:47:08 +01:00
Daniel Sanchez d5abbd7aae Update WalletConnect app to show correct logo 2020-11-30 19:28:10 +01:00
Fernando 76ef99fa96
(Fix) Native Coin transfer not shown (#1670)
* allow to display native coin transfers in the expanded view

* fix issue with fragment being passed to material-ui menu
2020-11-30 17:10:42 +01:00
Daniel Sanchez 8d73ebd177 Lower sentry sample rate to avoid threshold overflow 2020-11-30 15:15:27 +01:00
Daniel Sanchez a7cf0ffbf2 Rollback bnc-onboard dependency 2020-11-30 09:49:51 +01:00
nicosampler 5f15090df5 update safe-apps legend 2020-11-27 11:04:55 -03:00