Commit Graph

888 Commits

Author SHA1 Message Date
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