* Check if the transaction confirmations reaches the threshold
* Added a notification when transaction doesn't have the confirmations
* Added confirmations verification before opening the execute modal
* button margin on Execute tx modal
* button margin on Advanced option modal
* fix lowercase on modal titles
* button margin and styles on Remove module modal
* button margin on Remove Safe modal
* buttons margins on Add new owner
* button margin and styles on Edit owner name modal
* button margin and styles on Replace owner modals
* fix modal heading height on Add new owner modal
* button margin and styles on Remove owner modals
* button aligmnent on Change required confirmations modal
* buton alignment and styles on create entry modal
* button aligmnent and styles Delete entry modal
* button alignment and styles on Add custom app modal
* add gap to the butons on modals
* add gap
* fix button color on Remove Safe
* add gap on remove module modal
* add gap on Manage Safe Owners
* add gap on Policies modal
* add gap and remove some styles from TxList
* add gap and remove styles on Contract Interaction Modal
* add gap and remove styles from Send funds modal
* add gap and remove styles from Send collectible modal
* fix eslint issues
* upgrade SRC dependency
* remove unused variable
* WIP: common pattern for button status
* WIP: add status to generic Modal buttons
* WIP: text status for App modal
content is restricted to text
* WIP: common patter in settings buttons
* WIP: RemoveLimitModal button status
* add `testId` prop to Modal buttons
* use Modal's buttons status
* add default text for LOADING and READY status in Modal Buttons
* overwritte button text only when necessary
make use of the LOADING/READY default status texts
* create `useButtonStatus` hook to avoid code repetition
* Add `withoutBorder` prop to Modal.Footer
* Adapt Apps Modal footer to use Modal.Footer and Modal.Footer.Buttons
* Update Spending limits modals
* update app modal button text
* add `useButtonStatus` wherever it was missing
* rename and simplify `useButtonStatus`
new name: `useEstimationStatus`
removed `data` as argument, as it is was not adding any benefit
* update `txEstimationExecutionStatus` when no data provided
* Add validation for the hex data in custom contract interaction
* remove old buttons
* use default instead of cases
* set default EstimationStatus to SUCCESS
* Replace footer wrapper with `Modal.Footer`
* rollback EstimationStatus status when no `txData` is present
* fix Modal.Footer styles
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* fix New Transaction modals buttons
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* fix advanced settings styles
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* fix settings->owners styles
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* fix settings->remove safe modal styles
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* fix settings->policies styles
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* fix settings->spending limit styles
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* fix apps modal styles
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* fix txs list modal styles
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* update Modal props and styles
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* fix styles for Apps modals
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* cleanup spending limit modal implementation
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* fix receive modal button
* fix address book modal buttons
* fix receive modal header height
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
* fix add owner modal buttons
* fix add owner modal buttons (threshold)
* delete commented code
* fix Advanced option modal buttons and styles on Divider
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
* Set recipient when going back from review
* Updated recipient when props change
* Reset recipient on open modal
* Dont clean address when reviewing collectibles send
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
* 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>
* 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>
* 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>
* 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>
* Add validations to prevent very long fields
* Fix validation for QR scan
* Get decimals according to the selected token
* Add decimals length validation