Commit Graph

850 Commits

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