Commit Graph

220 Commits

Author SHA1 Message Date
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
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
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 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
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 bdb37b41a2 Lorem ipsum change with meaningful text 2017-12-27 17:26:30 +03:00
viktor ec0c4edab8 Search logic; relates to #18 2017-12-26 15:12:37 +03:00
viktor e4f1ac8a3f Display votes amount fix 2017-12-26 13:07:55 +03:00
viktor d7dade298c Update addresses for core network 2017-12-25 22:25:17 +03:00
viktor c4670117c7 Updated instruction; relates to #21 2017-12-25 20:01:09 +03:00
viktor 062c2d412e Remove console.logs, fix footer link 2017-12-25 19:03:02 +03:00
viktor 3c6f75da91 Minor React suggestions-fixes 2017-12-25 18:47:33 +03:00
viktor 57577c1ccd Vote, finalize buttons validations 2017-12-25 18:15:43 +03:00
viktor 5b2efe8ac4 active filter, relates to #20 2017-12-25 17:23:09 +03:00
viktor 0b04e5089f Finalization of ballots in new design; rekates to #17 2017-12-25 15:18:37 +03:00
viktor 500a04c102 voting on ballots 2017-12-25 13:10:35 +03:00
viktor 00a08dbd4e Actual social links 2017-12-25 12:18:15 +03:00
viktor 242bb2279a actual votes number on a ballot card 2017-12-25 12:01:28 +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 a1f157e750 Ballot cards values: ballot type and affected key type 2017-12-22 20:58:52 +03:00
viktor 6ea4392bcb Cards values 2017-12-22 20:46:49 +03:00
viktor ac74440ca2 Different cards structure for different ballots 2017-12-22 18:56:50 +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 84bf97fcc0 New loader 2017-12-21 19:24:44 +03:00
viktor d8491b157f Check, if it is valid voting key, contracts addresses for sokol 2017-12-20 17:45:03 +03:00
viktor d084e9dec2 Creation ballots of all types 2017-12-20 17:30:54 +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
viktor 108f01acf7 mobx state management is added 2017-12-19 17:27:27 +03:00
viktor c76045a5ec mobx dependencies are added 2017-12-19 14:04:22 +03:00
viktor 520a63c06b replaceing header & footer; this closes #11 2017-12-18 17:49:56 +03:00
Igor Dobrovolsky 07c147d75b Stub react components 2017-12-12 00:23:01 +02:00