Modify

Opened 8 years ago

Last modified 4 months ago

#5582 new enhancement

Option to close poll (disable voting)

Reported by: anonymous Owned by: Ryan J Ollos
Priority: normal Component: PollMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

Voting is great but I missed possibility to close polls.

My idea is to add additional parameter "DISABLE" (or anyhow):

[[Poll(Some question?; Yes; No; DISABLE)]]

which causes the "Vote" button is not active (or even disappears). So when comes deadline of voting I will edit existing pool macro, add this parameter so pool will be presented with inactive voting button from now.

Could you extend your stuff with this feature?

Attachments (0)

Change History (7)

comment:1 Changed 8 years ago by izzy

+1

comment:2 Changed 8 years ago by izzy

Errm... sorry for the second reply. Another idea concerning "when poll is ready" would be to tell it how long it should last, e.g. [[Poll(Really?;Yes;No;end=2009-12-24)]]. This way it wouldn't even be necessary to edit the poll again.

If there's more to invest in this issue: [[Poll(Really?;Yes;No;end(mode=val))]], where the mode=val pair could be something like...

  • date=2009-12-24 (on this date)
  • votes=100 (after the 100st vote)
  • voter=izzy (as soon as we got Izzys vote)
  • vote=No (until somebody voted "No")
  • ticketclose=24 (on close of #24)
  • milestone=name (on completion of milestone)
  • rev=1224 (on commit of r1224)

OK, admitted: the last example may be a joke. But the others would be quite useful.

comment:3 Changed 8 years ago by Ryan J Ollos

Summary: closing poll when ready (disable voting)Option to close poll (disable voting)

Nice ideas!

comment:4 Changed 7 years ago by Ryan J Ollos

Owner: changed from Alec Thomas to Ryan J Ollos

Reassigning ticket to new maintainer.

comment:5 Changed 5 years ago by Christer

Is anyone working on this?

comment:6 Changed 5 years ago by Ryan J Ollos

I haven't had time lately to work on this plugin, but I'll gladly accept a patch. You may want to take a look at EasyPollMacro, which appears to be maintained.

comment:7 Changed 4 months ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Ryan J Ollos.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.