WCF icon indicating copy to clipboard operation
WCF copied to clipboard

Overhaul the poll system

Open dtdesign opened this issue 2 months ago • 1 comments

The poll system is largely unchanged since WCF 2.0. While there have been improvements over time to the UI and UX, there have been no conceptual revisions at large.

There are a few key areas that are worth considering:

  • Localized Values Right now poll options are monolingual and offering the same question in n different languages requires n polls.
  • Multiple Questions Asking only a single question is often times not enough and depending on the implementation only a single poll can be added.
  • Manage Polls Independent from Content Creating and editing a poll is only possible alongside a WYSIWYG editor because it relies on a tab menu. This is not only awkward, it’s also hard to find and in general very limiting. While it is technically already possible to have polls that are not tied to any specific content (for example, a side-wide box with a poll) it’s pretty much impossible to offer the ability to do so.
  • Independent Colors For the longest times the colors used for the poll bars are taken from other areas in the software with sometimes questionable results. Bar colors should be separated and be deterministic, possibly even added as a separate option to the style editor.
  • A setting that generally displays the results only after the poll has ended.
  • A setting to display the answer options in random order when voting. Achieving a stable random sort order for users can be achieved by using xoshiro256** with a seed derived from the user id. The actual sorting is then performed by using shuffleArray() with a randomizer initialized with said engine.
  • Allow polls in CMS articles; ref https://www.woltlab.com/community/thread/257397-umfragen-in-cms-seiten-artikeln/

dtdesign avatar Oct 02 '25 14:10 dtdesign

Great idea

eveneme avatar Oct 09 '25 21:10 eveneme