Commit Graph

189 Commits

Author SHA1 Message Date
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 76b232e592 (Update) canBeFinalizedNow in voting contracts 2018-06-13 18:15:58 +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 215557efbb eslin@4.10.0 2018-03-22 16:49:17 +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
phahulin c3b9b73794
Merge pull request #107 from vbaranov/fix-gas-price
(Fix) send gas price option
2018-03-21 19:02:01 +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 a5032e09a9 Info badges stucked together fix 2018-03-21 12:46:25 +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
viktor ddaccb8a33 fix gas price 2018-03-20 19:35:47 +03:00
viktor 852bf1749f fix on immediate vote after switching from start to close time 2018-03-20 18:17:01 +03:00
viktor 19e5419a8b Search by mining key, memo 2018-03-20 16:50:56 +03:00
viktor dd3869bd83 Sokol theme 2018-03-20 16:10:03 +03:00
viktor 95cac8f05d update mechanic for new ballot form 2018-03-20 12:18:23 +03:00
Igor Dobrovolsky d6ae1c11cf Update new page design 2018-02-15 21:33:13 +02:00
Victor Baranov 20c60f3e0d (Update) chain-spec repo as endpoint for contracts addresses and ABIs (#94)
* chain-spec repo as endpoint for contract addresses and ABIs

* organization name change

* ABI from chain-spec repo

* helpers

* remove console.log

* remove unnecessary var
2018-01-29 11:11:26 -08:00
Roman Storm 054436f4b2 Fix styling issue 2018-01-24 21:09:25 -08:00
Roman Storm 0b6b30c556 (Feature) Add validator key to the table 2018-01-23 12:45:32 -08:00
Roman Storm 30934c9e55 (Fix #86) Check tx status after submission. 2018-01-23 12:45:32 -08:00
Victor Baranov 61a11a78ea
Merge pull request #88 from rstormsf/fix_timezone
Fix timezone
2018-01-23 23:34:47 +03:00
Roman Storm 2ee3601fdf Remove unused variable and fix error msg 2018-01-23 12:27:58 -08:00
Roman Storm fe91c624ef Prepend ballot end time with 2 days, 10 min.
Provide warning if it's less
2018-01-21 19:25:57 -08:00
Roman Storm 0f3a367f77 (Fix) Add proper name for buttons 2018-01-19 23:01:07 -08:00
Roman Storm 03a30059b5 (Fix) Add proper name for buttons 2018-01-19 22:47:00 -08:00
Roman Storm 55d8c5632c (Fix) Add front end validation 2018-01-19 19:03:26 -08: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
Victor Baranov 8a77e489ba (Feature) Show time to start (#71)
* Show if ballot is finalized

* Display US date format

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

* Time to start

* typo
2018-01-16 16:02:07 -08:00
Victor Baranov d25086561a (Fix) US date format (#70)
* Show if ballot is finalized

* Display US date format

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

* typo
2018-01-16 15:58:45 -08:00
viktor 4d2293abda Codacy suggestion: Expected { after 'if' condition. (curly) 2018-01-16 15:55:23 -08:00
viktor 83bbff7248 Show if ballot is finalized 2018-01-16 15:55:23 -08:00
vbaranov 4b76f78866 Minimize complexity of render function 2018-01-12 12:51:29 -08:00
vbaranov ff53756c71 Generic Object Injection Sink (security/detect-object-injection) fix 2018-01-12 12:51:29 -08:00
vbaranov e4706b96d1 More Codacy suggestions 2018-01-12 12:51:29 -08:00
vbaranov 28604a7f8b Codacy suggestions 2018-01-12 12:51:29 -08:00
vbaranov 4df197c83e Search fix 2018-01-12 12:51:29 -08:00
vbaranov e0ff441448 Base BallotCard class 2018-01-12 12:51:29 -08:00
vbaranov 2b4a291e21 Codacy suggestions 2018-01-12 12:09:07 +03:00
vbaranov 42c8dab0b7 Console warning on switching to active ballots fix 2018-01-11 18:35:41 +03:00
vbaranov e59b2591cd Remove double contractsStore.setWeb3Instance 2018-01-11 18:11:25 +03:00
vbaranov 1845327ab9 Double web3 injection fix 2018-01-11 18:06:55 +03:00
Roman Storm 8e7e2c4dd2 (Update) Sokol addresses after HF 2018-01-09 15:55:28 -08:00
Victor Baranov 12961b272d Keys ballot type to transaction: add/remove/swap fix 2018-01-06 14:56:33 -08:00
Roman Storm 1f900c641a (BugFix) pass correct miningKey value 2018-01-06 14:45:16 -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 2d7990e39e Add card id + have live clockwatch 2018-01-05 12:36:25 -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
Roman Storm bce23f8573 Merge branch 'core' of github.com:poanetwork/poa-dapps-voting into core 2017-12-30 16:00:14 -08:00
Roman Storm abcdacbce9 Fixes #45. Correctly pass choice to the smart contract. 2017-12-30 15:58:50 -08:00
Victor 17dc69470b We don't need KEYS_MANAGER_ADDRESS for Governance Dapp 2017-12-29 19:25:30 +03:00
viktor c836b5f46e address autocomplete with react-places-autocomplete; relates to #34 2017-12-28 18:08:53 +03:00
viktor 22f8f3b9b1 date & time input for endTime field; relates to #35 2017-12-28 16:56:57 +03:00
viktor 6fb82a6152 Memo removed from a new ballot for keys form 2017-12-27 17:29:57 +03:00
viktor 60964de9e8 core contracts addresses 2017-12-27 17:27:32 +03:00
viktor bdb37b41a2 Lorem ipsum change with meaningful text 2017-12-27 17:26:30 +03:00
viktor 47bbb9de8c Fix: Error message is not friendly, if no metamask; relates to #28 2017-12-27 14:37:41 +03:00