wilhelmklopp / simple-poll

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

Is there a character limit for polls? #24

Closed polleyg closed 7 years ago

polleyg commented 8 years ago

Is there character limit for polls. I created a poll that had relatively long strings for the options and they show up blank (see screenshot).

Option 1 had 56 chars Option 2 had 47 chars

screen shot 2016-07-15 at 3 25 48 pm

I used /poll "Question?" "Option 1" "Option 2" to create it.

wilhelmklopp commented 8 years ago

Hi, this is odd!

Just tried it again with two very long options, way past 50 characters, and it worked just fine. So not entirely sure what is going on here. Maybe it has something to do with the content of the options?

Is there anything unusual in the option text? Can you yourself reproduce this issue?

Really interesting 🤔

Brobin commented 7 years ago

I think it may be due to spaces. I just created a poll with 7 options, all with spaces, and they all came up blank.

wilhelmklopp commented 7 years ago

Hey! Do you have the exact poll slash command you used?

On Mon, 14 Nov 2016 at 20:01, Tobin Brown notifications@github.com wrote:

I think it may be due to spaces. I just created a poll with 7 options, all with spaces, and they all came up blank.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/xoneco/simple-poll/issues/24#issuecomment-260445694, or mute the thread https://github.com/notifications/unsubscribe-auth/AHXHLowUE2d-_PYSgt5K4kkpURTh208qks5q-L4ggaJpZM4JNFoM .

Brobin commented 7 years ago

Something like this:

/poll "What kinds of alcohol should I pick up for game night?" "White Wine" "Red Wine" "Wheat Beer" "IPA"

wilhelmklopp commented 7 years ago

That's a valid poll slash command.

It seems to work for me?

On Mon, Nov 14, 2016 at 8:45 PM, Tobin Brown notifications@github.com wrote:

Something like this:

/poll "What kinds of alcohol should I pick up for game night?" "White Wine" "Red Wine" "Wheat Beer" "IPA"

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/xoneco/simple-poll/issues/24#issuecomment-260457103, or mute the thread https://github.com/notifications/unsubscribe-auth/AHXHLveTPncj6tOZmoMzWssJdOcMKXxSks5q-MhdgaJpZM4JNFoM .

Brobin commented 7 years ago

Yeah, I thought it was valid too. I had 7 options, can't remember exactly what they all were.

jeffgore00 commented 7 years ago

I believe the issue is when the closing quote is left off the poll question. i.e. /poll "What kinds of alcohol should I pick up for game night? "White Wine" "Red Wine" "Wheat Beer" "IPA"

wilhelmklopp commented 7 years ago

@jeffgore00 yep, that sounds about right! Thanks for confirming. I'm gonna close this for now :)