Commit Graph

922 Commits

Author SHA1 Message Date
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
apanizo 9235cd2990 #73 Fixing Flow errors 2018-10-30 13:10:11 +01:00
apanizo a2892ea4eb #73 Adding getState type for redux-thunk actions 2018-10-26 15:14:34 +02:00
apanizo 4cc5f390c4 #73 Update Safe container. Using fetchTransactions by safe address 2018-10-26 15:14:03 +02:00
apanizo b43aa2feaa #73 Update fetchTransaction action. Fetching info by safe address 2018-10-26 15:11:00 +02:00
apanizo f75d022147 #73 safeUrl selector based on router props 2018-10-26 15:08:30 +02:00
apanizo c5e378be6e #73 Adding Safes model to redux store when loading the app 2018-10-26 11:01:07 +02:00
apanizo 984d54dfad Fix random errors fetchin safe instance 2018-10-25 15:57:08 +02:00
apanizo e460c152eb #73 Allowing to specify width of columns in Table component 2018-10-25 15:39:14 +02:00
apanizo 22a5da1722 Remove the value column in Safe Overview 2018-10-24 16:19:23 +02:00
apanizo 76c7907acc Implement readonly on safe overview 2018-10-24 13:05:48 +02:00
apanizo deac8528fc Refactor Balance onShow onHide actions 2018-10-24 12:25:18 +02:00