Commit Graph

1333 Commits

Author SHA1 Message Date
Mikhail Mikheev a25443ddd0 await for tx hash 2019-06-28 12:57:26 +04:00
Mikhail Mikheev 2136c39ef2 fixing disappearing safe owner when replacing WIP 2019-06-27 17:41:37 +04:00
Mikhail Mikheev 7c389ca49a fix displaying threshold in replacing owner modal, eslint fixes 2019-06-27 17:26:19 +04:00
Mikhail Mikheev 80fb0760b3 fix delay when updating safe's owner name, add test file boilerplate for managing owners 2019-06-27 16:47:20 +04:00
Mikhail Mikheev a27b4a3a47 fixing eslint errors 2019-06-27 15:30:43 +04:00
Mikhail Mikheev 60ba580308 fix removing safe owner 2019-06-27 15:15:00 +04:00
Mikhail Mikheev 8e8cd13674 remove unused vars, fix eslint errors, add initial value for owners name when editing 2019-06-27 14:54:12 +04:00
Mikhail Mikheev 23903ba708 add memoization to few validators 2019-06-27 12:21:47 +04:00
Mikhail Mikheev f03fde5ffe Little bit performance improvement for SafeOwnersForm in safe creation, still has to be improved 2019-06-26 19:24:00 +04:00
Mikhail Mikheev 9001c52524 pull from dev 2019-06-26 17:38:01 +04:00
Mikhail Mikheev 8f519b7313 add test for changing safe name 2019-06-26 16:42:09 +04:00
Mikhail Mikheev ff9448c4db rewrite OwnersList with hooks 2019-06-26 15:55:08 +04:00
Mikhail Mikheev f8e9b4dfb3 revert stepper component changes to fix safe creation test 2019-06-26 15:41:46 +04:00
Mikhail Mikheev 1d040f87ce fix load safe test, create safe fix TBD 2019-06-26 14:08:58 +04:00
mmv 2b37cc5064 load safe fix 2019-06-25 19:21:48 +04:00
mmv 2f9864bc61 load safe fix wip 2019-06-25 19:19:41 +04:00
mmv b951ed8a2d update readme, fix test changes, Load Safe test fix tbd 2019-06-25 18:18:42 +04:00
mmv 951309eee5 remove updateSafeName action 2019-06-25 18:09:00 +04:00
mmv 3f98ac903b pull from dev 2019-06-25 18:01:37 +04:00
mmv ae74c0a8ca confirmed/unconfirmed labels 2019-06-21 18:44:40 +04:00
mmv a83f35656d add hover colors 2019-06-21 18:20:37 +04:00
mmv 974f13cba1 confirmations tabs expanded tx component 2019-06-21 17:59:45 +04:00
mmv 4ee254c9ab expandedtx wip 2019-06-21 15:28:25 +04:00
mmv dd3e69781f remove unused styles for txs table, expanded tx wip 2019-06-21 15:18:57 +04:00
mmv 2fbb1ed75c expanding tx in txs table 2019-06-21 14:07:17 +04:00
mmv 4a81c69a1a show symbol in txs table 2019-06-20 18:54:30 +04:00
mmv c64b4d3d6f move token address validator to separate helper, fetch tokens when visiting safe view 2019-06-20 18:35:37 +04:00
mmv 0867448aca create transaction with threshold > 1, txs table for awaiting confirmation txs 2019-06-20 17:52:27 +04:00
mmv 57ddfad2b0 update tx service history endpoint 2019-06-20 15:04:52 +04:00
mmv 101a819817 TxsTable status 2019-06-20 13:12:58 +04:00
mmv 0b3c791a93 Pull from dev 2019-06-20 13:12:47 +04:00
mmv 89342a8d7a add status component for the table 2019-06-19 19:55:21 +04:00
mmv 654ff201b9 allow passing defaultOrder prop to table component 2019-06-19 18:35:10 +04:00
mmv f126071669 TxsTable wip 2019-06-19 17:24:55 +04:00
mmv c66c59c326 TxsTable wip 2019-06-19 14:21:44 +04:00
mmv 1a5beb16a4 fetching transactions wip 2019-06-18 18:37:02 +04:00
mmv eb3708a623 fetching transactions wip 2019-06-18 18:09:28 +04:00
mmv f20a9602f4 show validation error 2019-06-18 16:49:50 +04:00
mmv 72c8611cc5 send tx for changing threshold, validation wip 2019-06-18 16:25:55 +04:00
mmv 8ec1d6f528 refactor createTRansaction method to accept safe settings txs 2019-06-18 15:55:53 +04:00
mmv 4b31e6130e refactor createTRansaction method to accept safe settings txs wip 2019-06-18 15:36:27 +04:00
mmv a6467c3c85 modal ui 2019-06-18 14:57:11 +04:00
mmv 473e2a769f change threshold modal wip 2019-06-18 12:51:47 +04:00
Mikhail Mikheev eb1cc5a345 nonce fix, fix sending tx to history service 2019-06-17 18:21:44 +04:00
Mikhail Mikheev 01e42af47f ThresholdModal wip 2019-06-17 17:56:02 +04:00
Mikhail Mikheev 6fcab5ced6 ThresholdModal wip 2019-06-17 16:51:37 +04:00
Mikhail Mikheev 523157e414 Add threshold settings component (TODO Modal) 2019-06-17 16:02:02 +04:00
Mikhail Mikheev 7dd15740a0 add active styles for settings menu 2019-06-17 14:35:58 +04:00
Mikhail Mikheev e6025e42ce Pull from dev, conflict fix 2019-06-17 14:11:32 +04:00
Germán Martínez 87d12178ed Fix bug loading the name of a Safe 2019-06-14 18:33:48 +02:00
Germán Martínez 88798eff97 Add and fix styles 2019-06-14 18:03:52 +02:00
Germán Martínez fae75d7599 Add update Safe name component 2019-06-14 17:51:09 +02:00
Germán Martínez 27585917aa Add update Safe name action 2019-06-14 17:05:30 +02:00
Germán Martínez 5580011778 Update Safe name wip 2019-06-14 16:49:38 +02:00
Mikhail Mikheev 3966b437c0 minor code style fixes 2019-06-14 17:24:32 +04:00
Mikhail Mikheev f0490666db relay url fix 2019-06-14 16:50:52 +04:00
Mikhail Mikheev 1bcd90d57b submitting tx to history service wip 2019-06-14 16:31:18 +04:00
Mikhail Mikheev cf4a58f7a3 submitting tx to history service wip 2019-06-14 16:10:03 +04:00
Germán Martínez 0d42ec4fea Refactor remove Safe styles 2019-06-14 13:48:47 +02:00
Mikhail Mikheev b240c08783 submitting tx to history service wip 2019-06-14 13:57:28 +04:00
Germán Martínez 3f572ed043 Refactor keys 2019-06-13 20:01:39 +02:00
Mikhail Mikheev ee5d7f270b tx list wip, add TransactionsNew folder and skeleton for an api call to save tx 2019-06-13 18:24:58 +04:00
Mikhail Mikheev 8ff899dce1 Pull from dev, conflict fix 2019-06-13 16:55:30 +04:00
Mikhail Mikheev 7bb49a353f
Merge pull request #117 from gnosis/110-sort-out-tests
110: Sort out tests
2019-06-13 16:27:54 +04:00
Mikhail Mikheev c5861028fb remove all occurencies of settings url 2019-06-13 16:12:52 +04:00
Mikhail Mikheev 1c8594d696 fix dev config and tests 2019-06-13 15:32:22 +04:00
Germán Martínez 905de7afab Refactor imports 2019-06-11 14:09:16 +02:00
Germán Martínez cf8427b89a Create edit owner modal window 2019-06-11 10:56:08 +02:00
Germán Martínez ccee257a39 Add review screen in modal for replace an owner 2019-06-11 09:47:52 +02:00
Germán Martínez 96c79a6415 Add owner form in modal for replace an owner 2019-06-10 11:21:32 +02:00
Germán Martínez e20cce9855 Create replace owner modal window 2019-06-10 10:00:04 +02:00
Germán Martínez b615d20a65 Refactor fetch provider 2019-06-06 20:31:58 +02:00
Germán Martínez 5444e56401 Refactor provider reducer 2019-06-06 20:15:16 +02:00
Germán Martínez 461f3ef7d3 Fixes 2019-06-06 20:04:27 +02:00
Mikhail Mikheev a220b4cf0a funds test fix 2019-06-05 18:20:13 +04:00
Mikhail Mikheev 275640ac4a eslint fix 2019-06-05 18:07:12 +04:00
Mikhail Mikheev 96da5f8e85 add tests for enabling/disabling tokens, fix sending funds test 2019-06-05 17:45:05 +04:00
Mikhail Mikheev ca81ff73fa enabling and disabling tokens tests wip 2019-06-05 17:01:54 +04:00
Mikhail Mikheev 4625ed1aa5 add a test for adding custom token 2019-06-05 15:52:15 +04:00
Mikhail Mikheev 4b0cac5eb0 fix balance table sorting crash 2019-06-05 13:41:01 +04:00
Mikhail Mikheev 6c5711d6d9 balances sorting fixes wip 2019-06-04 20:04:49 +04:00
Mikhail Mikheev f5de843a26 sorting fixes wip 2019-06-04 19:46:36 +04:00
Mikhail Mikheev 998ec2e687 balance table sorting fix wip 2019-06-04 18:32:58 +04:00
Mikhail Mikheev 02fbb74f72 remove outdated tests 2019-06-04 16:59:46 +04:00
Mikhail Mikheev 4c5143f228 fix load and create safe test: remove memoryHistory because it doesnt update window 2019-06-04 15:57:24 +04:00
Mikhail Mikheev bf3ade5209 Merge branch 'development' of github.com:gnosis/safe-react into 110-sort-out-tests 2019-06-04 15:31:38 +04:00
Mikhail Mikheev 3c1c488ee2 refactor sending funds test 2019-06-04 14:24:23 +04:00
mmv 1d62ef700e sending tokens test wip 2019-06-03 17:58:20 +04:00
mmv 95dcce1684 replace internal react types 2019-06-03 17:17:10 +04:00
mmv 6523a25c9b remove implementation tests for now 2019-06-03 17:11:06 +04:00
mmv a9cc34a0d6 refactor send ETH test 2019-06-03 16:49:52 +04:00
mmv bf174d6f94 refactor send ETH test 2019-06-03 16:49:52 +04:00
Germán Martínez 98aeccf718 Show Safe logo when Safe is connected 2019-06-03 13:38:12 +02:00
Germán Martínez 8c1586ba30 Remove logs 2019-06-03 13:23:30 +02:00
mmv 05573407a5 get a substring of last 40 chars when getting proxy from storage 2019-05-31 22:32:25 +04:00
mmv 14ef2f9063 eslint fix 2019-05-31 19:23:05 +04:00
mmv 70a484e79d send funds test refacotring wip 2019-05-31 19:22:05 +04:00
mmv cc07503f99 add token contracts for testing purposes and refactor TokenMovements utils 2019-05-31 17:58:35 +04:00
mmv 6902bad091 add token contracts for testing purposes and refactor TokenMovements utils 2019-05-31 17:58:35 +04:00
mmv bfa5a52bc4 refactor safe dom load test, fix safe address validator 2019-05-30 19:11:53 +04:00
mmv c3241a9b20 refactor safe creation form test 2019-05-30 16:57:24 +04:00
mmv 4f54a60866 safe creation test wip 2019-05-30 13:04:19 +04:00
mmv ead30855a6 give render function a more meaningful name 2019-05-29 18:32:51 +04:00
mmv 267f271364 safe creation test wip 2019-05-29 18:11:44 +04:00
mmv 4583e85782 dep bump 2019-05-29 13:52:55 +04:00
mmv 33395438af Fix sending funds with Gnosis Safe extension 2019-05-29 12:34:57 +04:00
mmv 7a9e9a039b Pull from dev 2019-05-29 10:34:17 +04:00
mmv f7ad8f3c96 Pull from dev 2019-05-29 10:33:04 +04:00
Germán Martínez fc22094084 Remove old implementation of remove owner 2019-05-28 17:39:00 +02:00
Germán Martínez 5d413fbbcc Add review screen in remove owner modal 2019-05-28 13:16:42 +02:00
Germán Martínez 58499cb8c5 Add threshold form in remove owner modal 2019-05-28 10:05:17 +02:00
Germán Martínez 077fe9c610 Add check owner in modal window 2019-05-28 09:32:33 +02:00
Mikhail Mikheev eb092852af material ui v4 migration style fixes for add token list 2019-05-27 19:39:19 +04:00
Mikhail Mikheev 974bc0d804 material ui v4 migration style fixes 2019-05-27 19:11:24 +04:00
Germán Martínez ff0a13bf76 Create remove owner modal window 2019-05-27 16:35:44 +02:00
Mikhail Mikheev ed2b6139c7 migrate to material ui v4, deps bump, show notification before sending the tx 2019-05-27 17:06:34 +04:00
Germán Martínez 20d038ebfa Improve Safe settings styles 2019-05-27 14:59:04 +02:00
Germán Martínez fcbb02e56f Refactor add owner modal window 2019-05-27 14:46:31 +02:00
Mikhail Mikheev 5edc8b821a fix sending tokens 2019-05-27 16:12:13 +04:00
Germán Martínez f619905b11 Add owner settings assets 2019-05-27 12:54:59 +02:00
Germán Martínez 44dfa74baa Fix styles in owners table 2019-05-27 12:22:15 +02:00
Germán Martínez a21dc1cf62 Add table to Safe owner list 2019-05-24 21:14:58 +02:00
Germán Martínez ca729f1707 Remove old implementation of add owner to a Safe 2019-05-24 20:34:23 +02:00
Germán Martínez 7d40428f5b Remove modules option in Safe settings 2019-05-24 17:02:16 +02:00
Mikhail Mikheev c3fba307c2 createTransaction action 2019-05-24 18:43:06 +04:00
Mikhail Mikheev ad183dfabb createTransaction action wip 2019-05-24 18:10:47 +04:00
Mikhail Mikheev 7a8a69b528 send transaction for threshold = 1 2019-05-24 17:26:38 +04:00
mmv 051f26aa76 finish the ui for sending tokens 2019-05-24 14:08:33 +04:00
Germán Martínez 2004d38893 Codestyle fixes 2019-05-24 12:00:27 +02:00
Germán Martínez 7804c09162 Add new owner modal window 2019-05-24 10:28:31 +02:00
Germán Martínez e12e23f835 Add new owner review 2019-05-23 18:18:36 +02:00
Germán Martínez a2eeabe3f2 Add new owner and threshold data 2019-05-23 17:57:09 +02:00
mmv f2ec21ef33 review tx screen wip 2019-05-23 18:56:22 +04:00
mmv 8afb646d9b add reviewtx component, state variable for tx info 2019-05-23 17:16:54 +04:00
mmv 46e96c7026 add buttons in sendfunds 2019-05-23 17:02:17 +04:00
mmv e51f5c9572 fix token pre-population 2019-05-23 16:27:02 +04:00
mmv 1e796f6bb5 prepopulate send funds modal value with clicked token 2019-05-23 15:55:20 +04:00
mmv e1e33ead6f fix signature in estimateDataGas 2019-05-23 15:15:56 +04:00
mmv a25da6d869 remove fee calculation from send funds modal 2019-05-23 15:12:39 +04:00
Germán Martínez 3d8795413f Add new owner data 2019-05-23 11:38:21 +02:00
Germán Martínez be319aa76c Add manage owners list 2019-05-23 10:48:25 +02:00
Germán Martínez 25919d4361 Fix bug loading the name of a Safe 2019-06-14 18:33:48 +02:00
Germán Martínez 104609b66e Add and fix styles 2019-06-14 18:03:52 +02:00
Germán Martínez f6b2bb098e Add update Safe name component 2019-06-14 17:51:09 +02:00
Germán Martínez 7c41a564fc Add update Safe name action 2019-06-14 17:05:30 +02:00
mmv 0917f21ec1 refactor send ETH test 2019-06-03 16:49:52 +04:00
mmv 6356956298 add token contracts for testing purposes and refactor TokenMovements utils 2019-05-31 17:58:35 +04:00
mmv 48eb83c288 fix estimateGas call 2019-05-23 12:38:55 +04:00
Germán Martínez d17eaec118 Create settings menu 2019-05-22 19:15:04 +02:00
Germán Martínez 500b696e7b Remove Safe from modal window 2019-05-22 18:43:51 +02:00
mmv 8f6823a9c4 minor codestyle fixes 2019-05-22 19:51:15 +04:00
mmv c5bc2fa584 update calculations to be like in up-to-date safe-contracts tests 2019-05-22 19:36:46 +04:00
mmv 755db44c17 generate pre validated signature for gas calculation 2019-05-22 18:36:43 +04:00
mmv dc4c6097c1 metamask signature generation fix, gas calculations wip 2019-05-22 17:06:55 +04:00
Germán Martínez c5193281d7 Add basic settings page 2019-05-22 14:20:36 +02:00
mmv c6325567ba gas calculations wip 2019-05-22 15:59:42 +04:00
Germán Martínez 9d689a8f48 Remove Safe owners from storage 2019-05-22 12:56:11 +02:00
Germán Martínez 9b19ca1274 Add code formatting 2019-05-22 12:51:02 +02:00
Germán Martínez 08bcdbb1b0 Add error color 2019-05-22 12:37:44 +02:00
mmv a984d08a3d gas calculations wip 2019-05-22 13:14:41 +04:00
mmv 7019d46e13 eslint fixes 2019-05-21 19:18:37 +04:00
mmv 2eb09c6398 gas calculations wip 2019-05-21 19:04:52 +04:00
mmv b0a7b649a1 small refactor to make the send funds component smaller 2019-05-21 17:02:12 +04:00
mmv d491e25159 add input adornment (token symbol) 2019-05-21 16:30:20 +04:00
mmv 2010a6b7eb add sendmax and button link for the amount field in sending funds form 2019-05-21 16:16:12 +04:00
mmv 7bac5ae822 add amount field 2019-05-21 12:35:12 +04:00
mmv e0be6094d3 fix placeholder styling 2019-05-21 12:13:09 +04:00
mmv 1467b0decb remove unused hook import 2019-05-20 22:23:26 +04:00
Germán Martínez 5e37453ac6 Refactor get Safe instance 2019-05-20 18:21:56 +02:00
Germán Martínez e8b2404d5a Codestyle fixes 2019-05-20 17:51:38 +02:00
Germán Martínez 8a25ac1ee2 Codestyle fixes 2019-05-20 17:51:38 +02:00
Germán Martínez ef9f6ae575 Codestyle fixes 2019-05-20 17:51:38 +02:00
mmv aa2f3dc419 placeholder wip 2019-05-20 19:41:27 +04:00
mmv ea490c8b2e render token in select field inside send funds modal 2019-05-20 17:26:51 +04:00
Germán Martínez b16593199c Add owners list to load Safe review page 2019-05-20 14:49:26 +02:00
Germán Martínez 065b1b24ce Add owners list to load Safe review page 2019-05-20 14:49:26 +02:00
Germán Martínez 6634286030 Add owners list to load Safe review page 2019-05-20 14:49:26 +02:00
Germán Martínez c86333d264 Add initial values and threshold to load Safe 2019-05-20 11:17:53 +02:00
Germán Martínez 020465ed72 Update Safe name wip 2019-06-14 16:49:38 +02:00
Germán Martínez 7a65365e2e Refactor remove Safe styles 2019-06-14 13:48:47 +02:00
Germán Martínez aa8bda2f26 Create settings menu 2019-05-22 19:15:04 +02:00
Germán Martínez 8463a8c0e6 Remove Safe from modal window 2019-05-22 18:43:51 +02:00
Germán Martínez 320ed91ec2 Add basic settings page 2019-05-22 14:20:36 +02:00
Germán Martínez 34aa15bee8 Remove Safe owners from storage 2019-05-22 12:56:11 +02:00
Germán Martínez 654cc5a0d7 Add code formatting 2019-05-22 12:51:02 +02:00
Germán Martínez 79bb25727a Add error color 2019-05-22 12:37:44 +02:00
Germán Martínez 27b297e37e Add initial values and threshold to load Safe 2019-05-20 11:17:53 +02:00
Germán Martínez 853427c1b2 Add initial values and threshold to load Safe 2019-05-20 11:17:53 +02:00
Germán Martínez de95d10d43 Add owners names to load Safe 2019-05-20 10:48:11 +02:00
Germán Martínez 0a22089535 Add owner list page to load Safe stepper 2019-05-20 09:57:48 +02:00
Germán Martínez ca4d298a02 Add temporary logs 2019-05-17 18:17:24 +02:00
Germán Martínez 800955fbe6 Add loop to listen to provider updates 2019-05-17 16:03:37 +02:00
Germán Martínez bbc738d29c Identify the Safe web3 provider 2019-05-16 20:07:33 +02:00
Germán Martínez a5db2d4ed6 Allow Metamask in private mode 2019-05-16 18:18:26 +02:00
Germán Martínez 920b4da29d Remove useless spaces 2019-05-16 17:58:31 +02:00
mmv 61c98a9ab3 add tokens menuitem 2019-04-30 18:55:13 +04:00
mmv e158f85c65 select token wip 2019-04-30 18:18:56 +04:00
mmv 1b25a6c29e add recepient input 2019-04-30 17:13:07 +04:00
mmv b1fe6a7db0 update arrow icon 2019-04-30 16:43:42 +04:00
mmv f10df9fea5 show ethBalance in safe info in sendFunds modal 2019-04-30 16:32:52 +04:00
Germán Martínez 2e2a7d906c Unify and refactor gnosis safe instance functions 2019-04-30 14:18:03 +02:00
mmv 8b0bb4fe4f Splitter sendFunds 2019-04-30 15:58:37 +04:00
Germán Martínez e4d2e3b35d Fix constant variable value 2019-04-30 13:56:02 +02:00
mmv 53c8a8f5ad safe info in send funds modal 2019-04-30 13:35:56 +04:00
mmv 1d25492e68 send funds modal wip 2019-04-29 19:58:47 +04:00
mmv e0c70551ee create sendModal component 2019-04-29 19:20:07 +04:00
Germán Martínez b98cf81b7d Import gnosis-contracts 2019-04-29 14:30:14 +02:00
mmv 479915d394 add chooseTxType screen 2019-04-29 16:23:22 +04:00
Germán Martínez 7be68f95de eslint fixes 2019-04-29 13:15:07 +02:00
Germán Martínez c78fa2fb29 Update safeMaster setup parameters 2019-04-29 13:13:32 +02:00
mmv f6f9076fab wip chooseTxType screen 2019-04-29 13:03:25 +04:00
mmv d8b5ab4e42 Merge branch 'development' of github.com:gnosis/safe-react into 80-send-funds 2019-04-29 12:58:28 +04:00
mmv 9754a2bb2a dep bump 2019-04-29 12:56:46 +04:00
Mikhail Mikheev 18b4edf3c8
Merge pull request #105 from gnosis/71-receive-funds
#71 Receive funds
2019-04-29 12:19:29 +04:00
Mikhail Mikheev 2e169cf194 click on address to copy to clipboard 2019-04-26 19:13:55 +04:00
Mikhail Mikheev 12f8745af1 add spacings to each input in load safe form 2019-04-26 19:01:49 +04:00
Mikhail Mikheev d08be2e8e4 fix input spacings 2019-04-26 18:58:26 +04:00
Mikhail Mikheev 411aaaac98 some weird symbol fixes 2019-04-26 18:24:03 +04:00
Mikhail Mikheev d2915356b2 implement receive funds modal 2019-04-26 18:16:57 +04:00
Mikhail Mikheev b8d5b383bd make etherscan link actually a link 2019-04-26 12:59:58 +04:00
Mikhail Mikheev d89564dcfb add simpleMemoize 2019-04-25 18:48:37 +04:00
Mikhail Mikheev fb881df323 PR review fixes 2019-04-25 18:45:09 +04:00
Mikhail Mikheev 1f99bf7b8b reuse setImageToPlaceholder 2019-04-25 13:27:32 +04:00
Mikhail Mikheev 8cd9fffb16 remove unnecessary export 2019-04-25 13:24:51 +04:00
Mikhail Mikheev e186114026 activate token for all safes functionality 2019-04-25 13:22:30 +04:00
Mikhail Mikheev aaaf782754 activate token for all safes wip 2019-04-24 19:31:30 +04:00
Mikhail Mikheev 749a6bd4f6 prevent setState after submitting the form 2019-04-24 19:26:35 +04:00
Mikhail Mikheev 2e8b3543b0 add minMaxLength validator 2019-04-24 18:59:18 +04:00
Mikhail Mikheev 22eb1a3c55 implement form populating after valid address 2019-04-24 17:52:21 +04:00
Mikhail Mikheev aff310806d add validator for already existing token 2019-04-24 16:15:00 +04:00
Mikhail Mikheev d57c4caa15 form validation wip 2019-04-24 13:48:33 +04:00
Mikhail Mikheev 30228345d3 change validation for token address field 2019-04-24 12:48:34 +04:00
Mikhail Mikheev b46ba47516 reset form state when user clears the address 2019-04-23 19:41:32 +04:00
Mikhail Mikheev 92e77deb60 check token in relay and update the form state if found 2019-04-23 17:12:21 +04:00
Mikhail Mikheev 4b1a0f785d pass token address as a param in fetch token function 2019-04-23 13:54:10 +04:00
Mikhail Mikheev 39ccb7b288 move fetchTokenList function to separate api folder, add fetchToken func 2019-04-23 13:42:45 +04:00
Mikhail Mikheev 3e62d3b7be flow type fix 2019-04-22 18:46:41 +04:00
Mikhail Mikheev c6110fc8c2 Merge branch 'development' of github.com:gnosis/safe-react into 83-tokens 2019-04-22 17:59:22 +04:00
Mikhail Mikheev 24b51ba10d fix eslint disable statement duplication 2019-04-22 17:49:52 +04:00
Mikhail Mikheev 5b109dd60a implement adding custom token 2019-04-22 17:45:05 +04:00
Mikhail Mikheev 1c95804b54 fix loading active tokens error 2019-04-22 16:43:33 +04:00
Mikhail Mikheev 7dc2f235f8 implement add custom token modal 2019-04-22 16:23:58 +04:00
Mikhail Mikheev edbec8e3ab add display for all safes checkbox 2019-04-22 15:21:06 +04:00
Mikhail Mikheev 776aa54fd3 fix mui helper text styles 👿 2019-04-22 14:38:27 +04:00
Mikhail Mikheev 712d7f078d fix mui helper text styles 👿 2019-04-22 14:36:02 +04:00
Mikhail Mikheev f5438c278c add spinner on token fetch 2019-04-22 11:37:51 +04:00
Mikhail Mikheev a5a149f51b border radius to input styles to make it look like in zeplin 2019-04-19 18:56:41 +04:00
mmv 8adc1ee25a font size fix 2019-04-19 17:55:23 +04:00
mmv 6379e0f67c addCustomToken wip 2019-04-19 17:36:42 +04:00
mmv 163e82c99d add switching to add custom token screen 2019-04-19 16:31:05 +04:00
mmv cd5ae70da4 remove loadActiveTokens action from safe container 2019-04-19 16:14:24 +04:00
mmv 511a251ad2 fix plural for components folder in safe router 2019-04-19 16:11:54 +04:00
mmv e8a43da257 component name fixes 2019-04-19 15:56:02 +04:00
mmv 399aa9f84b make token list a separate screen inside tokens list modal, so adding custom token may be implemented 2019-04-19 15:12:07 +04:00
mmv e4453c7d0c add logo to balances table asset column 2019-04-18 20:02:29 +04:00
mmv 8f9eadb6c3 fix updateActiveTokens action call inside Tokens modal 2019-04-18 17:59:39 +04:00
mmv 84af7ae182 eslint fixes 2019-04-17 19:41:43 +04:00
mmv c633165dd2 rename setActiveTokens to saveActiveTokens 2019-04-17 18:40:30 +04:00
mmv 43e8521aba eslint fix 2019-04-17 18:37:41 +04:00
mmv 289f5f6feb token redux-related stuff cleanup after refactor 2019-04-17 18:37:15 +04:00
mmv cdaa6c8223 fix loading tokens from storage 2019-04-17 16:47:21 +04:00
mmv 81fbb3b662 add selector for all active tokens 2019-04-17 15:35:35 +04:00
mmv e3d7984486 fix safe loading from storage 2019-04-17 13:13:38 +04:00
mmv dc185e893c fix safe loading from storage wip 2019-04-17 12:28:28 +04:00
Mikhail Mikheev 7e49f8dd16 fix storing safe in localstorage 2019-04-16 16:41:36 +04:00
Mikhail Mikheev 3373b83a27 storage middleware wip, add optimization comment 2019-04-16 16:13:28 +04:00
mmv 4c1197a3b5 fix token balance selector 2019-04-16 15:15:56 +04:00
mmv 76b41a4cbb merge fixes 2019-04-16 15:13:08 +04:00
mmv d8fbdd393a conflict ifx 2019-04-16 14:45:39 +04:00
mmv b9b936dd51 activeTokens refactor (again) 2019-04-16 14:28:16 +04:00
Mikhail Mikheev 7df11f3bcf update fix 2019-04-15 22:24:43 +04:00
Mikhail Mikheev 2c8a79e582 remove cdu, otherwise it will fail on many token updates because of inconsistent request finishes, debouncing tbd 2019-04-15 22:21:39 +04:00
mmv 0b6be00632 fix checkbox displaying in manage tokens modal 2019-04-15 17:59:31 +04:00
mmv 81e05c132d remove unused vars, add comment for generateProps func 2019-04-15 16:44:17 +04:00
mmv d7127fb968 rewrite active tokens logic to use updateSafe action 2019-04-15 16:31:30 +04:00
mmv 400a19f901 fix token balance updating 2019-04-15 15:40:02 +04:00
mmv fc3e1e48df eslint fix 2019-04-15 14:13:47 +04:00
mmv 3c5d7fc7f1 fix token balance updating 2019-04-15 13:50:56 +04:00
mmv f486068778 rewrite fetchSafe function to support updates 2019-04-15 13:14:18 +04:00
Mikhail Mikheev 910382c5f2 Active tokens WIP, needs debugging: tokens get washed after safe update 2019-04-12 20:06:34 +04:00
Mikhail Mikheev 595731d192 fix displaying active tokens 2019-04-12 19:15:01 +04:00
Mikhail Mikheev 413cfa39d4 reducer fix 2019-04-12 18:57:37 +04:00
Mikhail Mikheev f8d1e6801e Update safe tokens wip 2019-04-12 18:56:09 +04:00
Mikhail Mikheev 49f000447c update readme 2019-04-12 18:41:47 +04:00
Mikhail Mikheev a6249de48d add SafeToken record 2019-04-12 17:26:24 +04:00
Mikhail Mikheev f797e2db77 use addSafe instead updateSafe while adding a new safe 2019-04-12 15:46:56 +04:00
Mikhail Mikheev 50a315b839 show eth balance in balance tab 2019-04-12 13:57:03 +04:00
Mikhail Mikheev 3530d2f305 remove eth from list of active tokens 2019-04-11 20:24:14 +04:00
Mikhail Mikheev 5f142bcc75 add eth balance to safe model 2019-04-11 20:10:52 +04:00
Mikhail Mikheev be295d1ef5 tokens balance refactor wip 2019-04-11 19:44:48 +04:00
Mikhail Mikheev f94e598609 balance fetch fixes 2019-04-11 18:12:27 +04:00
Mikhail Mikheev fe35b811c4 refactor tokens reducer 2019-04-11 15:19:22 +04:00
Mikhail Mikheev 78883eacb1 extended token selector fix, dep bump 2019-04-11 12:05:59 +04:00
Mikhail Mikheev a158fe4a15 add extended token selector 2019-04-10 20:04:29 +04:00
Mikhail Mikheev 93cf045c00 update safe and token models 2019-04-10 17:24:32 +04:00
Mikhail Mikheev f5983447ee fix token fetch 2019-04-10 12:56:08 +04:00
Mikhail Mikheev 56c6892651 split fetching tokens function 2019-04-09 19:53:41 +04:00
Mikhail Mikheev 1125536412 tokens fetch fixes, disable eth switch in tokens modal 2019-04-09 18:14:48 +04:00
Mikhail Mikheev 4f5986506b reducer fix, fetching balances and updating balances fixes 2019-04-09 16:36:04 +04:00
Mikhail Mikheev 8a8b29744a action for fetching active token balances wip 2019-04-09 12:48:22 +04:00
Mikhail Mikheev 8108b6bd01 add an action to fetch token balances 2019-04-08 19:58:01 +04:00
Mikhail Mikheev 3b27729d85 load active tokens from localstorage when visiting safe view 2019-04-08 16:53:45 +04:00
Mikhail Mikheev 6003d8db21 display all safes and not owners only in safe list 2019-04-08 13:29:19 +04:00
Mikhail Mikheev 0f7d68b575 eslint fix 2019-04-08 11:46:05 +04:00
Mikhail Mikheev 6e9799bd17 remove cookie store and session storage 2019-04-08 11:19:39 +04:00
Mikhail Mikheev 32970871d2 eslint fixes 2019-04-04 18:04:59 +04:00
Mikhail Mikheev e33c90c230 load safes from localstorage on app load 2019-04-04 17:35:32 +04:00
Mikhail Mikheev 01baabc7cb add loadFromStorage funC 2019-04-03 17:43:49 +04:00
Mikhail Mikheev 68e98922c3 fix safe name and safe loading by address 2019-04-01 20:13:02 +04:00
Mikhail Mikheev 76bf32ec16 fix load function for storage 2019-04-01 18:02:27 +04:00
Mikhail Mikheev 1c0917d25a move safe storage logic to logic folder, refactor generic storage logic to use immortaldb 2019-04-01 17:50:56 +04:00
Mikhail Mikheev 22d258bacc refactor add safe action 2019-04-01 15:06:37 +04:00
Mikhail Mikheev 477221d415 remove side effects from safes reducer wip 2019-03-29 20:36:11 +04:00
Mikhail Mikheev fffa24f858 remove whitespace when amount of displayed rows is greater than data length 2019-03-29 19:06:32 +04:00
Mikhail Mikheev 95d6316860 prettier code formatting 2019-03-29 17:32:59 +04:00
Mikhail Mikheev 15cb482c86 fix tx reducer 2019-03-29 16:48:16 +04:00
Mikhail Mikheev 9781596be6 fix flow annotation 2019-03-28 19:38:15 +04:00
Mikhail Mikheev 2a4e72a88e refactor tokensStorage to use immortaldb 2019-03-28 19:30:03 +04:00
Mikhail Mikheev 05c6ffbce7 fix flow annotation for createAction for tokens actions 2019-03-28 13:10:58 +04:00
Mikhail Mikheev 718e84aea3 save whole tokens object in a reducer wip, fix flow type annotation in tokens reducer 2019-03-27 20:19:38 +04:00
Mikhail Mikheev 633f8738b6 save active tokens via immortaldb 2019-03-27 19:30:32 +04:00
Mikhail Mikheev 7e150a2ff3 immortaldb wip 2019-03-26 19:18:36 +04:00
Mikhail Mikheev 0e97f41c54 fix token balance calculation rounding issue by using bignumber not from web3 2019-03-26 17:14:52 +04:00
Mikhail Mikheev a302742e27 move side effects out from tokens reducer, wip rounding bug in tokens balances (should be 1.1 but bignumber returns 1) 2019-03-25 18:59:00 +04:00
Mikhail Mikheev d7fedee8a9 precommit hook changes 2019-03-25 15:10:37 +04:00
Mikhail Mikheev c62271bcb8 wip commit: removing side effects from tokens reducer to actions 2019-03-22 19:27:18 +04:00
Mikhail Mikheev 5c8dcb1d8f move token-related localstorage logic to toknes folder 2019-03-22 18:27:47 +04:00
Mikhail Mikheev 67871312a4 show token placeholder if there was an error fetching the image 2019-03-22 15:49:11 +04:00
Mikhail Mikheev beff6cfdd6 flow type fix 2019-03-21 19:24:57 +04:00
Mikhail Mikheev 3d7bce8d0d add react-hot-loader, smaller margin in token modal heading 2019-03-21 19:12:49 +04:00
Mikhail Mikheev 6a46aa9339 fix token list overlapping with search field 2019-03-21 18:22:11 +04:00
Mikhail Mikheev c2f46699a5 balance table fixes: add 5 to rowsPerPageOptions, remove props from initial state and use them as fallback values 2019-03-21 17:55:49 +04:00
Mikhail Mikheev 5ed00fc475 give more meaningful variable name in safe layout component 2019-03-20 19:46:14 +04:00
Mikhail Mikheev 745bb06962 move tokens stuff to logic folder because in the new mockups their functionality moved to safe page 2019-03-20 19:13:53 +04:00
Mikhail Mikheev 086bc5d57c eslint fixes 2019-03-20 18:39:09 +04:00
Mikhail Mikheev e63d1af47c Use React suspense api instead of react-loadable 2019-03-20 18:37:54 +04:00
Mikhail Mikheev 8bea32118e precommit hook changes 2019-03-19 19:14:49 +04:00
Mikhail Mikheev 2b968d53da minor eslint fixes 2019-03-19 18:34:17 +04:00
Mikhail Mikheev 5c358764d1 add a todo comment 2019-03-19 14:49:06 +04:00
mmv 8ac4cd5b1a wip fixing tests, fix toNative function, remove deprecated property from TableCell 2019-03-18 19:30:33 +04:00
mmv 92772834b9 tests fix wip commit 2019-03-14 19:36:09 +04:00
mmv 122be46934 tests fix wip commit 2019-03-14 17:02:04 +04:00
mmv d4c6fda203 fetch tokens from relay api: fix tests, token model and other minor stuff 2019-03-13 20:00:25 +04:00
mmv d930db5ace remove unused imports 2019-03-13 16:26:49 +04:00
mmv 91c3c9fa91 Fix funds.toNumber is not a function 2019-03-13 15:01:02 +04:00
mmv c7efc2b3bb Fix non existent muitab style 2019-03-12 17:55:21 +04:00
mmv f2dedc4ad2 add click to copy feature on safe page 2019-03-12 17:46:35 +04:00
mmv dde724f475 remove unused promisify import 2019-03-12 16:40:05 +04:00
mmv 2593b8a765 fix safe loading by awaiting .at function 2019-03-12 16:35:25 +04:00
mmv aad76abaee Fix deprecated property on TableCell from Mui 2019-03-11 20:23:08 +04:00
mmv b575db5474 fix gnosisSafe.getThresold is not a function 2019-03-11 16:18:06 +04:00
mmv 866d2a57cb Fix fetching token data, next one: gnosisSafe.getThresold is not a function 2019-03-11 15:29:50 +04:00
mmv 659eb9e48c WIP commit: fix fetching safe, next problem: funds.toNumber is not a function 2019-03-11 14:41:26 +04:00
mmv 78dc0d7bb0 WIP commit: add link to the index page in header 2019-03-07 19:05:57 +04:00
mmv ea0b5f58c5 WIP: Fix safe creation, though there is still errors when we try to fetch it 2019-03-07 18:47:42 +04:00
mmv 7dff751e1e Trying to update web3, wip commit 2019-03-07 18:21:16 +04:00
mmv 1f84ccb0e0 eslint fixes 2019-03-05 19:48:47 +04:00
mmv df343765e3 codestyle fix 2019-03-05 19:20:57 +04:00
mmv 7a585343b4 Fix mui warnings 2019-03-05 18:19:36 +04:00
mmv 5b2fb5f87f Dependencies bump, fix babel configuration, use connected-react-router instead of react-redux-router 2019-03-05 17:46:49 +04:00
apanizo bd80d2f882 Added DOM test for loading safe #75 2018-11-14 17:13:22 +01:00
apanizo cafbfb38d9 Calculating isOwner property in ReviewInfo component #75 2018-11-14 12:47:40 +01:00
apanizo 936b2bc51c Adding click handler when finishing load steps #75 2018-11-14 10:50:52 +01:00
apanizo 7b0f8fa448 Redux tests when loading an existing safe 2018-11-14 10:44:25 +01:00
apanizo d42f4f0a4b First test: load safe not present in storage #75 2018-11-13 17:09:31 +01:00
apanizo 9a4c54671b updateSafe action in Load container #75 2018-11-13 17:08:41 +01:00
apanizo b0adbb0a49 Implemented loadSafe logic function #75 in Load component 2018-11-13 17:08:17 +01:00
apanizo 09c4a2037f Created load safe DOM test #75 2018-11-13 10:27:22 +01:00
apanizo fcb996cd2a Load route components #75 2018-11-12 16:34:38 +01:00
apanizo 4ee3a05eab Load route's container #75 2018-11-12 16:34:02 +01:00
apanizo 5939276462 Redirecting Welcome's load onClick to load route #75 2018-11-12 16:33:31 +01:00
apanizo 767fc8c7ea Adding load safe route to react-router #75 2018-11-12 16:32:04 +01:00
apanizo ff025ecfe6 Refactor noErrors function helper when validating forms 2018-11-12 16:30:21 +01:00
apanizo eea8cc681e Adding custom trash icon when remvoing owners #73 2018-11-08 09:56:01 +01:00
apanizo c21d70ab86 CSS improvement on Review's Open Safe page 2018-11-07 16:46:59 +01:00
apanizo 3021915956 Second batch of CSS improvements on Open Safe 2018-11-07 16:41:47 +01:00
apanizo 4512388493 Fix batch of CSS improvements on OpenSafe page 1 2018-11-07 16:16:11 +01:00
apanizo 798c9572dd Implemented improvements on UserDetails component 2018-11-07 15:35:31 +01:00
apanizo b86dae7ede Refactor Header Provider Info & Details 2018-11-07 12:01:34 +01:00
apanizo a2d10c6da8 Using dots in Header's UserDetails component for referencing status 2018-11-07 11:53:06 +01:00
apanizo 7f1336dd60 Removing wifi icon when connection error 2018-11-07 11:32:21 +01:00
apanizo 9c057d0812 Adding hideDot option in CircleDot component 2018-11-07 11:22:19 +01:00
apanizo 6ea91526b2 Including warning and error mode in DotCircle component 2018-11-07 11:05:25 +01:00
apanizo 4c50494bd5 Refactor Provider Details. Creating general component #72 2018-11-07 10:43:30 +01:00
apanizo f2e88fca88 Fix disconnected dot in Provider modal 2018-11-06 16:39:13 +01:00
apanizo 51a807be29 Fix Header Provider info statusses dots 2018-11-06 16:25:01 +01:00
apanizo f6e0fcb57b Header Provider info CSS fix #72 2018-11-06 12:25:52 +01:00
apanizo b4f4e3fdf0 Fix welcome view ui details #72 2018-11-06 12:13:40 +01:00
Adolfo Panizo 0e31239dcb Safe not found message 2018-11-05 22:04:31 +01:00
Adolfo Panizo ef2f1c991e Enabling search by name in Token List 2018-11-05 21:55:53 +01:00
apanizo 99b3eb8f04 Fix style showing spinner and empty table while it is fetching token's info 2018-11-05 09:45:40 +01:00
apanizo 24dfd80122 Fetching active Tokens and showing them in Balances' Tab #73 2018-11-05 09:44:15 +01:00
apanizo 4e019af2a4 Refactor: Moving Token styles to separate file #73 2018-10-31 13:21:13 +01:00
apanizo fba1b9cbcd Enabling and disabling Tokens logic 2018-10-31 13:16:07 +01:00
apanizo ad0211fda0 Implementing Search Filter by Token 2018-10-31 12:50:28 +01:00
apanizo a655d3657b Displaying tokens ordered ascending by symbol 2018-10-31 12:45:37 +01:00
apanizo 7444963fec Auto height while list is loading #73 2018-10-31 12:08:43 +01:00
apanizo 52674520da Adding secondary text of token and styling list 2018-10-31 11:32:13 +01:00
apanizo a83c340a2c Fetch Tokens for Balance component #72 2018-10-30 15:55:07 +01:00
apanizo 1b1a71a195 Fix Flow conversion from Immutable List to JS Array #73 2018-10-30 13:18:30 +01:00