Commit Graph

220 Commits

Author SHA1 Message Date
Vadim Arasev 3564270dcb (Refactor) Store networks' information in constant object 2018-10-11 12:03:06 +03:00
Vadim Arasev 36aa96fbfb (Fix) Add `isTestnet` function to helpers.js 2018-10-02 14:21:56 +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 9c2b6d2b58 (Update) Add netId and branch name for DAI shard 2018-10-02 14:10:58 +03:00
Vadim Arasev 848b7a7f11 (Feature) Auto fetching of EmissionFunds balance every 5 seconds 2018-09-21 20:34:44 +03:00
Vadim Arasev fae9ae585a (Update) Add some text labels for clear displaying of time 2018-09-21 10:51:57 +03:00
Vadim Arasev 283a66ce06 (Fix) Use sokol.poaexplorer.com instead of sokol-explorer.poa.network 2018-09-20 13:24:05 +03:00
Vadim Arasev b8c71be7fe (Fix) syntax of BallotEmissionFundsMetadata.jsx 2018-09-20 11:47:37 +03:00
Vadim Arasev df60ea1683 (Refactor) A few enhancements of code 2018-09-20 11:39:28 +03:00
Vadim Arasev c8009db1fd (Fix) src/components/NewBallot.jsx 2018-09-19 18:24:39 +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 b3f262674a (Fix) src/components/NewBallot.jsx 2018-09-19 18:24:27 +03:00
Vadim Arasev 931ae8c058 (Fix) src/components/BallotEmissionFundsMetadata.jsx 2018-09-19 18:24:23 +03:00
Vadim Arasev e35da1df70 (Fix) src/components/BallotCard.jsx 2018-09-19 18:24:19 +03:00
Vadim Arasev 5639487713 (Feature) Add voting to manage emission funds 2018-09-19 18:24:13 +03:00
Vadim Arasev 49c2cf204d (Update) Replace `hasAlreadyVoted` property with `alreadyVoted` 2018-08-29 14:14:17 +03:00
Gabriel Rodriguez Alsina e33c118c21 (chore) Disable new ballot type, enable regular yes / no ballot. 2018-08-16 11:50:52 -03:00
Gabriel Rodriguez Alsina ae64f7f129 (feat) New column types. 2018-08-16 10:10:19 -03:00
Victor Baranov 671c672a5c
Merge branch 'core' into issue-164-styles 2018-08-14 19:41:28 +03:00
Gabriel Rodriguez Alsina 4b2a45d6fd (feat) Send / Burn / Freeze buttons. 2018-08-13 16:24:15 -03:00
Gabriel Rodriguez Alsina fd71035a52 (fix) Vote colors class names were backwards (yes was red, no was green). 2018-08-13 15:29:25 -03:00
Gabriel Rodriguez Alsina 60f80a4ba1 (feat) New vote types. - Generic buttons. 2018-08-13 15:15:17 -03:00
Gabriel Rodriguez Alsina d97772e303 (fix) Visual feedback from pull request. 2018-08-09 11:16:29 -03:00
Gabriel Rodriguez Alsina 7359b9d681 (feat) Add Sokol styles. 2018-08-08 16:03:07 -03:00
Gabriel Rodriguez Alsina f41217187b (feat) Add new "New Ballot" form styles. 2018-08-07 16:48:46 -03:00
Vadim Arasev e4ac5242d2 (Fix) prettier: max line length exceeded 2018-08-06 09:40:00 +03:00
Vadim Arasev cc5b2f160f (Fix) some text inscriptions 2018-08-06 09:39:54 +03:00
Vadim Arasev efd89dbd24 (Update) Finalization w/o reverts, some optimizations and refactoring 2018-08-06 09:39:42 +03:00
Gabriel Rodríguez Alsina 1a262bd371 (feat) Ballot cards restyling. 2018-08-02 16:14:11 -03:00
Gabriel Rodríguez Alsina 9259270dfc (feat) button styles 2018-07-31 16:21:59 -03:00
Gabriel Rodríguez Alsina 20917158b9 (feat) Header & Footer styles. 2018-07-31 15:07:04 -03:00
Victor Baranov 84b3a6f29b
Merge pull request #160 from gabitoesmiapodo/restyling
Restyling
2018-07-25 11:44:41 +03:00
Gabriel Rodríguez Alsina 7ac6ddd717 (fix) add separators to ballot columns. 2018-07-24 09:07:03 -03:00
Vadim Arasev 4f59f4f1db (Fix) Checking for zero mining key 2018-07-23 11:21:41 +03:00
Vadim Arasev 99a712f7d7 (Refactor) Remove commented code 2018-07-18 17:43:18 +03:00
Vadim Arasev 7fa26a17f1 (Refactor) move web3.eth.sendTransaction to helpers.js 2018-07-18 17:43:11 +03:00
Gabriel Rodríguez Alsina e2b4ed13fe (feat) Adjustments in the "New Ballot" view. 2018-07-18 11:13:31 -03:00
Vadim Arasev 2d2189590f (Fix) ballot duration in alert 2018-07-18 15:30:04 +03:00
Gabriel Rodríguez Alsina fe5b5e7c0f (feat) New Ballot form facelift. 2018-07-17 22:56:53 -03:00
Gabriel Rodríguez Alsina b593353ac1 [feat] Ballots facelift. 2018-07-17 22:27:05 -03:00
Gabriel Rodríguez Alsina 5a1a8753ef [chore] renamed files according to app convention 2018-07-17 19:01:48 -03:00
Gabriel Rodríguez Alsina cf7d3d9251 Merge remote-tracking branch 'upstream/core' into restyling
# Conflicts:
#	src/App.js
#	src/components/Footer.jsx
#	src/components/Header.jsx
2018-07-17 18:51:45 -03:00
Vadim Arasev 524033a1fb (Fix) sources with prettier 2018-07-17 15:15:02 +03:00
Vadim Arasev 2ca0b80fb0
Merge branch 'core' into fix-125 2018-07-17 14:47:08 +03:00
Gabriel Rodríguez Alsina 1d372a03be (feat) Header 2018-07-16 22:27:15 -03:00
Gabriel Rodríguez Alsina 27ee4ad781 (feat) New Footer. 2018-07-16 18:49:43 -03:00
Vadim Arasev 5ce6716cf3 (Fix) Replace on('receipt') with web3.eth.sendTransaction 2018-07-13 17:32:22 +03:00
viktor ebaf73f639 Prettier config was added 2018-07-12 15:40:39 +03:00
Victor Baranov 11be1a8944
Merge pull request #151 from varasev/fix-147
(Fix) Show a new ballot card right after the ballot is created
2018-07-12 12:52:40 +03:00
Vadim Arasev b84c6b9ccd (Fix) Avoid some exceptions if Metamask is locked 2018-07-11 11:20:38 +03:00
Vadim Arasev 1240d72e29 (Fix) Show a new ballot card right after the ballot is created 2018-07-09 18:55:06 +03:00
Vadim Arasev e17c262af6
Merge branch 'core' into fix-144 2018-07-04 15:48:40 +03:00
Victor Baranov 66a86aac19
Merge pull request #145 from varasev/fix-123
(Fix) Checking transaction status when voting or finalizing
2018-07-04 14:04:21 +03:00
Vadim Arasev d52d5f5915 (Fix) Minor fixes 2018-07-04 09:48:07 +03:00
Vadim Arasev d3b3fbbd1a (Fix) isFinalized 2018-07-02 16:53:57 +03:00
Vadim Arasev db743f3e5a (Fix) Refresh ballot card after voting or finalization 2018-07-02 16:53:51 +03:00
Vadim Arasev 9f89940b0f (Fix) calling canBeFinalizedNow() in BallotCard.jsx 2018-07-02 16:53:46 +03:00
Vadim Arasev 685d43285e (Fix) Refresh ballot card after voting or finalization 2018-07-02 16:53:41 +03:00
Vadim Arasev a9cb25a89b (Fix) Checking transaction status 2018-07-02 16:53:37 +03:00
Vadim Arasev e89cb7c5f9 (Fix) Checking transaction status 2018-07-02 13:02:20 +03:00
Vadim Arasev 9cb2d2fe14 (Fix) transaction's status checking 2018-06-29 19:43:14 +03:00
Vadim Arasev 287735aed8 (Refactor) Collapse core and demo branches 2018-06-21 20:16:37 +03:00
Vadim Arasev e5ce111130 (Fix) Fix of searching and code refactoring 2018-06-20 15:34:28 +03:00
Vadim Arasev 0a32885ef1 (Fix) Remove unused vars and comments 2018-06-19 15:38:36 +03:00
Vadim Arasev a513d1429f (Fix) Optimized ballot card 2018-06-19 15:38:31 +03:00
Vadim Arasev fc4f9b5553 (Fix) Optimization for new smart contracts 2018-06-19 15:38:25 +03:00
Vadim Arasev 0f9e032899 (Feature) "Load More" button for "All" tab 2018-06-15 18:53:50 +03:00
Vadim Arasev ebd0b7d8aa (Fix) Optimization 2018-06-14 15:47:26 +03:00
Vadim Arasev d9514c84e2 (Fix) Light optimization #2 2018-06-14 12:12:04 +03:00
Vadim Arasev b07af3dba9 (Fix) Light optimization 2018-06-14 12:11:59 +03:00
Vadim Arasev b2920ed578 (Update) Backward compatibility with old smart contracts 2018-06-13 18:16:23 +03:00
Vadim Arasev b5b2452e91 (Refactor) doesMethodExist function 2018-06-13 18:16:17 +03:00
Vadim Arasev 59d3e922ec (Fix) newVotingKey and newPayoutKey are not mandatory; interface fixes 2018-06-13 18:16:11 +03:00
Vadim Arasev 9812cf8a04 (Feature) Display three keys in ballot card when adding a new validator 2018-06-13 18:16:07 +03:00
Vadim Arasev fc44c691aa (Feature) Adding three keys at once when adding a new validator
Relates to https://github.com/poanetwork/poa-dapps-voting/issues/83, https://github.com/poanetwork/poa-dapps-voting/issues/131 and https://github.com/poanetwork/poa-network-consensus-contracts/issues/92.
2018-06-13 18:16:03 +03:00
Vadim Arasev ce45f3ee8c (Update) canBeFinalizedNow
Relates to https://github.com/poanetwork/poa-dapps-voting/issues/129.
2018-06-13 18:15:54 +03:00
Vadim Arasev 0421bbbe9f (Update) Rename createBallot method 2018-06-13 18:15:50 +03:00
Vadim Arasev 9a182e8ea2 (Fix) Remove trailing whitespace 2018-06-13 18:15:46 +03:00
Vadim Arasev 619c6c8ff4 (Update) "Contract Type" drop down list and getCreator method
Add ValidatorMetadata and ProxyStorage to drop down list and getCreator method to VotingToChange* contracts
2018-06-13 18:15:39 +03:00
Vadim Arasev a013595b72 (Fix) Remove ValidatorMetadata from "Contract Type" drop down list 2018-04-28 11:59:06 +03:00
varasev ec5f6a5cb5 (Fix) css bug on ballot creation
Relates to https://github.com/poanetwork/poa-dapps-voting/issues/119
2018-04-10 11:13:45 +03:00
varasev 42c5c270d1 (Fix) Change metadata zipcode from numeric to short string
Related to https://github.com/poanetwork/poa-network-consensus-contracts/issues/45
2018-04-02 19:00:09 +03:00
varasev 017196d4ca (Fix) Remove class="hidden" from parent div
Related to https://github.com/poanetwork/poa-dapps-voting/issues/117
2018-04-02 18:38:54 +03:00
varasev ec180f9920 (Feature) Add ValidatorMetadata to drop-down list in "Modify Proxy Contract Ballot" 2018-03-30 09:41:20 +03:00
viktor b8d6cfb460 Merge remote-tracking branch 'upstream/core' into color-for-vote-scale 2018-03-22 17:54:38 +03:00
viktor 4ae88e0aa7 reviever suggestions 2018-03-22 17:53:24 +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
Victor Baranov e73094bd0a
Merge branch 'core' into order-of-cards 2018-03-21 20:20:09 +03:00
Victor Baranov 9f72ef8a00 14 days upper limit for ballot's duration (#109) 2018-03-21 10:15:40 -07:00
viktor 06e0ea1305 To finalize filter 2018-03-21 19:39:18 +03:00
viktor 2621a277e8 different color for active cards 2018-03-21 19:05:44 +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
viktor f6214dd79e merge with master branch 2018-03-21 09:35:41 +03:00
Victor Baranov aef433a22a
Merge branch 'core' into ballot-vote-fix-2 2018-03-21 09:24:28 +03:00
Victor Baranov 8cdd15529e
Merge branch 'core' into search-fix 2018-03-21 09:19:29 +03:00
Victor Baranov a11d0432d5 UI improvements: time -> ballot time; hide finalize description if already finalized (#106) 2018-03-20 15:00:48 -07:00
Victor Baranov ef504127c7 handle errors from async calls (#102) 2018-03-20 14:57:28 -07:00
Victor Baranov edd89cd7a5 (Fix) invalid/duplicate ids for end date field and mining key field (#101)
* invalid/duplicate id for end date field

* invalid id for mining key element
2018-03-20 14:56:55 -07:00