Commit Graph

3504 Commits

Author SHA1 Message Date
katspaugh 1f9bb3aef4
Fix the input error message in contract interaction (#2253) (#2297)
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2021-05-20 11:09:12 +02:00
katspaugh b0fadee951
Chore: coded exceptions registry and utils (#2283)
* Coded exceptions + registry

* adding throwError function

* Log to sentry

* Chore: coded exceptions registry and utils (#2161)

* Add error 600 for token fetching

* Fix constants type error

* Log only the error message on prod

* Add error 601

* PR feedback from Nico

* Add readonly for the public props

* Add isTracked and set it to false for 601

* Add a comment on how to add new errors

* Rename var

* Replace the registry object with an enum

* Add a reverse lookup map

* Duplicate the code in the enum

Co-authored-by: nicosampler <nf.dominguez.87@gmail.com>
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2021-05-20 10:49:50 +02:00
nicolas 6f2ae5af54
Fix call response in contract interaction (#2285) 2021-05-19 12:43:46 +02:00
Daniel Sanchez b59dd8ab87 Merge branch 'development' into address-book-v2 2021-05-18 17:56:33 +02:00
katspaugh f9e6da4ffe
Fix endless loader in module settings (#2300)
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2021-05-18 17:46:21 +02:00
Daniel Sanchez 3f66ebd2a4
Set lower reset time functions for Rinkeby (#2307) 2021-05-18 17:24:12 +02:00
Daniel Sanchez ec247d9017
Upgrade dependencies (#2294)
* Upgrade dependencies without breaking changes
2021-05-18 09:28:38 +02:00
Daniel Sanchez 7b00ee170b
[Address book v2] Address book update events (#2293)
* Remove UNKNOWN from owner list

* Fetch Safe Name from address book

* Update Safe name in address book when updating from settings > safe details

* Fix lint issue
2021-05-17 17:06:08 +02:00
Mati Dastugue 839c947e82
[Address Book V2] - Export address book (#2284)
* Add export feature

* Improve Address book export modal

* Use styled-components instead of material-ui styles

* Add comment

* Improve filename + set loading state false when error
2021-05-17 16:55:12 +02:00
nicolas 4f6a3e93eb
Bug: Add custom app feature works weird or doesn't work (#2279)
* prevent trigger for "" value

* remove autocomplete for input

* Add loading indicator

* Ivan feedback

* fix  jumping

* Rename prop

Co-authored-by: katspaugh <katspaugh@users.noreply.github.com>
2021-05-14 11:32:49 +02:00
Anton f9f7b3dad2
Update readme.md (#2289) 2021-05-14 11:09:09 +02:00
Mikhail Mikheev eadb8aa7cf
Add chain id to getSafeInfo response (#2288)
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
2021-05-13 13:02:11 +04:00
Mati Dastugue f28a248bc5
Bugfix - Back button resets fields on Owner modification modals (#2244)
* Prevent values reset when going back in modal

* Update deps

* Cleanup duplicated dependencies

* Revert "Update deps"

This reverts commit d29afb826a1254fa9cb7f291f23796446e7d1b64.

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: katspaugh <katspaugh@users.noreply.github.com>
2021-05-12 16:11:46 +02:00
nicolas ac2987d999
Consistently render known address with Address Book priority (#2195)
* update SRC

* fix known address to take priority from adress book

* rename useGetTxTo to getTxTo

* Liliya feedback

* Liliya feedback

* fix eslint warning

* Fix customIcon for TX-collapsed if address is in AB

Co-authored-by: katspaugh <katspaugh@users.noreply.github.com>
2021-05-12 12:53:02 +02:00
Agustín Longoni 28e1bd3e77
Send modal styles (#2223)
* fix heading size and styles

* buttons width

* fix margins

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: katspaugh <katspaugh@users.noreply.github.com>
2021-05-12 12:11:02 +02:00
nicolas 961f274c6a
Fix: remove auto checksum address from InputAddress (#2242)
* Fix: remove auto chacksum address from InputAddress

* Mikhail feedback

Co-authored-by: katspaugh <katspaugh@users.noreply.github.com>
2021-05-12 12:00:44 +02:00
nicolas ad109668fb
Fix GA problem after disabling cookies. (#2241)
* fix GA problem

* add types for js-cookie

* Cookies util: Add removeCookie and types

* Remove GA cookies when disabling permission

* test remove cookie

* try empty path

* test

* remove cookies using domain

* restore path '/'

* move remove cookies to GA util

Co-authored-by: katspaugh <katspaugh@users.noreply.github.com>
2021-05-11 09:22:15 +02:00
Marius Kjærstad 5b8e1af9ef
Changed http:// to https:// on SemVer link (#2269)
Changed http:// to https:// on SemVer link in readme.md

Co-authored-by: katspaugh <katspaugh@users.noreply.github.com>
2021-05-10 17:56:56 +02:00
Mati Dastugue 5ee9ef7b84
[Address Book] - Add Import/Export Buttons (#2278)
* Add import/export buttons to addressBook

* Change textSize to icons
2021-05-10 12:40:27 -03:00
dependabot[bot] d899768741
Bump hosted-git-info from 2.8.8 to 2.8.9 (#2270)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 12:41:54 +02:00
nicolas a6cdde07f5
Remove TS definition from checklist (#2268) 2021-05-10 10:50:18 +02:00
katspaugh 19cea9dd89
Rm Flow from the readme (#2271) 2021-05-10 10:38:08 +02:00
katspaugh 26dbc6dfb5 Merge branch 'development' of github.com:gnosis/safe-react into release-3.6.0 2021-05-10 09:21:09 +02:00
katspaugh fd0d7686f2
Bump to 3.6.0 (#2273) 2021-05-10 09:20:23 +02:00
Mati Dastugue 404e54e42d
Bugfix - Add Recipient name on Send Fund's second step modal (#2255)
* Set recipient name if it is selected from addressBook

* Remove unnecesary console.log + some improvements
2021-05-07 10:53:13 +02:00
Mati Dastugue f6c4124475
Revert "Bugfix - Submit button out of screen in Contract Interaction modal (#2185)" (#2256)
This reverts commit 4cca3cf0ed.
2021-05-05 17:30:44 +02:00
Fernando 2afbc827c9
(Feature) Add PR Template (#2212)
* create PULL_REQUEST_TEMPLATE.md

* Update checklist

* remove `documentation` from checklist
2021-05-05 17:15:44 +02:00
nicolas 8861653118
TxList: Add info about the next tx to be executed (#2218)
* TxList: Add info about the next tx to be executed

* review changes

* update message

Co-authored-by: katspaugh <katspaugh@users.noreply.github.com>
2021-05-03 17:29:33 +02:00
Agustín Longoni 84755f9098
Spending limit UI corrections (#2210)
* show the complete hash

* remove cut address (beneficiary)
2021-05-03 11:58:18 +02:00
nicolas 6dd3a781a6
Fix: App Crash on decoded data opening when tx-builder send ETH to multiple EOA (#2208)
* Fix: bytes value for decodedData
2021-05-03 11:48:15 +02:00
Fernando 42291e1208
(Fix) Refactor Safe information retrieval (#2122)
* use client-gateway endpoint for safeInfo

* remove condition to retrieve modules information as client-gateway is already returning the whole list

* create `allSettled` helper function, to divide promises logic from business logic

* set 'UNKNOWN' as default value for owner's record creation

* simplify `fetchSafe` and `buildSafe` logic

* fix check for modules existence

* Add tests for functions used to fetch information

* (Chore) Remove unused code (#2123)

* Not all Collectibles are displayed (#2172)

* replace fetchErc20AndErc721AssetsList by fetchSafeCollectibles

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
Co-authored-by: katspaugh <katspaugh@gmail.com>
2021-04-30 12:06:38 +02:00
katspaugh 94d825ae82 Merge branch 'master' of github.com:gnosis/safe-react into development 2021-04-30 11:12:25 +02:00
katspaugh 1e3180fe88 Bump to 3.5.2 2021-04-30 10:41:14 +02:00
Fernando ea0c987e3e remove exponential back-off strategy for balance fetching (#2225) 2021-04-30 10:39:21 +02:00
Fernando 0c08f32ef4
remove exponential back-off strategy for balance fetching (#2225) 2021-04-30 10:38:18 +02:00
Mikhail Mikheev ee6ef82e31
Remove logging about message without a messageId (#2222) 2021-04-29 18:40:11 +02:00
Mati Dastugue 4c8b76d6dc
Bugfix - Long values for Amount and Address fields (#2174)
* Add validations to prevent very long fields

* Fix validation for QR scan

* Get decimals according to the selected token

* Add decimals length validation
2021-04-29 12:31:12 +02:00
Daniel Sanchez e3797d9e78
Fix ignored safeTxGas from app (#2193) 2021-04-29 10:33:52 +02:00
Agustín Longoni 44074475d7
Replace DividerLine and Hairline by component from SR (#2175)
* Add Divider and Icon component (SRC) to Divider (SR)

* Use divider in all places where DividerLine and Hairline were used
2021-04-28 16:52:41 +02:00
Agustín Longoni ed2cd3f746
Replace Identicon by component from SRC (#2121)
* remove old  Identicon component

* replace Identicon, address and copyBtn for EthHashInfo

* add Remove Safe Modal components

* remove EherscanLink component

* remove CopyBtn component
2021-04-27 16:41:40 +02:00
Mikhail Mikheev b553186283
use wildcard for sending messages (#2188)
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2021-04-27 16:16:12 +04:00
Daniel Sanchez d3a98364fd
Merge branch 'development' into release/v3.5.0 2021-04-27 13:44:27 +02:00
Mati Dastugue 4cca3cf0ed
Bugfix - Submit button out of screen in Contract Interaction modal (#2185)
* Add styles for adding scroll to modal
2021-04-27 13:43:26 +02:00
Daniel Sanchez 18e58689ca Merge branch 'fix/v3.5.1' into release/v3.5.0 2021-04-27 13:16:59 +02:00
Daniel Sanchez 6cb9a578bb Change global try/catch for parameter type check 2021-04-27 09:43:05 +02:00
Daniel Sanchez 841fa5ecd3 Set v3.5.1 2021-04-26 17:38:05 +02:00
Daniel Sanchez 86d8fe3a51 Fix load safe tokens when safe is in store before v3.5.0 2021-04-26 17:37:27 +02:00
Daniel Sanchez 34aa3b085a
Merge branch 'development' into release/v3.5.0 2021-04-26 11:57:06 +02:00
Daniel Sanchez 3499b7bb87 Set v3.5.0 2021-04-26 09:57:39 +02:00
katspaugh 07a820b323
Update the readme (#2192)
* Update the readme

Update the readme reg. lint and deployment

* 2-week-long sprints

* week -> weeks
2021-04-22 17:50:34 +02:00