Commit Graph

130 Commits

Author SHA1 Message Date
Barry Gitarts a02a535d78 add some mobile responsive breakpoints 2018-06-29 07:22:07 -04:00
Barry Gitarts d342d2c280 specify viewport to make page ready for mobile responsiveness 2018-06-29 06:42:43 -04:00
Barry Gitarts b5172c0dbd Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 16:41:04 -04:00
Barry Gitarts c4e09a2282 ensure new vote get displayed before closing add poll
menu is now an easter egg
2018-06-28 16:40:18 -04:00
Richard Ramos 4a985e76c1 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 16:26:30 -04:00
Richard Ramos ca940c3dd1 merge 2018-06-28 16:25:59 -04:00
Barry Gitarts 25229dbd27 disable add proposal when no SNT 2018-06-28 16:24:28 -04:00
Richard Ramos 5907339d4d Formatting results 2018-06-28 16:22:11 -04:00
Barry Gitarts 57ef231576 Update votes on update
use global context for updating polls
2018-06-28 15:05:53 -04:00
Barry Gitarts 8c6308362c update tooltip copy 2018-06-28 12:25:19 -04:00
Barry Gitarts 51baddb70e add voting context + refresh polls after add 2018-06-28 12:14:15 -04:00
Barry Gitarts 037c976826 add transistion for AddPoll 2018-06-28 11:03:59 -04:00
Barry Gitarts 2b0b834827 fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 10:56:49 -04:00
Richard Ramos edce31e574 Increasing gasLimit 2018-06-28 10:56:44 -04:00
Barry Gitarts 394f7916d4 add error handling to add poll 2018-06-28 10:53:33 -04:00
Barry Gitarts bf7653499b fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 09:22:05 -04:00
Richard Ramos d810019375 Disabling voting if no SNT balance 2018-06-28 09:22:05 -04:00
Barry Gitarts 227c01e853 add bypass getPolls when no polls 2018-06-28 09:03:58 -04:00
Richard Ramos f83aa448c4 Slider is disabled depending on voting 2018-06-27 22:09:19 -04:00
Richard Ramos 3ba4d1e560 Changed logo 2018-06-27 22:02:50 -04:00
Richard Ramos ff338bb7b0 Allowing voting / unvoting 2018-06-27 21:42:17 -04:00
Richard Ramos c2ba506f5e Loading vote information and balance available for voting 2018-06-27 21:18:49 -04:00
Richard Ramos b7528bbdee Users can vote 2018-06-27 20:45:31 -04:00
Richard Ramos bfad0ae88e Simplified contract to only gather votes without requiring options 2018-06-27 17:23:27 -04:00
Barry Gitarts 06a6cceb46 make slider tooltip display quadratic 2018-06-27 15:50:08 -04:00
Barry Gitarts 2422420282 fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 15:43:03 -04:00
Barry Gitarts 811d09979d Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 15:35:41 -04:00
Barry Gitarts bca86f5a1f add togglePoll + poll submit loading indicator 2018-06-27 15:34:06 -04:00
Richard Ramos 270a65c9ff Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 15:10:43 -04:00
Richard Ramos cce9494663 Disabling unneded contracts 2018-06-27 15:10:16 -04:00
Barry Gitarts e17870ab17 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 15:09:20 -04:00
Barry Gitarts c775fab955 add status logo 2018-06-27 15:08:09 -04:00
Richard Ramos 8abcd28835 Added validation when adding polls 2018-06-27 15:00:50 -04:00
Richard Ramos 28521fb1a5 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 14:45:00 -04:00
Richard Ramos 5e9a0da95c Added gas estimation 2018-06-27 14:44:37 -04:00
Barry Gitarts e99d9b5560 add vote button and slider 2018-06-27 14:40:45 -04:00
Barry Gitarts 2cc4478553 add get voting option
store proposals in indexed order
2018-06-27 13:54:36 -04:00
Barry Gitarts 56297fb988 add pollsList 2018-06-27 13:23:14 -04:00
Barry Gitarts 840295bb27 add rawPolls to top level state 2018-06-27 10:27:16 -04:00
Barry Gitarts 0ab1b422ba increase font size of text field 2018-06-27 08:52:41 -04:00
Barry Gitarts 0d75175db3 add rlp encoding for new proposal 2018-06-26 17:40:27 -04:00
Barry Gitarts 0f0c7261c4 fixup! fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-26 17:19:26 -04:00
Barry Gitarts 9e227df03d fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-26 17:15:20 -04:00
Barry Gitarts a3807a8478 add addPoll method to handlesubmit 2018-06-26 17:05:58 -04:00
Barry Gitarts 1bf51552d7 add AddPoll component 2018-06-26 16:34:52 -04:00
Barry Gitarts 7f007935f2 add initial scalfold for voting dapp
seperate admin view from main view
2018-06-26 12:46:06 -04:00
Richard Ramos 66b6fbf966 Wrong variable name 2018-06-26 08:22:44 -04:00
Richard Ramos 98dcb1f803 Adding topic, to, value and data 2018-06-25 17:06:19 -04:00
Richard Ramos 9f122d36ff Tabulation and determining final result 2018-06-25 14:35:16 -04:00
Richard Ramos e160a028cf Voting form did not display during pagination 2018-06-25 10:19:10 -04:00
Richard Ramos 723b5a2cac Set dapp back to working state 2018-06-25 09:43:08 -04:00
Richard Ramos 01afa35a39 Displaying buttons depending on proposal state 2018-06-03 12:08:53 -04:00
Richard Ramos c6f7e54cac SNT minting 2018-06-01 15:17:32 -04:00
Barry Gitarts 7a394c396e add token permissions to proposal manager 2018-05-31 16:50:05 -04:00
Barry Gitarts a2ee8a12cb add button action to setPrice 2018-05-31 15:29:50 -04:00
Barry Gitarts 69a952d94a add handleSubmit and FieldGroups 2018-05-31 13:29:42 -04:00
Barry Gitarts 9e010a79c2 add initial form scafold for proposal manager 2018-05-31 09:53:26 -04:00
Richard Ramos 2f2a3fee27 Added voting 2018-05-30 10:32:38 -04:00
Richard Ramos 08d5665245 Loading proposals, and reorganized code 2018-05-29 20:29:40 -04:00
Richard Ramos 6128390bca Proposals are able to be created using SNT 2018-05-29 16:51:59 -04:00
Richard Ramos 226ae6d768 Extracting data from IPFS 2018-05-29 11:00:21 -04:00
Richard Ramos 9d82dbae7f Adding form for proposals 2018-05-24 10:27:28 -04:00
Richard Ramos 3476f96171 Merged 172 changes, and set contracts.json to deploy required contracts 2018-05-24 08:11:33 -04:00
Richard Ramos 20c120237b Simple Paginator 2018-05-22 14:03:28 -04:00
Richard Ramos e4c750b1b9 Changed topic to description 2018-05-22 11:39:23 -04:00
Richard Ramos ea171fb030 Adding content to proposals 2018-05-22 11:11:53 -04:00
Richard Ramos 5f8377f23f Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-05-22 09:49:51 -04:00
Richard Ramos 344efdd06e Obtaining SNT balance 2018-05-22 09:49:22 -04:00
Barry Gitarts de974ec9d2 add proposal manager 2018-05-21 17:44:06 -04:00
Barry Gitarts 39234c5d92 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-05-21 17:42:34 -04:00
Barry Gitarts a60f36a9e2 add proposal manager 2018-05-21 17:42:23 -04:00
Richard Ramos 55f1e283a1 Moved files 2018-05-21 16:16:29 -04:00
Richard Ramos 3e44fa9b28 Adding ProposalContainer component and changed module.exports to export default 2018-05-21 16:15:46 -04:00
Richard Ramos c905809558 Creating dummy components for the voting dapp 2018-05-21 15:45:57 -04:00
Barry Gitarts 46a063bab5 small cleanup 2018-05-21 14:29:57 -04:00
Ricardo Guilherme Schmidt 204892e3ce add placement of dropdown, balances, addresses are accounts 2018-05-19 03:09:13 -03:00
Ricardo Guilherme Schmidt 70b7d13ffc add account list 2018-05-18 16:17:46 -03:00
Ricardo Guilherme Schmidt 082c1d19b7 add topbar 2018-05-17 16:53:23 -03:00
Ricardo Guilherme Schmidt a89d67f11a fix in log 2018-05-13 01:40:56 -03:00
Ricardo Guilherme Schmidt 62bf93868c simple token UI 2018-05-13 01:31:01 -03:00