Commit Graph

2902 Commits

Author SHA1 Message Date
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
Daniel Sanchez 8a13d333d2
Fix desktop app build (#1254)
* Change generate-types routes

* Use cross-env in generate-types script

* Update desktop build to Node 12

* Rollback to Node 10

* Remove cross-env

* Disable yarncache steps

* Enable yarn cache clear

* Cleanup yarn.lock file

* Restore yarn install step

* Set release action when merge to master
2020-08-20 00:52:36 +04:00
Daniel Sanchez 251a41e26f
Merge pull request #1252 from gnosis/v2.10.0-backmerge
V2.10.0 backmerge
2020-08-18 11:28:04 +02: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 296e1c3cc4
Merge pull request #1251 from gnosis/v2.10.0-openzeppelin-app
V2.10.0: OpenZeppelin app
2020-08-17 15:36:09 +04:00
Mikhail Mikheev 6b648d0908 v2.10.0: Add Openzeppelin app 2020-08-17 15:18:47 +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 883111f9b9
Merge pull request #1232 from gnosis/fix/fullValue
Result of "call" is cut off
2020-08-12 18:15:04 -03:00
Mati Dastugue 8ad1abde82 Merge branch 'fix/fullValue' of github.com:gnosis/safe-react into fix/fullValue 2020-08-12 12:08:18 -03: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
Mikhail Mikheev e7ba2b12c6 bump node in travis to 12 2020-08-12 15:04:12 +04:00
Mikhail Mikheev 29c2e500b2 v2.9.0 2020-08-12 15:04:12 +04:00
Mati Dastugue bb991ae45f
Merge branch 'development' into fix/fullValue 2020-08-11 15:03:05 -03:00
nicolas f11981357f
Merge pull request #1174 from gnosis/issue-1144
Fix: Display abbreviated addresses consistently
2020-08-11 14:58:45 -03:00
nicolas 529ed68dd6
Merge pull request #1220 from gnosis/release-2.9.0
Release: v2.9.0
2020-08-11 13:43:39 -03:00
Mati Dastugue 4666272cdd Merge with dev 2020-08-11 13:35:53 -03:00
Mikhail Mikheev 7685de5b20
Merge pull request #1231 from gnosis/issue-1197
Add Balancer Pool and Exchange Apps.
2020-08-11 19:44:51 +04: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
Mati Dastugue 77149ff7db
Merge pull request #1217 from gnosis/fix/desktop-CI
Fix - Desktop CI
2020-08-07 14:48:06 -03:00
Mikhail Mikheev afd06d4579 bump node in travis to 12 2020-08-07 20:02:06 +04:00
Mati Dastugue 6d70d5958e
Merge branch 'development' into fix/desktop-CI 2020-08-07 12:50:13 -03:00
Mikhail Mikheev 5c760aad89 Merge branch 'master' of github.com:gnosis/safe-react into release-2.9.0 2020-08-07 19:01:20 +04:00
Mikhail Mikheev 1a202e5eb5 v2.9.0 2020-08-07 18:50:07 +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
Mikhail Mikheev b8d7310429
Merge branch 'development' into fix/desktop-CI 2020-08-07 18:26:15 +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 ed0ebd02a2 run tsc on pre-push 2020-08-07 09:11:27 -03:00
nicosampler 8462759e13 Merge branch 'development' into issue-1144 2020-08-07 09:01:06 -03:00
nicosampler bf066fb92b run typescript befor commit 2020-08-07 08:26:57 -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
Mati Dastugue 44782ee7e2 Merge branch 'development' of github.com:gnosis/safe-react into fix/desktop-CI 2020-08-06 18:05:48 -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 44a5a9c190 update package.json 2020-08-06 08:55:14 -03:00
nicosampler 18dd6b7e97 Merge branch 'development' into issue-1144 2020-08-06 08:22:19 -03:00