Commit Graph

54 Commits

Author SHA1 Message Date
varasev e3f8b7de19
Add POA-GNO merge warning (#223) 2022-04-27 13:33:09 +03:00
Vadim 8f7279519e Improvements and optimizations 2020-01-09 16:02:58 +03:00
varasev 557bc54778
Merge branch 'core' into enable-wallet-only-when-needed 2020-01-09 11:48:13 +03:00
Max Alekseenko b314def1a9 Select the network from metamask when first visiting (#212)
* select the network from metamask when first visiting

* Keep netId in browser's storage and use it when page first loading if possible

Co-authored-by: varasev <[email protected]>
2019-12-30 13:45:14 +03:00
Max Alekseenko c8047f9520 getBallotsLimits after the wallet was enabled 2019-11-19 14:38:53 +03:00
Max Alekseenko 9559fe4273 enable wallet only when it's needed 2019-11-19 14:04:14 +03:00
Max Alekseenko 1cecd5d169 Add in-app network switch (#203)
* add network select

* new network select component

* improve network switch

* Fixes and refactoring

* Refactoring
2019-10-29 09:43:19 +03:00
Vadim faaee4ab79 Fix a bug in displaying a text note near the Finalize button 2019-05-27 17:09:26 +03:00
Vadim Arasev 3ef692cfa0 Small refactoring 2019-01-26 16:32:52 +03:00
Gabriel Rodriguez Alsina 703334890b (fix) home routing path 2019-01-04 12:54:46 -03:00
Gabriel Rodriguez Alsina b4b34cf4a1 (refactor) file structure 2018-12-17 15:09:59 -03:00
Vadim Arasev 3564270dcb (Refactor) Store networks' information in constant object 2018-10-11 12:03:06 +03:00
Vadim Arasev b3e1fee0e3 (Fix) Call getContractsAddresses only for branch corresponding to netId 2018-10-08 15:07:42 +03:00
Vadim Arasev f8eb3d7a9e (Fix) Call getContractsAddresses for `dai-test` 2018-10-03 16:50:55 +03:00
Vadim Arasev d1374a1356 Show alert on clicking `New Ballot` button if MetaMask is locked 2018-10-02 14:11:10 +03:00
Vadim Arasev d0f1d012e9 (Fix) index.js and BallotCard.jsx 2018-09-19 18:24:35 +03:00
Vadim Arasev d43f03036d (Feature) Add support of VotingToManageEmissionFunds.cancelNewBallot 2018-09-19 18:24:31 +03:00
Vadim Arasev 5639487713 (Feature) Add voting to manage emission funds 2018-09-19 18:24:13 +03:00
Victor Baranov 671c672a5c
Merge branch 'core' into issue-164-styles 2018-08-14 19:41:28 +03:00
Gabriel Rodriguez Alsina 7359b9d681 (feat) Add Sokol styles. 2018-08-08 16:03:07 -03:00
Vadim Arasev efd89dbd24 (Update) Finalization w/o reverts, some optimizations and refactoring 2018-08-06 09:39:42 +03:00
viktor ebaf73f639 Prettier config was added 2018-07-12 15:40:39 +03:00
Vadim Arasev d9514c84e2 (Fix) Light optimization #2 2018-06-14 12:12:04 +03:00
Vadim Arasev b2920ed578 (Update) Backward compatibility with old smart contracts 2018-06-13 18:16:23 +03:00
viktor b8d6cfb460 Merge remote-tracking branch 'upstream/core' into color-for-vote-scale 2018-03-22 17:54:38 +03:00
viktor e12ce057b3 visualize if validator already voted 2018-03-22 16:33:01 +03:00
viktor 9fb30fcb88 eslint suggestions 2018-03-22 13:04:05 +03:00
viktor 7bcd4f9a91 order of cards: new at the top; speed and stability of card loading 2018-03-21 17:53:27 +03:00
Victor Baranov ef504127c7 handle errors from async calls (#102) 2018-03-20 14:57:28 -07:00
Roman Storm c27bd548c9 Code styling fixes 2018-01-19 15:11:54 -08:00
Roman Storm 7fd6bbd45d (Feature) Add memo, change Sokol addresses 2018-01-19 14:59:07 -08:00
Victor Baranov 236630fe23 (Feature) `AreBallotParamsValid` check before creating of ballot for keys (#75)
* Show if ballot is finalized

* Display US date format

* Codacy suggestion: Expected { after 'if' condition. (curly)

* Time to start

* typo

* Ballot is inactive alert

* Display invalid key address in alert

* errors catches

* dynamic year loading for footer

* Another format expression

* Codacy suggestions: A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)

* Codacy suggestions: semilolons and doublequotes

* messages typo

* AreBallotParamsValid check before creating of ballot for keys

* Codacy suggestions: Expected '===' and instead saw '=='. (eqeqeq); Unexpected console statement. (no-console); Missing semicolon. (semi)
2018-01-16 16:05:12 -08:00
vbaranov f4354b8772 Remove double contractsStore.setWeb3Instance 2018-01-11 14:11:48 -08:00
vbaranov f9b7eef165 Double web3 injection fix 2018-01-11 14:11:48 -08:00
Roman Storm 8dacc1d7f6 fix the rest of card with correct passing of decision 2018-01-05 13:10:19 -08:00
Roman Storm eaf6aad01d (Fix) #51. Load Addresses dynamically based on Chain Id 2018-01-04 13:12:23 -08:00
Roman Storm e47c4ec16d (ESlint) fix styling issues 2018-01-03 20:51:10 -08:00
Roman Storm 64c8b107a4 add dropdown to select mining key, add limits 2018-01-03 19:34:22 -08:00
viktor 22f8f3b9b1 date & time input for endTime field; relates to #35 2017-12-28 16:56:57 +03:00
viktor 47bbb9de8c Fix: Error message is not friendly, if no metamask; relates to #28 2017-12-27 14:37:41 +03:00
viktor d7dade298c Update addresses for core network 2017-12-25 22:25:17 +03:00
viktor 500a04c102 voting on ballots 2017-12-25 13:10:35 +03:00
viktor b11e0f707a Actual Min thresholds for every ballot type are displayed on a ballot card; relates to #15 2017-12-25 11:26:01 +03:00
viktor 25f8a00538 number of all validators in the network on a ballot card; relates to #15 2017-12-25 10:59:40 +03:00
viktor 69cec002f9 Ballot creator fullname from metadacontract ia added, relates to #15 2017-12-25 10:46:35 +03:00
viktor 70295f76e1 Ballot cards with id from voting contracts 2017-12-22 18:29:54 +03:00
viktor d7584644b0 Move to ballots page after creation 2017-12-21 21:55:19 +03:00
viktor e9ed9619bc Make routing work with mobx; deploy scripts 2017-12-21 19:55:57 +03:00
viktor c7ebedd1a8 New ballot validation for all types; loading screen 2017-12-20 16:13:28 +03:00
viktor 660c1ac094 mobx Validator storage; preparing for transaction to create ballot for keys 2017-12-19 19:53:51 +03:00