Números absolutos nas pesquisas

Heyah,

I remember there was a great topic once explaining the usage of the poll-plugin, but even after searching the forum for 15min I can find it (found a reference to it, that leads to a 404 though). So in case that is already implemented, please let me know how to activate it and move this out of this section :wink: .


Love the polls. We are using it internally to gauge interest and make participation easier. It also acts as a replacement for doodle. One thing we are using it for is to easily pre-organise events, for e.g. asking who’s gonna come and what food they want (and having emoji in it, makes it awesome):

However, the “relative” counts are really irrelevant in this case for us. So when looking at the results, to figure out how much pizza/sushi to order, I have to make the reverse calculation. It’d be great, if I could configure the poll to use absolute instead of relative numbers on a case-to-case-basis.

6 curtidas

At a minimum we would be fine with a PR that add a “title” attribute to .percentage that describes how many votes total there are.

Maybe also a “hint” to work in “total” mode, but that is up to @codinghorror to decide.

4 curtidas

I think adding a “results” attribute which defaults to “percentage” but can also be set to “total” shouldn’t be that hard. Most of the work is done client-side anyway.

1 curtida

Would a PR doing that be accepted?

1 curtida

Of course it would be :wink:

1 curtida

Acabamos de precisar disso em uma votação com mais de 100 pessoas, onde precisávamos dos números reais e não percebíamos que isso era um problema. Se isso for renderizado na nuvem, alguém poderia me indicar onde isso é feito no código para que eu possa tentar dar uma olhada?

Se você tiver o plugin Data Explorer instalado, pode usar uma consulta fornecida em /admin/plugins/explorer?id=-16 para obter os resultados completos.

1 curtida

Entendi corretamente que este recurso ainda não foi implementado?

Se sim, solicitaria uma cotação no Marketplace para procurar opções de financiamento.

Qual seria uma opção de enquete adequada?

  • [poll absolute]
  • [poll absolute=true]
  • algo diferente …
0 voters

A documentação atual é

1 curtida

Estou criando um PR para fazer esta melhoria:

5 curtidas

Eu deixei um recado :sweat_smile:

1 curtida

Esta funcionalidade foi mesclada :slightly_smiling_face:

7 curtidas

Obrigado por adiar um pouco para acomodar minhas mudanças :hugs:

1 curtida

Este tópico foi automaticamente fechado após 47 horas. Novas respostas não são mais permitidas.