EXPERIMENTAL AND UNDER CONSTRUCTION

To test, see TweetOnSavePlugin.

Plugin rating application

This topic defines the code that shows the rating on the extension topic, as well as provides the twisty with the rate form and overview of reviews.

Usage:

%INCLUDE{"PluginRating" EXTENSIONTOPIC="%TOPIC%"}%

The template ReviewViewTemplate is used to include this topic in all extension topics.

Code

User rating

%RATING{"0" size="5"}%

Discussion

Whole integer quantities of stars is much to coarse.

I want to be able to vote in 1/3 increments!!!

-- PaulHarvey

its sooooo pretty

-- SvenDowideit

Add more stars to increase the granularity of the vote.

-- CrawfordCurrie

You don't need small increments for voting, only for displaying (half stars, stratified results as with Amazon)

  • Amazon_stratified.png:
    Amazon stratified.png

-- ArthurClemens

All good suggestions, i'm currently aiming at getting this integrated into the extension repository and then we can look at making it prettier with stratified display and using half starts etc in the average rating display.

-- KoenMartens

I'm using ChecklistPlugin. It stores the data in a table in different topic. Maybe similar logic could be use for this purpose. Meaning save all star amounts (0, 1, 2, 3, 4, 5) and comments into table in external topic. This external topic also keeps the history of changes.

-- PetrMatejka

UX

Koen asked me to give feedback. I have done this by creating a wireframe of the (I think) desired interaction. I have not included the stratified display of ratings.

PluginRating.png

PDF is also attached

-- ArthurClemens - 23 Nov 2009

From mailing list:

On Mon, Nov 23, 2009 at 08:00:32PM -0300, Gilmar Santos Jr wrote:
'> The rating mechanism is very important to guide plugins optimization. Thanks
'> for the initiative Koen! I agree with Raymond about number of downloads and
'> (more relevant) number of active installs.. but how to get the number of
'> active installs?

We could do something like eg debian does with packages and some other systems do with plugins: an optional 'call-home' feature. Eg, in configure you can enable 'send details about installed plugins to foswiki.org' (needs to be disabled by default of course, we don't want to force this on users). The number of downloads detected done by the configure script can also act as an estimate.

An estimate is the best we will ever be able to do if you ask me..

Ps: if you want, please add these comments to the PluginRating topic..

Gr,

Koen

-- GilmarSantosJr - 24 Nov 2009
Topic attachments
I Attachment Action Size Date Who Comment
Amazon_stratified.pngpng Amazon_stratified.png manage 184 K 23 Nov 2009 - 13:04 ArthurClemens  
PluginRating.pdfpdf PluginRating.pdf manage 168 K 23 Nov 2009 - 22:19 ArthurClemens  
PluginRating.pngpng PluginRating.png manage 225 K 23 Nov 2009 - 22:17 ArthurClemens  
Topic revision: r13 - 26 Nov 2009, KoenMartens - This page was cached on 10 Jan 2018 - 23:09.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License