Commit Graph

2003 Commits

Author SHA1 Message Date
Agustin Pane 26a358a3af
(Feature) - 1029 Improve Polling behaviour (#1047)
* Adds exponential backOff for fetch methods

* Avoid multiple requests before the last finished

* Removes unused dependency

* Adds try catch

* Fix isFetchingData variable initialization

* Add return type to fetchAllUserCollectiblesByCategoryAsync

* Improve typings for fetchSafeTokens

* Add more types

* Improve types usage

* Improve types usage

* Refactor useCheckForUpdates to avoid calling the actions before they finished

* Updates typing in OpenSea.ts

* Update store types

* Update store types

* Remove unused promises

* useCheckForUPdates & useFetchTokens refactor wip

* enhanced safe state/selector types

* refactor useCheckForUpdates

* improve comment in useSafeScheduledUpdaates

* type enhancements

* use checksumAddress to checksum an address

* dep bump

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
2020-07-06 16:34:14 -03:00
Mikhail Mikheev 54ed00564b
2.5.1 Dev <- master backmerge (#1093)
* check if there as a pending transaction before marking transaction as a cancellation one

* update pkg.json
2020-07-06 12:04:31 -03:00
Mati Dastugue 72a13f8c74
Update name in props 2020-07-03 14:48:18 -03:00
Mati Dastugue b9e8bcc179
Merge branch 'development' into feature/address-book-suggestions 2020-07-03 14:08:10 -03:00
Agustin Pane 36e78e00b4
(Fix) - Settings ui break (#1073)
* Adds useWindowDimensions hook
Uses useWindowDimensions hook to render the address on ownerAddressTable depending of the size of the screen

* Fix table width for medium sizes

* Reduces padding for medium screen sizes
Also simplifies js logic for adding cut addresses

* Adjust the padding for larger screens

* Adjust the padding for larger screens

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-03 16:23:30 +04:00
nicolas 822903c83d
sapp iframe size (#1081)
* sapp iframe size

* review changes

* CenteredMT

* remove className

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-03 14:12:49 +04:00
Mati Dastugue 0e3436bf67
Prevent showing enable data modal (#1086)
* Prevent from showing enable modal

* Add message info for failing txs

* c'mon Travis! Stop complaining.

* PR feedback improvements

Co-authored-by: Mati Dastugue <mdastugu@amazon.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-03 13:59:36 +04:00
Mati Dastugue 7db9fae535
Merge branch 'development' into feature/address-book-suggestions 2020-07-02 13:34:19 -03:00
nicosampler 725a9e9a84 sort apps alphabetically 2020-07-01 11:22:32 -03:00
nicosampler 1cdd16abb6 Add Idle sapp 2020-07-01 11:15:51 -03:00
Mati Dastugue 02eeb0410e Merge branch 'development' of github.com:gnosis/safe-react into feature/address-book-suggestions 2020-06-30 12:59:38 -03:00
Mikhail Mikheev a8483a97da
Merge pull request #1041 from gnosis/1013-undefined-error
(Fix) - #1013 undefined error
2020-06-30 18:48:33 +04:00
Fernando 328343fa9d
Merge pull request #1069 from gnosis/2.3.2-dev-master-backmerge 2020-06-29 13:53:57 -03:00
Mati Dastugue 0587bb9139 Fix types + improve form values 2020-06-29 13:48:46 -03:00
nicolas 6def3cbc93
add Aave app (#1075) 2020-06-29 13:39:48 -03:00
Mati Dastugue f21913d84a Merge branch 'development' of github.com:gnosis/safe-react into feature/address-book-suggestions 2020-06-29 12:57:14 -03:00
Mikhail Mikheev ed72219f03 type definition fixes 2020-06-29 15:29:27 +04:00
Mati Dastugue 89100d5158 Change value validator 2020-06-26 13:04:43 -03:00
nicosampler 5ddb487411 typo 2020-06-26 12:29:01 -03:00
nicosampler ecf9e1dd79 explicitly type classNames 2020-06-26 12:19:29 -03:00
Mikhail Mikheev f2f9cb7d81 default safe logic fixes 2020-06-26 18:38:59 +04:00
nicosampler 7271d465e1 Fix: Sapp confirmTXs modal width. 2020-06-26 11:10:05 -03:00
Mikhail Mikheev ca51768b04 Merge branch 'development' of github.com:gnosis/safe-react into 1013-undefined-error 2020-06-26 18:09:55 +04:00
Mikhail Mikheev 00843b5c66 Fix dev mainnet config 2020-06-26 13:36:43 +04:00
Mikhail Mikheev 728bcc3f8e fix catching errors during retrieving token symbols/decimals 2020-06-26 13:34:12 +04:00
Mikhail Mikheev 46c227881a hardcode ens contract address to isERC721Transaction function, fallback to 18/unknown in methods fetching token decimals 2020-06-26 13:22:34 +04:00
Mati Dastugue d11142de70 Update types 2020-06-25 21:22:17 -03:00
Mati Dastugue c5681f1491 Merge branch 'development' of github.com:gnosis/safe-react into feature/address-book-suggestions 2020-06-25 20:59:37 -03:00
Mikhail Mikheev f39b0903ca
2.3.1 bugfix
* fallback to tx.recipient in case no if statement worked in getTxData

* update pkg.json
2020-06-25 16:18:53 +04:00
Mati Dastugue 79fbc2a54b Add types for Address book suggestion 2020-06-24 16:57:45 -03:00
Mati Dastugue cf2fd4522c Merge branch 'development' of github.com:gnosis/safe-react into feature/address-book-suggestions 2020-06-24 16:39:30 -03:00
Mati Dastugue 62270e180b update types 2020-06-24 16:39:19 -03:00
nicolas 38f6123d73
Disable Aave (#1052) 2020-06-23 13:20:01 -03:00
Mikhail Mikheev 01358de643 fix default safe return 2020-06-23 19:57:30 +04:00
Mikhail Mikheev c925449db2 fix apps types, fix lastTimeUserLoggedInForSafes type 2020-06-23 19:38:09 +04:00
Mikhail Mikheev 21ae4800c9 fix getDefaultSafe return type 2020-06-23 19:09:24 +04:00
Mikhail Mikheev f8d6ad4ca2 more fixes for pendingCreationTx 2020-06-23 19:06:23 +04:00
Mikhail Mikheev 96ffd52266 fix pendingSafeTx type issues 2020-06-23 19:05:42 +04:00
Mikhail Mikheev 8f0cccdb59 Fix token storage type errors, remove unused functions 2020-06-23 19:03:02 +04:00
Mati Dastugue 6d2638410f Set address book suggestions 2020-06-23 10:36:30 -03:00
Mikhail Mikheev e7c012d5d1 Fix addressbook type errors 2020-06-23 17:33:57 +04:00
Agustin Pane ebb02df721
(Fix) Fix undefined for maxValue validator in case there is no token selected (#1031)
* Fix undefined for maxValue validator  in case there is no token selected

* Add condition on validator

* Fix reset form status

* Force the re-validation on the amount field

* Fix paste address
2020-06-23 10:28:12 -03:00
Mikhail Mikheev 18f03b8bc1 typing loadFromStorage wip 2020-06-23 13:53:10 +04:00
nicolas 8c2d67897d
Adding Aave and Sablier apps (#1045) 2020-06-22 16:27:08 -03:00
Mati Dastugue 768c12e975 Merge branch 'development' of github.com:gnosis/safe-react into feature/supportCustomTX 2020-06-22 12:18:09 -03:00
Agustin Pane 231a9a7d35 Remove types 2020-06-22 12:05:08 -03:00
nicolas 2f46268fdf
Fix condition in TX sent from safe-apps (#1037)
* fix condition

* add type
2020-06-22 11:12:03 -03:00
Agustin Pane cc6aa13451 Fix types 2020-06-19 20:00:24 -03:00
francovenica b02924f5ef
Adding test (feature) (#1030)
* data-testid for load and create safe

* fix connect button id

* removed buttons data-testid property
2020-06-19 19:06:53 -03:00
Mati Dastugue 4241d1fa96 Fix TS types 2020-06-19 14:24:28 -03:00