Commit Graph

2265 Commits

Author SHA1 Message Date
fernandomg ed995df5b7 simplify call/review buttons
- unify handleSubmit
- use `.call` to identify a failing tx
2020-06-01 23:38:27 -03:00
fernandomg a28c598af1 add title to call-result values 2020-06-01 23:36:39 -03:00
fernandomg 1442f33d5a fix error message format, prevent text overflow 2020-06-01 23:35:35 -03:00
fernandomg d5cf8c94ab change `signature` key name to `methodSignature`
There is something down there that mutates the `tx` object in the Review screen and was overwriting the `signature` key with the method's hash
2020-06-01 14:54:42 -03:00
fernandomg 420b9cb58e properly update method selected 2020-06-01 14:51:45 -03:00
fernandomg 45bbbc9967 properly handle submit errors 2020-05-29 21:45:22 -03:00
fernandomg df0562911e hide EthValue if the method set does not require it 2020-05-29 21:44:40 -03:00
fernandomg 394a98b424 create form error component 2020-05-29 21:43:56 -03:00
fernandomg 4de3308069 extend TextField to support submit errors 2020-05-29 21:43:37 -03:00
fernandomg 71dd7539f4 upgrade final form 2020-05-29 21:41:58 -03:00
Agustín Longoni 4ddffaab76
Merge pull request #968 from gnosis/issue-964
(Fix) Flags css import
2020-05-29 08:32:10 -03:00
Agustin Pane 971b2ee6d3
(Fix) - Fixs tab selection (#960)
* Fixs tab selection

* Refactor balances tab to use react router
2020-05-29 08:07:32 -03:00
Mikhail Mikheev 710f6a5ab6
Merge pull request #966 from gnosis/fix-awaitingTransactions
Fix app crashing when safeTransactions is undefined
2020-05-29 14:50:17 +04:00
Agustín Longoni c0dbfa0dbb fix flags css import 2020-05-28 16:22:51 -03:00
nicolas 4065d5a007
Allow to load Safe Apps with ENS names (#911)
* Remove ethereum-ens in favour of web3.eth.ens

* Allow load Apps from ENS names

* remove comment

* review changes

* replace REACT_APP_IPFS_NODE by REACT_APP_IPFS_GATEWAY

* review fixes

* TS Errors

* fix paths

* Fix validtor

* Apps: Move App form to a separate file

* re-build

* review changes

* fix iframeEl type

* remove validation

* fix type

* update web3 version

* remove type in getContentFromENS

Co-authored-by: lukasschor <lukas.schor@gnosis.pm>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
Co-authored-by: Fernando <fernando.greco@gmail.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-05-28 12:50:08 -03:00
Mati Dastugue 7a20aaac42
Merge pull request #935 from gnosis/fix/trezor-support
Add Trezor support
2020-05-28 12:23:13 -03:00
Agustin Pane 7a79579238 Revert initial fix
Add default transaction value for safes without outgoing transactions
2020-05-28 12:03:21 -03:00
Agustin Pane cf38e97907
(Feature) #416 - Add releases link (#936)
* - Add releases link

* - Adds border bottom

* Merge branch 'development' into 623-show-more

# Conflicts:
#	src/routes/safe/components/Transactions/TxsTable/ExpandedTx/TxDescription/index.tsx

* fix hooks import casing

* Improves css link

* Fix hooks import

* Fix hooks import

* Link styling

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-05-28 11:28:57 -03:00
Agustin Pane 2eeb9fc094
Fix icons on send and receive buttons (#962) 2020-05-28 07:33:37 -03:00
Mati Dastugue bf5a24d762 Fix merge 2020-05-27 21:08:20 -03:00
nicosampler afa1f92d3d Fix app crashing when safeTransactions is undefined 2020-05-27 13:17:11 -03:00
Agustin Pane de4d564955
(Feature) #554 - Safe creation tx details (#894)
* ChecksumAddresses when add new addressBook entry
ChecksumAddresses when add new owner
ChecksumAddresses when replaces owner

* Refactor expandedTx to show creation safe data

* Export CreationTx, IncomingTx and OutgoingTx render to components
Rename components

* Renames addMockSafeCreationTx to getCreationTx

* Avoid unnecessary fetch of creation tx after the first fetch

* - Loads creationTx once the safe loads
- Adds addOrUpdateTransactions.js
- Adds fetchSafeCreationTx.js
- Removes creationTx logic from fetchTransactions.js
- Updates notificationsMiddleware.js

* Fixs getAwaitingTransactions

* Remove creationTx selector

* Merge branch 'development' of https://github.com/gnosis/safe-react into 416-contract-version-improvements

# Conflicts:
#	src/routes/safe/components/Balances/index.tsx
#	src/routes/safe/container/index.tsx

* Merge branch 'development' of https://github.com/gnosis/safe-react into 416-contract-version-improvements

# Conflicts:
#	src/routes/safe/components/Balances/index.tsx
#	src/routes/safe/container/index.tsx

* Fix date column in safe creation

* Add copy and etherscanlinks to creation safe details

* Fix hooks import
2020-05-26 15:00:26 -03:00
Mikhail Mikheev 10df1bd876
Merge pull request #954 from gnosis/empty-space-validator
Make required validator trim the value
2020-05-25 16:16:16 +04:00
Mikhail Mikheev 5803ca0ea4 fix hooks import casing 2020-05-25 16:07:40 +04:00
Mikhail Mikheev 9e39b81f9c Merge branch 'development' of github.com:gnosis/safe-react into empty-space-validator 2020-05-25 16:01:12 +04:00
Mikhail Mikheev c8e9ef9a3a fix hooks import casing 2020-05-25 15:43:00 +04:00
Mikhail Mikheev fc89af57aa
Merge pull request #952 from gnosis/stepper-transparent-bg
Bug: Stepper component non-transparent bg
2020-05-23 12:10:24 +04:00
Mati Dastugue 5981ee111d Fix file name 2020-05-22 13:09:57 -03:00
Mati Dastugue f9493c1cd7 Merge with develop 2020-05-22 12:27:55 -03:00
Agustin Pane 425f1ad3e5
(Fix) - #623 Fixes short tx data (#928)
* Fixs short tx data

* Feedback
2020-05-22 11:46:20 -03:00
Mikhail Mikheev 203c8b0ab3
Remove react_app_apps_disabled env var (#953) 2020-05-22 09:31:24 -03:00
Mikhail Mikheev 14d9a3a78f fix required validator 2020-05-22 14:33:08 +04:00
Mikhail Mikheev 26e9c1cb67 add transparent bg to stepper root in mui theme 2020-05-22 13:56:53 +04:00
nicolas 1ae63f6784
Clean up dependencies (#944)
* Clean up dependencies

* Fix css mixing not being called
2020-05-22 13:48:27 +04:00
Agustin Pane 7cc6349785
Fix: app crashing when safe address is null (#947)
* - Fixs non null check on notificationsMiddleware.ts

* - Fixs non null check on notificationsMiddleware.ts

* - Removes yarn.lock changes
2020-05-21 14:57:03 -03:00
Mati Dastugue 3a30db8068 Merge with dev. Fix ts 2020-05-21 13:06:00 -03:00
Mikhail Mikheev d9e62adc26
Bug: fix build directory for deployment, remove unused code (#937)
* fix build dir, remove unused code

* fix public path & remove unused code
2020-05-21 08:42:11 -03:00
nicolas 982d79c0d0
Migrating to Typescript and bringing back react-scripts (#933)
* remove flow from src

* remove unused files

* remove rules from eslint

* replace absolute paths

* add tsconfig

* update package.json

* remove babel-polyfill

* eslint fix

* remove jsconfig.json

* replace .scss by .module.scss

* Revert "replace absolute paths"

This reverts commit e430c71263a1a4c190d50e72271bba7ea6356bc4.

* replace ~/ by src/

* js fixes

* scss fixes

* fix unused vars

* adding eslint

* adding back config folder

* fix eslint and prettier

* force build

* fix baseUrl

* rename js/jsx to ts/tsx

* some rules

* rename files with jsx syntax to tsx

* fix app build

* Revert "fix baseUrl"

This reverts commit 523f29c7b61e14dd6be0ffc3cd199ff399157467.

* some fixes

* replace ts to tsx

* some TS fixes

* more tsc changes

* more tsc fixes

* more fixes

* more ts fixes

* more fixes

* last fix

* fixes

* prettier fix

* some fixes

* fix safe information aligment

* add yarn.lock

* fix blockies and build memory space

* include blockies in tsconfig

* fix blockies

* fix blockies import

* fix Identicon component

* fix build command

* Fix ref type in Identicon

* add libusb-1.0-0-dev to travis

* build command fix [2]

* build command fix [3]

* fix margin layout

* Update  yarn lock

* remove @ts-ignore

* hide Critial dependency

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
2020-05-20 16:15:21 -03:00
Mati Dastugue 593b077ec4 Enable trezor 2020-05-19 17:52:09 -03:00
Mati Dastugue 51f6c9a3e8 Fix trezor connect 2020-05-19 17:42:41 -03:00
Mikhail Mikheev 6377c80e4f
Feature #739: Deployment screen improvements (#908)
* Dep bump

* add deps to useEffect hook

* Revert "Dep bump"

This reverts commit f22795296cd7989ecda594ffef4478c2f5d92911.

* fix / redirect

* Fix currency fetch 400 error

* extract tab labels to components

* fix currency dropdown not showing, rename DropdownCurrency component to CurrencyDropdown

* Fix loader component type

* move steps to a separate file

* make confirmation banner green

* track safe creation in analytics

* add back button

* remove width style from backbutton

* remove width style from backbutton (prev was just commented)

* remove components-v2 and use safe-react-components

* fix duplicated import

* bring back addressinfo component because it was not included in safe-react-components

* Fix broken import (CurrencyDropdown component was renamed)

* add CustomIconText component to fix transaction tab crash

* bring back ListLayoutComponent
2020-05-19 15:55:35 +04:00
Mikhail Mikheev cfffd00d2b
Merge pull request #931 from gnosis/fix/action-disable
Prevent github action from running
2020-05-18 21:21:18 +04:00
Mati Dastugue c964dd9c29
Prevent github action from running 2020-05-18 12:07:42 -03:00
Mati Dastugue f971ca4ef7
Merge pull request #919 from gnosis/fix/update-error
Log error when no files in the release
2020-05-15 14:53:00 -03:00
Mati Dastugue e91de4a1df Log error when no files in the release 2020-05-15 13:32:35 -03:00
Agustin Pane df8897c284
Adds copy to clipboard in owners table (#918) 2020-05-15 11:59:10 -03:00
nicolas 77e4987919
Inform the user if a Safe-App initiate a malformed TX (#895)
* @gnosis.pm/safe-react-components from NPM

* Infor is TX is malformed

* review fixes

* improve names

* review fixes

* trigger build
2020-05-14 10:50:04 -03:00
Fernando b1db9df3db
Set version to `v2.1.1` (#914) 2020-05-13 17:21:49 -03:00
Fernando c396b3eaf8
(Feature) Easier Smart Contract Interaction (#741) 2020-05-13 17:06:01 -03:00
Mati Dastugue 119cc51917
Merge pull request #905 from gnosis/fix/intercom
Update desktop script
2020-05-12 18:35:37 -03:00