Commit Graph

2801 Commits

Author SHA1 Message Date
nicosampler 184c1cb08e Transaction List 2020-07-29 15:28:14 -03:00
nicosampler 8bc7d3efcc Connected wallet 2020-07-29 14:40:51 -03:00
Mikhail Mikheev e80b4574bf
Merge pull request #1172 from gnosis/dev-master-backmerge
Dev <- master v2.8.1 Backmerge
2020-07-29 18:23:29 +04:00
Mikhail 1f0117ae6e Merge branch 'master' of github.com:gnosis/safe-react into dev-master-backmerge 2020-07-29 18:02:27 +04:00
Daniel Sanchez 89c17180de
Trim spaces from AddressInput (#1142)
* Remove spaces

* Change naming convention to make clear that only edge whitespaces are removed

Fix function documentation in string util

* Add trim spaces from address input in AddToken and AddAsset

* Use validator type

* Trim spaces on Safe App links

Co-authored-by: Mati Dastugue <mdastugu@amazon.com>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-29 17:28:43 +04:00
nicosampler 3a04b077b2 Safes list 2020-07-28 19:23:42 -03:00
nicosampler 617863fb54 fix TS error 2020-07-28 19:09:29 -03:00
Agustin Pane bbfa7d8166
(Feature) Balances enhancements (#1122)
* Fix ts error
Add type return on fetchCurrencyValues

* Add skeleton for loading balance value

* Fix texts in uppercase

* Adds ETH Icon in currencyValues dropdown

* Adds getExchangeRatesUrlFallback
Adds support for ETH as currency

* Alphabetically sort currencies

* Add types

* Type formatAmount

* Adds formatAmountInUsFormat util function

* Add types
Uses formatAmountInUsFormat for BALANCE_TABLE_BALANCE_ID

* Updates max and min fraction digits on formatAmountInUsFormat
Add tests

* Updates max and min fraction digits on formatAmountInUsFormat
Add tests

* Add types

* Fix currencyValues types

* Adds safeFiatBalancesTotalSelector

* Adds total balance to safe header

* Fix types

* Adds currentCurrency on header

* Adds types to getTokenPriceInCurrency

* Fix balance currency rate conversion

* Add guards for modules

* Add guards for modules

* Uses console error for api

* Remove anys

* Redefine CurrencyRateValue types into CurrencyRateValueRecord

* Redefine test texts

* Use absolute imports

* Add types to dispatch

* Add guard for no balance value

* Fix ESLINT warning

* Add types

* Fix no balance case

* Use optional chaining

* Absolute paths

* Adds return types
Uses BigNumber in safeFiatBalancesTotalSelector

* Remove number as type for formatAmountInUsFormat

* Uses createStyles to remove any types

* Improve total balances display

* Fix balances value column

* formatAmountInUsFormat feedback

* Force boolean evaluation

* Fix totalBalance heading styles

* Add types

* Add types to fetchTokenCurrenciesBalances endpoint

* Replaces coinbase dependency by backend for ETH price in USD

* Absolute paths

* Replaces RecordOf<TokenProps> with Token

* Feedback

* Trigger buid

* Types

* Fix tests order

* Renames numberFormat to usNumberFormatter

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-28 19:29:26 +04:00
Mikhail Mikheev 2672028b41
Merge pull request #1168 from gnosis/desktop-ci-fix
bring back network concurrency param
2020-07-28 19:27:01 +04:00
Mikhail bfcbdd4b93 bring back network concurrency param 2020-07-28 19:11:32 +04:00
Mikhail Mikheev 4977345a4d
Merge pull request #1166 from gnosis/hotfix/v2.8.1
Hotfix/v2.8.1
2020-07-28 19:04:50 +04:00
Mikhail Mikheev 769cbf321b
Merge pull request #1167 from gnosis/bugfix/fix-ci
Hotfix/CI
2020-07-28 18:46:05 +04:00
Mati Dastugue c494a26b82
Update release.yml 2020-07-28 11:44:19 -03:00
Mati Dastugue f915a0cc1f Add env variable for safe apps 2020-07-28 11:39:15 -03:00
Mikhail 0f5d942779 v2.8.1 2020-07-28 18:36:44 +04:00
Mikhail 08552fbe23 downgrade web3 version 2020-07-28 18:36:33 +04:00
Mikhail Mikheev 10b10e6abb
Merge pull request #1165 from gnosis/release/v2.8.0
Release: v2.8.0
2020-07-28 16:59:54 +04:00
Mikhail cd81e2ce35 2.8.0 2020-07-28 16:40:43 +04:00
Fernando 787e6ff711 (Fix) Prevent accessing `contentWindow` if `iframe` is `null` (#1161) 2020-07-28 16:40:13 +04:00
Germán Martínez cfefe69a59 Safe apps can request the Safe info (#1138)
* Request Safe info from Safe apps

* Update dependencies

* Update yarn.lock file

* remove usecallback

* Rename initialization messageId from safe-apps-sdk

* Fix openOnFocus on AddressBookInput

* Fix yarn.lock file

* Rollback @material-ui/lab to avoid type errors

* dep bump

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-28 16:40:05 +04:00
Mati Dastugue fedbac9e66 Fix CI on github action desktop build (#1159)
* Prevent failed CI if there is any warning

* Update regex

* Eslint error

Co-authored-by: Mati Dastugue <mdastugu@amazon.com>
2020-07-28 16:39:55 +04:00
Mati Dastugue 8a6b219781
Fix - Owners list error (#1127)
* Add validation for addressBooj

* Fix types

* Update default value

* Update src/logic/addressBook/utils/index.ts

Co-authored-by: Fernando <fernando.greco@gmail.com>

Co-authored-by: Mati Dastugue <mdastugu@amazon.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: Fernando <fernando.greco@gmail.com>
2020-07-28 15:25:26 +04:00
Mati Dastugue 91a85ae9ea
Fix Wrong Wallet Network Label (#1163)
* Fix network label

* rename component

* use interfaceNetwork as a default parameter

Co-authored-by: Mati Dastugue <mdastugu@amazon.com>
Co-authored-by: Mikhail <mmvsha73@gmail.com>
2020-07-28 11:54:19 +04:00
Mati Dastugue 8091a9dc77
Fix CI on github action desktop build (#1159)
* Prevent failed CI if there is any warning

* Update regex

* Eslint error

Co-authored-by: Mati Dastugue <mdastugu@amazon.com>
2020-07-28 02:04:52 +04:00
Mikhail Mikheev f62bbffdd3
Tech Debt: Validator Type definitions (#1108)
* type validators

* safeSelector types

* history 5.0.0 breaking changes adaptation

* replace simpleMemoize with memoize from lodash because of typing issues

* add type definitions for history and react-router-dom

* type fixes

* yarn lock update

* fix router state

* more type improvements

* validator tests wip

* add tests for validators, remove duplicated validators

* add error messages to tests

* fix minValue error message for inclusive param

* Replace jsx.element with react.reactelement

* Fix uniqueAddress validator argument type

* remove comment in AddCustomToken validator

* use absolute import for saferecord in safe paage container
2020-07-27 14:31:13 +04:00
Agustín Longoni 93448b550a
fix modal position at top (#1160)
Co-authored-by: Fernando <fernando.greco@gmail.com>
2020-07-27 13:55:53 +04:00
Fernando fc20ce5775
(Fix) Prevent accessing `contentWindow` if `iframe` is `null` (#1161) 2020-07-24 17:46:11 -03:00
nicolas 0b25094b95
Set timeout to Safe-Apps fetch (#1158)
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-24 18:36:41 +04:00
Germán Martínez 253639d009
Safe apps can request the Safe info (#1138)
* Request Safe info from Safe apps

* Update dependencies

* Update yarn.lock file

* remove usecallback

* Rename initialization messageId from safe-apps-sdk

* Fix openOnFocus on AddressBookInput

* Fix yarn.lock file

* Rollback @material-ui/lab to avoid type errors

* dep bump

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-24 17:56:24 +04:00
Daniel Sanchez 90a8b3f630
Merge pull request #1156 from gnosis/development
v2.7.2 development -> master
2020-07-24 12:01:37 +02:00
Mikhail Mikheev 1ed5d3ace9 Merge branch 'master' of github.com:gnosis/safe-react into development 2020-07-24 13:36:08 +04:00
Daniel Sanchez e539f6c277
Merge pull request #1155 from gnosis/set-version-2.7.2
Set v2.7.2
2020-07-24 10:40:27 +02:00
Daniel Sanchez c73c6394ce
Merge branch 'development' into set-version-2.7.2 2020-07-24 10:27:53 +02:00
Daniel Sanchez 51912b956e 2.7.2 2020-07-24 10:21:31 +02:00
Daniel Sanchez e19be5bca6
Merge pull request #1153 from gnosis/fix/update-synthetix-app-link
Update Synthetix app IPFS link
2020-07-24 10:20:18 +02:00
Daniel Sanchez e22a80c152 Update Synthetix app IPFS link 2020-07-24 10:06:47 +02:00
Mati Dastugue 23da81ca52
Merge pull request #1150 from gnosis/fix/desktop-build
Fix desktop build
2020-07-23 13:57:22 -03:00
Mati Dastugue 95d3f212cb Fix desktop build 2020-07-23 13:41:34 -03:00
Mikhail Mikheev 934de39d69
Merge pull request #1143 from gnosis/development
v2.7.1 Dev -> master
2020-07-23 17:31:00 +04:00
Mikhail Mikheev 9807a06629
v2.7.1 Update synthetix app, dependencies bump (#1145)
* Dep bump

* 2.7.1

* update synthetix app url & enable it

* Revert "Dep bump"

This reverts commit 25750e41fa198f6bed8c47b94082a515645fdc7c.
2020-07-23 17:10:43 +04:00
Daniel Sanchez c904857a28
Merge pull request #1140 from gnosis/issue-1139
Fix: [SafeApps] add app input
2020-07-22 19:20:12 +02:00
Mikhail Mikheev cea91ca007 update yarn.lock 2020-07-22 20:58:10 +04:00
nicosampler c1c5488d53 Fix: [SafeApps] add app input 2020-07-22 12:54:14 -03:00
Mikhail Mikheev a566ace499
Merge pull request #1137 from gnosis/release-changes-from-master-to-development
Merge back 2.7.0 release changes into development
2020-07-22 15:48:46 +04:00
Daniel Sanchez acc558ff42 Merge remote-tracking branch 'origin/development' into release-changes-from-master-to-development 2020-07-22 13:06:45 +02:00
Daniel Sanchez 0711ab1034
Merge pull request #1135 from gnosis/fix/remove-synthetix-app
Disable synthetix app for mainnet deployment
2020-07-22 12:12:20 +02:00
Daniel Sanchez 715988ff27 Disable synthetix app for mainnet deployment 2020-07-22 10:54:30 +02:00
nicolas 240b2068ef
replace links and legal text (#1132) 2020-07-21 17:33:13 +04:00
Mikhail Mikheev 4f1eae8209
CI: Use a different ESLint action (#1130)
* use a different eslint action

* workfile update
2020-07-21 15:57:56 +04:00
Mikhail Mikheev 70720d4be1
Add github action for ESLint (#1125)
* add github lint action

* use yaml instructions from action repo

* fix source root var

* fix source root var

* remove source root var

* install libusb

* use forked action

* remove libusb setup from action vm

* use new version of lint action

* Fix version tag of action

* update workflow file

* update workflow file
2020-07-21 15:20:08 +04:00