Commit Graph

2896 Commits

Author SHA1 Message Date
fernandomg a4d6e224f3 remove optional props 2020-07-18 10:26:32 -03:00
fernandomg fc28d1c833 fix dispatch misuse 2020-07-18 10:08:16 -03:00
fernandomg 028913d9bf bump `safe-react-components` version 2020-07-17 18:39:46 -03:00
fernandomg c28124b685 remove List from selectors 2020-07-17 17:33:21 -03:00
fernandomg 46e567ba88 add typing for TxDescription components 2020-07-17 17:13:36 -03:00
Fernando b5c3f08642
Merge branch 'development' into feature/#934-advanced-settings 2020-07-17 14:29:19 -03:00
fernandomg cc103c00d7 refactor: Advanced settings component 2020-07-17 14:25:05 -03:00
Mati Dastugue d32aa178fa
Merge pull request #1119 from gnosis/feature/wallet-enhacements
Connected wallet enhancements
2020-07-17 14:12:30 -03:00
Mati Dastugue 4782d81204 Merge branch 'feature/wallet-enhacements' of github.com:gnosis/safe-react into feature/wallet-enhacements 2020-07-17 12:21:53 -03:00
Mati Dastugue 0237de751f Feedback PR 2020-07-17 12:21:05 -03:00
fernandomg ad9ee25b36 refactor: move `Dispatch` type to a common place 2020-07-17 12:00:50 -03:00
fernandomg c74b79bf67 refactor: prevent using reducer's name for field selection 2020-07-17 11:51:18 -03:00
fernandomg 3b7992a9e1 fix: remove unnecessary `async` 2020-07-17 11:12:24 -03:00
fernandomg 95e557b133 refactor: remove optional chaining as modules is always returned as an array 2020-07-17 11:10:27 -03:00
fernandomg 1ccb37e031 refactor: move tableTypes to `src/components/Table/types.d.ts` 2020-07-17 11:08:24 -03:00
fernandomg 1064e3deb8 fix relative paths and commented lines 2020-07-17 11:05:06 -03:00
fernandomg d483f1ff16 fix "cannot read `size` of undefined" error message 2020-07-17 11:04:49 -03:00
fernandomg eab41bd314 display module tx information 2020-07-16 23:09:24 -03:00
Fernando 6442b52562
Merge branch 'development' into feature/#934-advanced-settings 2020-07-16 19:12:59 -03:00
Mikhail Mikheev 17aef9703a
Merge branch 'development' into feature/wallet-enhacements 2020-07-17 01:14:05 +04:00
Mikhail Mikheev 4fd620c7ad
Merge pull request #1120 from gnosis/issue-1117
Add synthetix app
2020-07-17 01:12:25 +04:00
Mati Dastugue 141ffd7eab Upgrade tests coverage 2020-07-16 17:46:02 -03:00
nicosampler db20cf107c Add synthetix app 2020-07-16 17:32:45 -03:00
Mati Dastugue f9a345d200 merge with develop 2020-07-16 12:13:06 -03:00
fernandomg 665d87eec7 Revert "replace `any` with `unknown`"
This reverts commit 8209e950
2020-07-16 10:30:05 -03:00
fernandomg 1674dab6ae Merge branch 'development' into feature/#934-advanced-settings 2020-07-16 10:26:32 -03:00
fernandomg 4634041467 prevent TypeError when viewedSafe is undefined 2020-07-16 10:23:25 -03:00
fernandomg 67c67f4569 set type for dispatch actions in hooks 2020-07-16 10:23:23 -03:00
Mikhail Mikheev 6daf174e7b
Merge pull request #1102 from gnosis/AddingTestId
(e2e Tests) Add necessary attributes for Send Funds workflow
2020-07-16 16:41:19 +04:00
Mikhail Mikheev cd6078e0a8
Merge branch 'development' into AddingTestId 2020-07-16 16:31:02 +04:00
fernandomg 8209e950d6 replace `any` with `unknown` 2020-07-15 18:50:19 -03:00
fernandomg 1671136115 replace `JSX.Element` with `React.ReactElement`
See: @Ferdaber's note at: https://github.com/typescript-cheatsheets/react-typescript-cheatsheet/blob/master/docs/advanced/types-react-ap.md

> I discourage the use of most `...Element` types because of how black-boxy `JSX.Element` is. You should almost always assume that anything produced by `React.createElement` is the base type `React.ReactElement`.
2020-07-15 18:48:29 -03:00
fernandomg b9262ffdf0 fix cannot read map of null error 2020-07-15 18:44:44 -03:00
fernandomg 5dbb095d4a triggering hooks 2020-07-15 17:44:30 -03:00
Mikhail Mikheev a6600c703d add ethereumnetworks type 2020-07-15 19:12:23 +04:00
Mikhail Mikheev 4eb5a6b12f use inferred type for owners in OwnerForm 2020-07-15 18:25:54 +04:00
Mikhail Mikheev 211749aab8 fix fetchTransaction/createTransaction types 2020-07-15 18:14:28 +04:00
fernandomg fa30de45a8 Merge branch 'development' into feature/#934-advanced-settings 2020-07-15 08:33:22 -03:00
Mikhail Mikheev 1af0cbd3eb
Merge pull request #1116 from gnosis/issue-1114
Allow HX values
2020-07-15 15:18:06 +04:00
fernandomg 3858daf649 fix owners typing 2020-07-14 18:33:25 -03:00
fernandomg 32598bbe87 fix relative path 2020-07-14 17:04:39 -03:00
fernandomg 012f0a9693 Extract [string, string] as ModulePair type 2020-07-14 17:02:15 -03:00
fernandomg 79e80ea5e4 replace ternary with nullish coalescing operator 2020-07-14 16:43:32 -03:00
fernandomg 342acd27c4 use `JSX.Element` and fix imports 2020-07-14 16:42:05 -03:00
fernandomg 5cb1eb483a extract `TableColumn` interface to a common place and use where necessary 2020-07-14 16:22:22 -03:00
fernandomg 1fb191b7ae fix `valueInWei` so its always a string 2020-07-14 16:01:00 -03:00
fernandomg 92cb386cc7 remove usage of template string as `ethBalance` is only of string type now 2020-07-14 15:57:39 -03:00
fernandomg d9e428c4ed create `ProviderState`
done out of consistency, but with `ProviderRecord` it would have been enough
2020-07-14 15:00:37 -03:00
fernandomg c314910713 use `TokenState` in AppReduxState 2020-07-14 13:14:37 -03:00
fernandomg 4e18a416ee create `TokenState` 2020-07-14 12:57:10 -03:00