Comments on $msg.get("polls.home.title")
Navigation
$xwiki.getDocument('Help.SupportPanel.Content').translatedDocument.title
Failed to execute the [include] macro. Cause: [Current user [incubator:XWiki.evalica] doesn't have view rights on document [xwiki:Help.SupportPanel.Content]]. Click on this message for details.
org.xwiki.rendering.macro.MacroExecutionException: Current user [incubator:XWiki.evalica] doesn't have view rights on document [xwiki:Help.SupportPanel.Content]
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:119)
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:59)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:311)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:88)
at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.transform(AbstractBlockAsyncRenderer.java:74)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRenderer.tranform(DefaultBlockAsyncRenderer.java:154)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRenderer.execute(DefaultBlockAsyncRenderer.java:137)
at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.render(AbstractBlockAsyncRenderer.java:157)
at org.xwiki.panels.internal.PanelWikiUIExtension.render(PanelWikiUIExtension.java:132)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor$DecoratorWrapper.render(DefaultBlockAsyncRendererExecutor.java:67)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor$DecoratorWrapper.render(DefaultBlockAsyncRendererExecutor.java:49)
at org.xwiki.rendering.async.internal.AsyncRendererJob.runInternal(AsyncRendererJob.java:101)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:223)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
A friendlier error message for the wrong date order would be nice. Currently it's "polls.form.error.wrongDateOrder"
Oops, translation missing, will fix.
For rating polls maybe we should restrict the average to 2 decimals after the "." (e.g. for "XWiki Features" one of the answers is "Extensibility", which currently has an average of 3.3333333333333335; we could make this 3.33)
Good point. It was already done in some other places, now fixed there, too.
I think displaying the number of people that voted on a poll is a good idea. You can currently calculate the number by counting the names/the votes. However, if a poll has many voters this way of procuring the information might get difficult/inefficient.
+1, this information is useful.
Let's say an answer appears more than once in a single poll. Those answers (the same answer repeated) will be shown as a single entry in the graphic and the votes won't appear in the image (e.g. http://incubator.myxwiki.org/xwiki/bin/view/Polls/FavoriteJamesCameronmovie )
This is a problem inside the charting plugin, it's very hard to fix on our side.
If the option exceeds a certain number of characters only a limited number of characters will be displayed in the graphic (e.g. "camouflage green" becomes "camouf..." on FavoriteColor); Maybe we could display the option on a second line or make the graphic bigger? I am not altogether sure ab it though, since the problem would still exist for really big options.
Solution 1: rotate the label by 45° (I hope the chart macro supports this; JFreeChart surely does)
Solution 2: Assign IDs (A, B, C... or 1, 2, 3...) to the options and use these IDs in the table.
Wdyt?
I like Solution 1 best
Really nice, well done. Under chrome I get a vertical scrollbar on the right
Fixed.
If an user adds empty lines to a poll I think you shouldn't take them into account or you could return an error. E.g. I created a single choice poll leaving empty lines between the several options Mostproductivedayoftheweek
I thought I already did that... but apparently I missed something. Will check again, thanks.
Great app, and I really like it from the usability point of view.
I encountered one issue though: for the weighted polls, there are cases when I couldn't select a specific value e. g., I was able to slide to 49% or 51%, but not to 50%. (like in the Coffee time poll)
Possible ideas:
Will start by making the slider wider. Changing by keys is a great idea. What might also work is placing little arrows to the left and the right of the slider, with the effect of increasing/decreasing the value by 1.
In the end I implemented the increase/decrease arrows. Is this better?
Also, when the poll hasn't begun yet instead of the current "don't show the options" strategy, we could display an info stating that it's not active yet, and users could vote starting date/time X.
The info is there "This poll is not open yet. It will be available from 15 April 2010, 12:00 to 16 April 2010, 12:00."
I didn't even notice it!
Could it be better to emphasize more on that piece of information? Maybe bring it in an area with more focus e.g., where the options will reside upon poll activation?
Will do.
Would it be feasible/worth it to have an open answer possibility?
e. g., Other: |text input|
Feasible - yes. Worth - probably yes, if we we want a fully featured poll app. Contributions welcome
I'm not sure why this happens but in the tag list on this page:
Noticed this problem too, it's a bug in the livetable.
In the Poll table on the current page:
These must be livetable issues. I don't know yet what causes the first 2, but the "Launched by" column behaves like this because in fact the sorted values are the user names (e.g. xwiki:XWiki.marta, incubator:XWiki.SilviaRusu), which are different from the displayed values. Indeed this is confusing for an end user. Until the sorting on the displayed values can be efficiently done in the livetable, we should probably not make such columns sortable/filterable.
It works and looks very nice, but I think that for Multiple choice pools it does not calculate correctly the Percentage.
Where is the percentage computed incorrectly, in the results table? Can you give more details and/or an example of wrong calculation?
I think I see what you mean. That percentage is actually the percentage of voters who chose that option (not the percentage assigned to that option). Indeed, it does not sum up to 100% if some people chose more than one option, and this can be confusing. Maybe we should change the the label, to make it more clear.
Actually, there is room for improvement from several points of view in the results section. We should decide which is the relevant information to display there.
I thought that the Percentage for each choice will be : 100 / total_number_of_votes * votes_per_choice. For Single choice pools seems to work this way.
Yes, for single choice both formulas apply. For multiple, where people are allowed to select different numbers of choices, I see several ways of aggregating the results:
Numbers 1 and 3 both make sense and seem relevant for multiple choice, how about including them both in the results?
Ok, actually now I see that the current formula refers to the number of people who voted and not to the votes itself. If no other people got confused by the current solution as I was, I think this is the best solution. The question could be: What has more relevance: the number of votes or the number of voters?
No, I think you're perfectly right, it is very likely to be confusing. And your formula is relevant, I'll include it.