Daniel Sanchez
d5513013f5
Merge remote-tracking branch 'origin/development' into v2.10.2-backmerge
2020-08-26 11:34:22 +02:00
Mikhail Mikheev
66c5ae7f8e
Safe apps: return safe tx hash ( #1245 )
...
* apps refactoring wip
* apps refactoring wip
* type fixes
* add useLegalConsent hook in apps
* useAppList hook wip
* dep nump
* useAppList hook wip
* fix selecting first app
* Remove console.log
* dep bump
* update persisting app logic
* update saveToStorage type
* fix crash on apps tab
* add appframe comp
* add handleIframeLoad func
* reuse selectedApp variable in hook
* remove initialAppSelected
* yarn regenration
* useIframeCommunicator wip
* add types for apps component
* dep bump
* fix history types
* yarn regenration
* extract useIframeMessenger hook
* fix safe-react-components version
* useIframeMessageHandler wip
* fix types
* send safe info on handshake
* fix naming/types for url utils
* remove operations
* update safe-apps-sdk
* wip
* update safe-apps-sdk
* requestId wip
* cta snackbar usage fixes
* notifications refactor wip
* notifications refactor: use dispatch
* tsc fixes
* extract confirm transaction modal
* Extract confirmation modal to a separate component
* dep bump
* ConfirmTransactionModal component
* Return safeTxHash after user confirmed transaction
* fix address validator, close modal when user confirms the tx
* close modal after confirmation
* update imports
* update imports [2]
* update imports [3]
* update imports [4]
* remove console.log in createTransaction
* update safe-apps-sdk
* yarn.lock
* EditOwnerModal types
2020-08-26 13:05:34 +04:00
Daniel Sanchez
f8565f4662
Bug/safe crash when accessing from link ( #1209 )
...
* use updateSafeAction for adding modules
* Fix address parameter naming issue
Add comment to ADD_SAFE_MODULE behaviour
* fetchSafe batch everything to updateSafe
* remove addSafeModules action
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-26 09:16:52 +02:00
nicolas
4dc28942c0
Allow to remove a Safe-app added manually ( #1260 )
...
* partial imp
* Delete safe apps added manually
* Fix and review changes
* remove unnecesary exports
* Fix deleteApp and sort in modal list
2020-08-25 17:19:01 -03:00
Agustin Pane
c12774205c
Replaces addSafeModules with updateSafe
2020-08-25 11:44:07 -03:00
fernandomg
0f777d070a
fix: update balancerPool IPFS url
...
- also set the Safe's version to `2.10.1`
2020-08-24 14:36:51 -03:00
Mati Dastugue
50995c3f0c
Etherscan link broken ( #1255 )
...
* Add default type
* update deps
* Rename variables
* Update link
* hardcode link type
* remove optional type prop for etherscanlink
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-20 23:15:38 +04:00
Mikhail Mikheev
32748c4b15
Merge branch 'master' of github.com:gnosis/safe-react into v2.10.0-backmerge
2020-08-17 16:09:43 +04:00
Mikhail Mikheev
78f832f7dd
Add openzeppelin app
2020-08-17 15:18:41 +04:00
nicolas
691ef98048
new TXs tab ( #1089 )
...
* new TXs tab
* Removes coverage folder from git
* Adds getAllTxServiceUriTo
Adds types on fetchTransactions
* Adds loadAllTransactions method
* Adds types for allTransactions
* Adds types to loadAllTransactions
Adds urlParams to fetchAllTransactions
* Adds transactionsNew store
* Fetch all transactions endpoint and updates newTransactions store
* Updates transactions types
* Adds newTransactionsHelpers.ts
* Remove white spaces
* Removes immutableJS usage in NewTransactionsState
* Renames getAllTxServiceUriTo to getNewTransactionsServiceUriFrom
* Renames reducer TRANSACTIONS_NEW to TRANSACTIONS
* Removes newTransactions from fetchTransactions.ts
* Adds useFetchNewTransactions hook
Adds uriParams as parameter for loadAllTransactions
* Updates default state
* Adds newTransactionsSelector
Updates newTxsTab behaviour
* Renames eTag to responseEtag
* Fix missing Map type Import in AppReduxState
* Remove generic types
* Adds offset and limit to the NewTransactionsState
Adds currentPageSelector
Adds getNewTransactionsState
* Moves addNewTransactions action to actions/TransactionsNew
* Implements setPreviousPage, setNextPage
* Adds safeNewTransactionsSelector
Adds newTransactionsCurrentPageSelector
* Implements basic pagination on tabs layout
* Remove offset and limit from ADD_NEW_TRANSACTIONS action
Fixs ADD_NEW_TRANSACTIONS reducer implementation
* Improves useFetchNewTransactions usage to avoid re renders
* Fix newTransactionsCurrentPageSelector page calculation
* Fixs newTransactionsCurrentPageSelector
Adds loader state on newTxsTab
* Implements etags by page
* Implements pagination restrictions
* Fix import
* Reduce any's usage
* Replaces JSX.Element with ReactElement
* Fixs types
* Moves all the pagination actions to pagination.ts
* Simplify loadAllTransactions return values
* Replaces limit 100 to 50
* Rename actions
* Fix types
* Add TODO
* Replaces count/transactionsCount to totalTransactionsAmount
* Renames getNewTransactionsServiceUriFrom to getAllTransactionsUriFrom
Add types
* Rename newTxs to Transactions
* Add types to CopyBtn
* Replaces /transactionsNew with /all-transactions
* Replace btn handlers usage
* Uses hash as key
* Replaces redux with params
* Types
* Improves enum types
* Replaces is with boolean
* Merge branch 'development' of https://github.com/gnosis/safe-react into transactions_new
# Conflicts:
# src/store/index.ts
* Types
* Enums
* Remove tabsValue()
* Moves store from ui to logic folder
* Fix imports
* Add type for new transactions
* Add Gnosis CLA (#1188 )
* replace newTransactions with allTransactions
* bring back src/store
* bring back src/store 2
* Fix match type usage
* Merge branch 'development' of https://github.com/gnosis/safe-react into transactions_new
# Conflicts:
# src/logic/addressBook/store/selectors/index.ts
# src/logic/safe/transactions/send.ts
* Fix key null warning
* Removes limit and offset from allTransactions State
* Simplify allTransactions state
* Renames transactionsNew folder to allTransactions
* v2.9.0
* bump node in travis to 12
* add overflow hidden to iframe container in safe apps
* Merge branch 'development' of https://github.com/gnosis/safe-react into transactions_new
# Conflicts:
# src/logic/safe/store/actions/__tests__/utils.test.ts
# src/logic/safe/store/actions/addSafeModules.ts
# src/logic/safe/store/reducer/safe.ts
# src/logic/safe/store/reducer/types/safe.d.ts
# src/routes/safe/components/Apps/index.tsx
# src/routes/safe/components/Layout/Tabs/index.tsx
# src/routes/safe/components/Settings/Advanced/dataFetcher.ts
# src/routes/safe/components/Transactions/TxsTable/ExpandedTx/OwnersColumn/index.tsx
# src/routes/safe/components/Transactions/TxsTable/ExpandedTx/TxDescription/CustomDescription.tsx
# src/routes/safe/container/hooks/useFetchTokens.tsx
# src/routes/safe/container/hooks/useLoadSafe.tsx
# src/routes/safe/store/reducer/types/safe.d.ts
# src/routes/safe/store/reducer/types/safe.ts
* Fix offchain signing
* fix crash when opening a mocked transaction
* Add Balancer Pool and Exchange Apps.
* Feedback, absolute imports
* Types
* Refactor all transactions, adds totalTransactionsAmount on redux
* Absolute path
Co-authored-by: Agustin Pane <agustin.pane@gmail.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
2020-08-14 12:15:09 -03:00
Mikhail Mikheev
7a4773511c
Safe apps: Extract Iframe messenger to a hook ( #1219 )
...
* add useLegalConsent hook in apps
* useAppList hook wip
* fix selecting first app
* update persisting app logic
* update saveToStorage type
* fix crash on apps tab
* add appframe comp
* add handleIframeLoad func
* reuse selectedApp variable in hook
* remove initialAppSelected
* add types for apps component
* fix history types
* extract useIframeMessenger hook
* fix safe-react-components version
* useIframeMessageHandler
* update safe-apps-sdk
* Fix alignment between app list and app iframe
* send safe info on handshake
* fix naming/types for url utils
* fix types and code cleanup
* remove operations
* dep bump
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-08-13 13:37:34 +02:00
Mati Dastugue
aeaf3c4ee6
Remove styles hook and change styles change
2020-08-12 12:07:45 -03:00
Mati Dastugue
2d79ac9c7b
Merge branch 'development' of github.com:gnosis/safe-react into fix/fullValue
2020-08-12 11:59:01 -03:00
nicosampler
c4a412ae09
Add Balancer Pool and Exchange Apps.
2020-08-12 15:04:12 +04:00
Mikhail Mikheev
db103065da
fix crash when opening a mocked transaction
2020-08-12 15:04:12 +04:00
Mikhail Mikheev
168dcc9f6d
Fix offchain signing
2020-08-12 15:04:12 +04:00
Mikhail Mikheev
70a1c523d4
add overflow hidden to iframe container in safe apps
2020-08-12 15:04:12 +04:00
Mati Dastugue
4666272cdd
Merge with dev
2020-08-11 13:35:53 -03:00
Daniel Sanchez
425a38b2d9
Merge branch 'development' into issue-1144
2020-08-11 17:26:10 +02:00
nicosampler
c42ce0f261
Add Balancer Pool and Exchange Apps.
2020-08-11 12:09:27 -03:00
Mikhail Mikheev
41059c1e8e
fix crash when opening a mocked transaction
2020-08-11 14:59:28 +04:00
Mikhail Mikheev
94de33aa5d
Fix offchain signing
2020-08-11 13:12:24 +04:00
Mikhail Mikheev
a84c8765c0
add overflow hidden to iframe container in safe apps
2020-08-10 14:25:53 +04:00
Daniel Sanchez
91d3aa8592
Bug/safe crash when accessing from link ( #1209 )
...
* use updateSafeAction for adding modules
* Fix address parameter naming issue
Add comment to ADD_SAFE_MODULE behaviour
* fetchSafe batch everything to updateSafe
* remove addSafeModules action
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-07 18:49:29 +04:00
nicosampler
c6b0d6a783
remove forced error
2020-08-07 09:12:07 -03:00
nicosampler
fcb601fd79
force an error
2020-08-07 09:11:35 -03:00
nicosampler
8462759e13
Merge branch 'development' into issue-1144
2020-08-07 09:01:06 -03:00
Agustin Pane
64e4b6b45a
(Feature) - 1068 Don't show unknown when unknown ( #1212 )
...
* Components types
* Remove UNKNOWN in OwnerAddressTableCell
* Remove UNKNOWN in OwnerComponent
* Move imports
* Fix import
* Fix types
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-07 15:26:26 +04:00
nicosampler
e39e9bbc31
tsc fixes
2020-08-07 08:21:54 -03:00
nicosampler
b119f3e88f
Merge branch 'development' into issue-1144
2020-08-06 19:28:03 -03:00
nicolas
22d12a37fa
Fix broken unit tests ( #1216 )
...
* Fix broken unittests
* fix TS errors
* remove unused mock
* remove getTransactinoServiceMock function
* fix types in tests
* fix safe reducer types
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-07 00:58:05 +04:00
Fernando
f8b9851020
(Feature) Add "Action" details in transaction list ( #1134 )
...
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-06 12:18:46 -03:00
nicosampler
18dd6b7e97
Merge branch 'development' into issue-1144
2020-08-06 08:22:19 -03:00
Mikhail Mikheev
b6bb5ffde1
Tech Debt: Safe Apps Refactor ( #1110 )
...
* apps refactoring wip
* apps refactoring wip
* type fixes
* add useLegalConsent hook in apps
* useAppList hook wip
* dep nump
* useAppList hook wip
* fix selecting first app
* Remove console.log
* dep bump
* update persisting app logic
* update saveToStorage type
* fix crash on apps tab
* reuse selectedApp variable in hook
* remove initialAppSelected
2020-08-06 11:33:58 +04:00
Mati Dastugue
a0baca4d1f
Add styles for full output
2020-08-05 18:35:33 -03:00
Fernando
a0ed0a1f31
(Feature) Decode multiSend tx details ( #1106 )
...
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-04 15:32:09 -03:00
nicosampler
a21de8be18
Replace AddressInfo by EthHashInfo
2020-08-04 15:29:29 -03:00
Mikhail Mikheev
ece2bc6a8c
Fix safe loading ( #1203 )
2020-08-04 19:53:30 +04:00
nicosampler
7f3a99b7f1
Merge remote-tracking branch 'origin/development' into issue-1144
2020-08-03 13:36:36 -03:00
nicosampler
24fe633e1a
Styles
2020-08-03 13:31:43 -03:00
nicosampler
bc5c30ec85
fix makeTransaction
2020-08-03 13:02:48 -03:00
nicosampler
7373c4afac
ExpandedTx
2020-08-03 13:01:47 -03:00
nicosampler
877cf5ea4b
ExpandedTx - creation
2020-08-03 12:38:02 -03:00
nicosampler
1bd028b97a
SafeList types
2020-08-03 12:35:40 -03:00
nicosampler
7b2d7fd35d
remove unused classes
2020-08-03 11:03:39 -03:00
Daniel Sanchez
f374315a5a
Avoid constant creation of new web3 object ( #1171 )
...
* Avoid constant creation of new web3 object
* rollback web3 version, small type fixes in ConnectButton
* Use web3 instance in getProviderInfo
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-03 11:29:17 +02:00
Mikhail Mikheev
86cbd94b0c
Tech debt: Add types for contracts ( #1118 )
...
* typechain wip
* add types for multisend
* type definitions improvements
* type safe contract in estimateTxGasCosts
* contract type definitions wip
* SafeInstance truffle -> web3 migration
* fix calls for version
* transactions/send enhancements
* fix safe recor owner type
* Stepper type definitions wip
* dep bump
* stepper types wip
* refactoring stepper component to fix bug in load safe form
* stepper types wip, addressbook reducer types wip
* finally make it work
* Fix ownerlist component hook in load safe
* dep bump
* dep bump
* rollback types/history
* add types for gas calc
* debugging...
* fix using RO web3 for sending txs
* update package.json generate-types command
* add ts-ignore for stepperpage
* db
* dep bump
* as unknown as AbiItem -> as AbiItem[]
* use optional chaining for isExecution in gas esimations
* abiITem -> AbiItem[]
* fix safeVersion utils tests
* fix imports, put upgradeSafe test close to the actual code
* add comment about ts-ignore usage
* downgrade web3 version
2020-08-01 02:26:10 +04:00
Mikhail Mikheev
24dffd53da
Set inclusive false for minValue validator in sendfunds form ( #1193 )
2020-08-01 01:15:56 +04:00
nicosampler
df8e3f49df
review fixes
2020-07-31 15:21:17 -03:00
nicolas
81c14133ac
Update MultiSend contract address. ( #1186 )
...
* Update Multisend Address
* Update Apps loaders not centered
* remove empty spaces
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-31 14:27:22 +04:00