dPoll development updates by emrebeyler

View this thread on steempeak.com
· @emrebeyler · (edited)
$53.08
dPoll development updates
<center><img src="https://steemitimages.com/0x0/https://cdn.steemitimages.com/DQmRS1td9zMErNTuHoKQSFdbE7SmjW1yB9i3MoHKoPdGQ1C/dpoll-3.png"></center>
<center><sup>See it online at [dpoll.xyz](https://dpoll.xyz/), and the source code at [github repository.](https://github.com/emre)</sup></center>

dPoll is having constant development. Here are the new updates deployed in the last couple of days:

#### Poll editing
***

Poll editing is one of the most wanted features. When you create a poll and see you made a typo, it feels bad because you can't fix it. (You can fix it in the other interfaces, but not on dPoll.)

This feature was not there because editing the poll question and the answers don't make any sense since it may lead to false positives on the answers.

However, in order to give a small window to the poll creator to fix the grammar mistakes, now it's possible to edit polls if

- the poll is open.
- the poll has no votes casted.

<center><img src="https://cdn.steemitimages.com/DQmPWL3fTRCtMzcH53FtaxkNukhsk2u1Y8nWdyWWGRuZNrQ/Screen%20Shot%202018-11-19%20at%205.23.36%20PM.png"></center>
<center><sup>A wild "edit" button appears</sup></center>
***

Now, there is an "edit" button near to "vote" button in the poll detail page if you're owner the poll. This change also led a few refactors to prevent code repeat. The overall tech debt on that part is huge but became smaller with these changeset.

This change doesn't limit editing the poll on other interfaces. You can still reshape your post on other interfaces, however, if you want it changed you must update the poll at our website.

<center><img src="https://cdn.steemitimages.com/DQmYiQSLCVvqg7SsHtnYq3PUgGomR5oodLBnBbgh1CEGJL7/Screen%20Shot%202018-11-19%20at%205.40.12%20PM.png"></center>
<center><sup>Magical JSON metadata of dPoll</sup></center></center>


Related pull request: 
https://github.com/emre/dpoll.xyz/pull/50

#### Remembering the old input values on errors
***

The interface wasn't remembering the form input if something goes bad while submitting the poll. Ex: You have tried to create a poll with a huge amount of description and tried to send it with just one choice option. You will get an error that at least two choices are required but the description will stay there.

<center><img src="https://cdn.steemitimages.com/DQmSdjXEFBjt5bbAf7CLKQeCx1AexpzuAf4FAbh1bTFwTba/Screen%20Shot%202018-11-19%20at%205.31.11%20PM.png"></center>

***

Related pull request: https://github.com/emre/dpoll.xyz/pull/49/commits


#### Better validation on choices
***

There was a couple of errors about validating choices and allowing multiple same choices in the polls. These two problems are addressed.

Related pull request:

https://github.com/emre/dpoll.xyz/pull/47/commits


#### Minor changes
***

- [Fixing UI on flash messages](https://github.com/emre/dpoll.xyz/pull/46/commits/9af52d47897c29b9fe67e6bb46099ffff38bdfa1)

- [Disabling broadcasting with settings.DEBUG flag](https://github.com/emre/dpoll.xyz/pull/48)


#### Roadmap
***

- Fixing the mobile issues on markdown editor
- Adding/Updating post tags
- Multiple choice selection (Not %100 decided, yet.)
- DPP (dPoll Points) system based on user activity.

If you have any ideas, suggestions, or feedbacks you can shoot your ideas at our [issues](https://github.com/emre/dpoll.xyz/issues). Also, feel free to join [discord server](https://discord.gg/ZcV8SGr).


#### Curation
***

Thanks to our [amazing sponsors](https://dpoll.xyz/sponsors/), our community curation account reached to **7.8k** SP. Currently, we curate manually. However, in order to eliminate human mistakes, we're currently designing curation guidelines and a new upvote bot to make sure we use our delegated steem power more efficient and fair.

Speaking of that, if you want to help curation, you can delegate some steem power to @dpoll.curation account, and become a sponsor instantly. 🎉
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 46 others
properties (23)
post_id66,280,387
authoremrebeyler
permlinkdpoll-development-updates
categorydpoll
json_metadata{"image":["https:\/\/cdn.steemitimages.com\/DQmRS1td9zMErNTuHoKQSFdbE7SmjW1yB9i3MoHKoPdGQ1C\/dpoll-3.png"],"links":["https:\/\/dpoll.xyz\/","https:\/\/github.com\/emre","https:\/\/github.com\/emre\/dpoll.xyz\/pull\/50","https:\/\/github.com\/emre\/dpoll.xyz\/pull\/49\/commits","https:\/\/github.com\/emre\/dpoll.xyz\/pull\/47\/commits","https:\/\/github.com\/emre\/dpoll.xyz\/pull\/46\/commits\/9af52d47897c29b9fe67e6bb46099ffff38bdfa1","https:\/\/github.com\/emre\/dpoll.xyz\/pull\/48","https:\/\/github.com\/emre\/dpoll.xyz\/issues","https:\/\/discord.gg\/ZcV8SGr","https:\/\/dpoll.xyz\/sponsors\/"],"community":"steempeak","tags":["dpoll","utopian-io","development","steemdev"],"app":"steempeak","format":"markdown","users":["dpoll.curation"]}
created2018-11-19 17:26:00
last_update2018-11-19 17:28:30
depth0
children14
net_rshares89,036,579,326,066
last_payout2018-11-26 17:26:00
cashout_time1969-12-31 23:59:59
total_payout_value39.986 SBD
curator_payout_value13.097 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length3,908
author_reputation319,480,565,467,431
root_title"dPoll development updates"
beneficiaries
0.
weight500
accountutopian.pay
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (110)
@psos ·
$0.04
Great! I think you have found a fair way for the edit feature ;)

Posted using [Partiko Android](https://steemit.com/@partiko-android)
👍  
properties (23)
post_id66,280,674
authorpsos
permlinkpsos-re-emrebeyler-dpoll-development-updates-20181119t173330742z
categorydpoll
json_metadata{"app":"partiko"}
created2018-11-19 17:33:30
last_update2018-11-19 17:33:30
depth1
children0
net_rshares79,577,359,410
last_payout2018-11-26 17:33:30
cashout_time1969-12-31 23:59:59
total_payout_value0.037 SBD
curator_payout_value0.001 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length134
author_reputation17,069,555,901,365
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@isnochys ·
$0.05
I am so excited for the upcoming features :))
👍  
properties (23)
post_id66,282,326
authorisnochys
permlinkre-emrebeyler-dpoll-development-updates-20181119t181158890z
categorydpoll
json_metadata{"tags":["dpoll"],"app":"steemit\/0.1"}
created2018-11-19 18:12:03
last_update2018-11-19 18:12:03
depth1
children0
net_rshares78,606,918,854
last_payout2018-11-26 18:12:03
cashout_time1969-12-31 23:59:59
total_payout_value0.037 SBD
curator_payout_value0.012 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length45
author_reputation36,963,899,244,133
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@themarkymark · (edited)
$0.05
Good compromise. I agree changing the polls after votes are cast would not be a good thing.
👍  ,
properties (23)
post_id66,283,283
authorthemarkymark
permlinkre-emrebeyler-dpoll-development-updates-20181119t183319738z
categorydpoll
json_metadata{"app":"steemit\/0.1","tags":["dpoll"]}
created2018-11-19 18:33:18
last_update2018-11-19 18:40:12
depth1
children0
net_rshares78,191,531,929
last_payout2018-11-26 18:33:18
cashout_time1969-12-31 23:59:59
total_payout_value0.036 SBD
curator_payout_value0.011 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length91
author_reputation806,615,692,176,612
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@baycan ·
$0.05
Çok güzel bir gelişme emeğinize sağlık hocam 👍
👍  
properties (23)
post_id66,283,334
authorbaycan
permlinkre-emrebeyler-dpoll-development-updates-20181119t183443645z
categorydpoll
json_metadata{"app":"steemit\/0.1","tags":["dpoll"]}
created2018-11-19 18:34:45
last_update2018-11-19 18:34:45
depth1
children0
net_rshares77,799,794,348
last_payout2018-11-26 18:34:45
cashout_time1969-12-31 23:59:59
total_payout_value0.036 SBD
curator_payout_value0.012 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length46
author_reputation69,006,323,355,244
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@amosbastian ·
$7.45
Thanks for the contribution, @emrebeyler! Once again some very cool features, especially the ability to edit the polls after posting them is a great one.

One thing I noticed is that if you don't select an option, you can still click "Vote", type additional thoughts and then click "Continue", which brings you to e.g.

```
Not Found
The requested URL /vote/@emrebeyler/choose-the-best-web-development-framework-on-python/ was not found on this server.
```

I think it would be best if you disable the button until an option has been selected or something. Other than that I haven't found anything wrong with it - great work!

---

Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/1221212).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
👍  , , , , , , , , , ,
properties (23)
post_id66,290,394
authoramosbastian
permlinkre-emrebeyler-dpoll-development-updates-20181119t214224807z
categorydpoll
json_metadata{"links":["https:\/\/join.utopian.io\/guidelines","https:\/\/review.utopian.io\/result\/3\/1221212","https:\/\/support.utopian.io\/","https:\/\/discord.gg\/uTyJkNm","https:\/\/join.utopian.io\/"],"users":["emrebeyler"],"app":"steemit\/0.1","tags":["dpoll"]}
created2018-11-19 21:42:24
last_update2018-11-19 21:42:24
depth1
children1
net_rshares11,965,834,998,547
last_payout2018-11-26 21:42:24
cashout_time1969-12-31 23:59:59
total_payout_value5.631 SBD
curator_payout_value1.814 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,121
author_reputation174,225,255,912,876
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (11)
@utopian-io ·
Thank you for your review, @amosbastian! Keep up the good work!
properties (22)
post_id66,408,139
authorutopian-io
permlinkre-re-emrebeyler-dpoll-development-updates-20181119t214224807z-20181122t040737z
categorydpoll
json_metadata{"app":"beem\/0.20.9"}
created2018-11-22 04:07:39
last_update2018-11-22 04:07:39
depth2
children0
net_rshares0
last_payout2018-11-29 04:07:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length63
author_reputation152,913,012,544,965
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steem-ua ·
#### Hi @emrebeyler!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
**Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
properties (22)
post_id66,291,337
authorsteem-ua
permlinkre-dpoll-development-updates-20181119t221055z
categorydpoll
json_metadata{"app":"beem\/0.20.9"}
created2018-11-19 22:10:57
last_update2018-11-19 22:10:57
depth1
children0
net_rshares0
last_payout2018-11-26 22:10:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length289
author_reputation23,203,609,903,979
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
Hey, @emrebeyler!

**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Get higher incentives and support Utopian.io!**
 Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via [SteemPlus](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)).

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
post_id66,301,810
authorutopian-io
permlinkre-dpoll-development-updates-20181120t030811z
categorydpoll
json_metadata{"app":"beem\/0.20.9"}
created2018-11-20 03:08:12
last_update2018-11-20 03:08:12
depth1
children0
net_rshares0
last_payout2018-11-27 03:08:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length592
author_reputation152,913,012,544,965
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@dpoll.curation ·
Thanks for contributing to the dPoll content.

You have been upvoted from our community curation account (@dpoll.curation) in courtesy of This Guy... @bluerobo.

Come, join our community at [dPoll discord server](https://discord.gg/ZcV8SGr).
***
<sup>If you want to support dPoll curation, you can also delegate some steem power. Quick steem connect links to delegate: 
[50SP](https://steemconnect.com/sign/delegateVestingShares?delegatee=dpoll.curation&vesting_shares=50%20SP) | [100SP](https://steemconnect.com/sign/delegateVestingShares?delegatee=dpoll.curation&vesting_shares=100%20SP) | [250SP](https://steemconnect.com/sign/delegateVestingShares?delegatee=dpoll.curation&vesting_shares=250%20SP) | [500SP](https://steemconnect.com/sign/delegateVestingShares?delegatee=dpoll.curation&vesting_shares=500%20SP)  
</sup>
properties (22)
post_id66,301,954
authordpoll.curation
permlink356b844d-48db-41c7-bcc7-e0e44adddff4
categorydpoll
json_metadata{}
created2018-11-20 03:11:57
last_update2018-11-20 03:11:57
depth1
children0
net_rshares0
last_payout2018-11-27 03:11:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length824
author_reputation6,900,632,335,524
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@mmmmkkkk311 ·
Tested and liked. 
PS. Too many default tags.
properties (22)
post_id66,302,552
authormmmmkkkk311
permlinkre-emrebeyler-dpoll-development-updates-20181120t033127166z
categorydpoll
json_metadata{"tags":["dpoll"],"app":"steemit\/0.1"}
created2018-11-20 03:31:27
last_update2018-11-20 03:31:27
depth1
children1
net_rshares0
last_payout2018-11-27 03:31:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length45
author_reputation17,245,137,706,712
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@emrebeyler ·
Thanks!

Fixed the default tags problem, it was a bug. :)
properties (22)
post_id66,306,018
authoremrebeyler
permlinkre-mmmmkkkk311-re-emrebeyler-dpoll-development-updates-20181120t051743250z
categorydpoll
json_metadata{"app":"steemit\/0.1","tags":["dpoll"]}
created2018-11-20 05:17:42
last_update2018-11-20 05:17:42
depth2
children0
net_rshares0
last_payout2018-11-27 05:17:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length57
author_reputation319,480,565,467,431
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@vimukthi ·
Great news. I'm really looking forward for Multiple choice selection although it would be a little complicated. Check out https://lumeos.io you might be able to get some ideas and it'd be great if dpoll can evolve to become a competitor.
properties (22)
post_id66,350,351
authorvimukthi
permlinkre-emrebeyler-dpoll-development-updates-20181121t001014097z
categorydpoll
json_metadata{"tags":["dpoll"],"app":"steemit\/0.1","links":["https:\/\/lumeos.io"]}
created2018-11-21 00:10:33
last_update2018-11-21 00:10:33
depth1
children0
net_rshares0
last_payout2018-11-28 00:10:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length237
author_reputation214,343,891,436,406
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@stuffbyspencer ·
Thank you once again for your hard work. dPoll is fun and useful, the best combination! ;)
properties (22)
post_id66,369,885
authorstuffbyspencer
permlinkre-emrebeyler-dpoll-development-updates-20181121t104113517z
categorydpoll
json_metadata{"community":"steempeak","app":"steempeak","tags":["dpoll"]}
created2018-11-21 10:41:15
last_update2018-11-21 10:41:15
depth1
children0
net_rshares0
last_payout2018-11-28 10:41:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length90
author_reputation12,239,897,411,079
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@isnochys ·
If I could turn back !BEER
properties (22)
post_id81,854,943
authorisnochys
permlinkre-dpoll-development-updates-20191119t060758z
categorydpoll
json_metadata{"app":"beem\/0.20.23"}
created2019-11-19 06:08:03
last_update2019-11-19 06:08:03
depth1
children0
net_rshares0
last_payout2019-11-26 06:08:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length26
author_reputation36,963,899,244,133
root_title"dPoll development updates"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000