Forem Creators and Builders 🌱

Anumitha Apollo
Anumitha Apollo

Posted on

Polls inside posts

Polls are a great way to understand people's opinions and an easy way to engage with users.

Personally I love polls because it gives insights on the majority as well.

Top comments (9)

Collapse
 
link2twenty profile image
Andrew Bone

Polls exist in a beta form. I'm not sure what is preventing it from being made accessable.

Beta polls feature (admin use only for now) #3176

What type of PR is this? (check all applicable)

  • [ ] Refactor
  • [x] Feature
  • [ ] Bug Fix
  • [ ] Documentation Update

Description

This PR includes some basic functionality for including polls in tweets. It limits so that only admins can include polls because I think there are more complexities around polls we want to nail down, along the lines of:

  • An article with a poll probably shouldn't allow edits because that could compromise the poll.
  • A poll should only be able to be embedded in a single article as to keep context consistent.
  • This means more "awareness" of the context from the liquid tag perspective.
  • A poll should be definable through some fairly straightforward UI which begs questions of when a poll gets "saved".

So for now I made it so that it's more of a conceptual feature for now that we can use internally but it will be fun to show off until we answer the rest of the questions.

Forgive my silly placeholder text:

Collapse
 
lee profile image
Lee

Well look at that!

Collapse
 
ben profile image
Ben Halpern

Yup, these are just missing a bit of functionality, but they've sat on the shelf for far too long.

Thread Thread
 
apolloanumitha profile image
Anumitha Apollo

Will it be made available for the users to use as well, like other than the admins?

Thread Thread
 
link2twenty profile image
Andrew Bone

Ben actually wrote a post about them around a year ago over on Dev

Before you get too excited, this feature currently only works for admins, and even for admins, you can't actually create a poll outside of the console.

Though I think this implies this is only for the testing phase (which never quite ended πŸ˜…).

Thread Thread
 
ben profile image
Ben Halpern

Yeah, I really cover-complicated some things by wanting to ensure it would be impossible to deceive by changing the surrounding text for the poll...... Which just led to this not fully shipping. We can probably loosen the constraints a little bit.

Collapse
 
apolloanumitha profile image
Anumitha Apollo

Oh that's great thank you!

Collapse
 
ildi profile image
Ildi

I think adding polls would be really useful. I like how polls work on Twitter (voting is private) help.twitter.com/en/using-twitter/...

Collapse
 
apolloanumitha profile image
Anumitha Apollo

Yeah I totally agree!