Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[slack.emoji-vote] switch to blocks, add support for eligible_voters parameters #137

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

gigxz
Copy link
Collaborator

@gigxz gigxz commented Oct 20, 2021

  • Allow restricting voters using eligible_voters and ineligible_voters param. Ineligible voters are unable to cast votes. When they try to, they'll get an ephemeral message saying that they can't vote. That message is customizable using the ineligible_voter_message param. Closes Support eligible voter list param for Slack emoji-vote process #122
  • Switch emoji-vote process to use the Slack block kit. This change is necessary in order to support most of the enhancements laid out in Enhancements to Slack emoji-vote process #85. Specifically because we cannot use the bot token to remove voters reactions; reactions can only be removed by the users who added them. Blocks will also let us do things like: choose to make votes anonymous, reveal votes only when the vote has closed, allow minimum/maximum number of votes people can cast, etc.

choice vote:
Screen Shot 2021-10-20 at 14 17 58

boolean vote:
Screen Shot 2021-10-20 at 14 18 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support eligible voter list param for Slack emoji-vote process
1 participant