55 Commits

Author SHA1 Message Date
Richard Ramos
fce74ddcd8 Fix on poll Ids when omitting some idx, and extracting getVote 2018-07-17 17:21:24 -04:00
Richard Ramos
33aaa4f679 Removing getBalance() 2018-07-17 16:24:54 -04:00
Barry Gitarts
52a70f5365 fix NaN value after setting to zero
localize state
2018-07-17 16:02:32 -04:00
Barry Gitarts
c47908a454 fix premature 50 block no confirm error
add full refresh due to new off by one error
2018-07-17 12:02:17 -04:00
Barry Gitarts
d83c17ec62 fix bug that displays 0 when no link 2018-07-13 09:56:35 -04:00
Barry Gitarts
c019c43391 add iphone compatable iframe 2018-07-13 08:10:50 -04:00
Barry Gitarts
46e57ae8e2 display poll in app 2018-07-12 15:57:06 -04:00
Barry Gitarts
498742dc11 add fetch idea link for poll 2018-07-12 15:31:47 -04:00
Barry Gitarts
5ead330dab update copy when voting is disabled 2018-07-02 18:09:03 -04:00
Barry Gitarts
c5201fc0a6 display error message to user on fail 2018-07-01 16:07:44 -04:00
Barry Gitarts
9603413242 fix bug related to spinner not loading 2018-07-01 15:46:39 -04:00
Barry Gitarts
f248438e74 add a disabled vote message 2018-07-01 13:51:12 -04:00
Barry Gitarts
091d69f1dd make slider handle bigger
in order to make it an easier target on mobile
2018-07-01 13:32:12 -04:00
Barry Gitarts
ffabc6c351 refresh balance after change vote 2018-06-30 08:01:51 -04:00
Barry Gitarts
fafc6d25a1 update poll card to display current vote info differently
remove tooltip
2018-06-30 06:54:45 -04:00
Barry Gitarts
dbd35e0bc6 better slider button styling and render handling 2018-06-29 21:58:30 -04:00
Barry Gitarts
af3366475e use unique, non index key for polls 2018-06-29 21:10:14 -04:00
Barry Gitarts
a4f0160343 on select filter close filters 2018-06-29 15:25:46 -04:00
Barry Gitarts
bae0e60ad5 update poll through global state 2018-06-29 15:06:23 -04:00
Barry Gitarts
93086c11af add sorting functions for polls filter 2018-06-29 14:39:07 -04:00
Barry Gitarts
c8b22e737d set filter for global state 2018-06-29 13:51:49 -04:00
Barry Gitarts
c9c5ce7d4a add ordering filter component 2018-06-29 11:24:48 -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
ca940c3dd1 merge 2018-06-28 16:25:59 -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
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
Richard Ramos
d810019375 Disabling voting if no SNT balance 2018-06-28 09:22:05 -04:00
Richard Ramos
f83aa448c4 Slider is disabled depending on voting 2018-06-27 22:09:19 -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
cce9494663 Disabling unneded contracts 2018-06-27 15:10:16 -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
0ab1b422ba increase font size of text field 2018-06-27 08:52:41 -04:00