Approved Poll choice submission

ant

⭐️⭐️⭐️
is a Site Content Manager Alumnusis a Battle Simulator Admin Alumnusis a Senior Staff Member Alumnusis a Contributor Alumnusis a Top Smogon Media Contributor Alumnus
instead of making the poll options a button, make it a radio button, such as:

68747470733a2f2f7261772e6769746875622e636f6d2f6f6e65677261792f526164696f427574746f6e2d696f732f646174612f64656d6f2e676966


and add a "Submit" button. the dynamic chats make me get the wrong option all the time i swear
 
This is a cool idea, though its tricker to implement than the current version. The current versions use a <button name="send" value="/poll vote option#">Name of Option</button> setup. To use radio buttons and submit a submit button, we need to be able to figure out which option is selected when you hit submit, and then send the appropriate command. That specifically would be a client side change, which means it may not happen for a while due to the preact rewrite. (For more information about the preact rewrite, see this post).
 
Another solution is to make it so the chat doesn't scroll when hovering over a button. That's something I've planned for the Preact rewrite for some time (it's a bit too much work to implement in the old architecture).
 
In double checking if the suggestion to stop chat scrolling when hovering on infoboxes was already a thing, I ended up finding this thread.

I don't know what the preact thing is, but if that's too difficult, one thing that could be done is formatting the answers as pictured below by floating every other button to the opposite side
1588883084576.png

While it doesn't necessarily solve the problem of chat scrolling, it at least makes it easier to not accidentally hit another button because of it.

The same can be done for other infoboxes like /tier and /rfaq that output multiple links at once.

If this would be a preact thing as well, then rip
 
Its a unique solution I'll give it that, but it really looks terrible in my opinion. Zarel is actively working on the preact client as recently as last night, but since its basically re-writing the entire client its going to take a while.
 
Back
Top