wilhelmklopp / simple-poll

:bar_chart: Create native and simple polls in Slack.
195 stars 25 forks source link

the user posting the poll can't poll #16

Closed harryi3t closed 8 years ago

harryi3t commented 8 years ago

image

if I click any option button, that option is gone! for everyone! And there is no way to add them back

What's the use of a poll without any options left?

harryi3t commented 8 years ago

Here is what I meant by the option is gone

anim

wilhelmklopp commented 8 years ago

Hey,

Yes, this is a problem that I would love to fix, because there are multiple support requests each day for it, however, the Slack API doesn't really allow for any better implementation of it at this time.

You can always re-add the emoij reactions by adding them manually via the "Add Reaction" button, that shows up both to the left of the existing emoji or to the right of the message when you hover over it. Add Reaction Button

This is a duplicate of #3

Scotty79 commented 8 years ago

Just created my first poll and notice all poll result buttons initially all display with 1 vote. Shouldn't they all initially display with 0 instead of 1? harryi3t's animated gif above shows all buttons immediately being populated with 1 also. Is this expected behavior?

harryi3t commented 8 years ago

@Scotty79 yes it is. for that icon to be there it needs atleast one vote. So the person who has added this plugin to their slack, his account will be used every time to post the vote on every option.

The way I manage this is, first let everyone vote, then I go and remove my votes from every option except the one(s) which I want to vote.

The reason is lack of permission on the command, so it cannot use itself. The author has requested the API support but has been denied.

Full description here https://www.producthunt.com/tech/simple-poll

wilhelmklopp commented 8 years ago

@harryi3t @Scotty79 yes this is correct, with one exception: The API support has not really been denied, but it has not really been supported by Slack either.

With that said, I am confident that a fix, which will help me resolve this problem is coming in the near future :smile:

imjoshdean commented 8 years ago

Have you considered updating this to utilize the message-button API in order to accomplish this? https://api.slack.com/docs/message-buttons

wilhelmklopp commented 8 years ago

@imjoshdean replied in #26