snackaholic avatar

Steemit Random Picker Update 4

snackaholic

Published: 10 Apr 2018 › Updated: 10 Apr 2018Steemit Random Picker Update 4

Steemit Random Picker Update 4

New Feature

From now on, the participant list will show which actions of the user got fullfilled.
pic1.png

To enable this feature, I first had to modify the participant constructor.

pic2.png

The constructor will now take care of the information whether or not a user did upvote, comment or resteem.

Next step was to save the information from which steemapi call the participant got added to the list.

pic3.png

Also a merge of the conducted useractions is necessary for the case that the user was already within the list. Otherwise, the information of the previous useraction would get lost.

pic4.png

The last thing todo is to display the new gathered information. Therefore I decided to use the svgs from steemit.com. All I had to do is to append them when creating the participants list.

pic5.png

What's planned next?

Because of the new stored information, following features will get implemented:

  • There will be the possibility to sort the participants.
  • There will be the possibility to filter the participants.

Both of these features will get realised with the help of the jquery framework jquery table.

Also as mentioned within the last contribution:

there will be the possibility to weight each user action within the winnerdetermination tab.

For this change, I want to rework the form within the winnerdetermination tab and add the weightings in the form of input fields.

There will be a winner tab instead of the current notificationmessage with some additional data showing, maybe winrates and so on.

This change will get released in connection with the sorting & searching feature. For the additional data, im going to use the google data visualization api called google charts.

There will be the possibility to export the outcome of the lottery.

This change will also get realised with the help of jquery plugin called jquery tables.

Prove of work

Pull Request



Posted on Utopian.io - Rewarding Open Source Contributors

Leave Steemit Random Picker Update 4 to:

Written by

Read more #utopian-io posts


Best Posts From snackaholic

We have not curated any of snackaholic's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From snackaholic