Poll reference bugs acting strangely (or not working at all)

סיכום מבוסס בינה מלאכותית

The discussion revolves around issues with referencing polls in Discourse forums. dylanh724 points out that when referencing a poll, the “show results” button does not work, and the preview text shows “0 voters.” However, clicking on the original poll post displays the correct results.

@zogstrip confirms that quoting a poll does not work and has made changes to display only a link to the poll instead of its content.

@nbianca has since implemented changes to show the polls, and zogstrip requests that maja assess the feasibility of displaying poll data when clicking the top-right arrow to “embed” the whole post.

Polls, alone, in the current post are fine.

However, if you reference one… <I tried to find a poll in this forum, but could not find one, so see my example below>

https://forum.imperium42.com/t/the-forums-new-default-theme-is-dark/71825

You can see a “show results” btn:

However, clicking it does nothing. Also note the preview text shows “0 voters”.

If you click the top right arrow to dropdown more info:

Everything is 0.

However, clicking inside:

https://forum.imperium42.com/t/should-we-change-the-default-forum-theme-to-dark/46439

34 voters

with results

3 לייקים

Do you mean quoting a poll?

I think we should stop trying to do some of this fancy @zogstrip

2 לייקים

Yeah, quoting a poll doesn’t work. Will fix.

3 לייקים

The onebox will now only show a link to the poll instead of it’s content thank to @nbianca’s work.

@maja, can you have a look at how easy/hard it would be to show the polls data when clicking the top right arrow to “embed” the whole post?

לייק 1

I’ve made the changes to show the polls:

https://github.com/discourse/discourse/pull/7768/files

7 לייקים