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

Option to not display votes in real time #12

Open
anze-gn opened this issue May 11, 2020 · 1 comment
Open

Option to not display votes in real time #12

anze-gn opened this issue May 11, 2020 · 1 comment

Comments

@anze-gn
Copy link

anze-gn commented May 11, 2020

Thank you for making this awesome slack app and making it open source!
I was wondering if it is possible to extend this app to have an option to not display votes in real time? I have several ideas how to achieve this:

  1. a button, which is visible only for the creator of the poll, when clicked toggles the display of votes
  2. the creator of the poll closes the poll and then the votes are displayed
  3. the poll is automatically closed when the specified number of users vote and then the votes are displayed
  4. the poll is opened only for the specified amount of time and then it is automatically closed and the votes are displayed

I can help with extending the app, but I have no experience with slack apps.

@KazuAlex
Copy link
Owner

Hello,

I think this is possible (and good idea)

I distinguish two features :

  • close a poll
  • reveal votes

But before adding more options to the slack bot, i want to add this feature https://api.slack.com/surfaces/modals (creating poll over a modal)

After that, the most tricky part is about building blocks. If you want to help, you can found documentation here : https://api.slack.com/block-kit/building
All the other parts are just JavaScript ;)

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

No branches or pull requests

2 participants