Modify

Opened 5 years ago

Last modified 2 years ago

#5582 new enhancement

Option to close poll (disable voting)

Reported by: anonymous Owned by: rjollos
Priority: normal Component: PollMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

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 (6)

comment:1 Changed 5 years ago by izzy

+1

comment:2 Changed 5 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 5 years ago by rjollos

  • Summary changed from closing poll when ready (disable voting) to Option to close poll (disable voting)

Nice ideas!

comment:4 Changed 4 years ago by rjollos

  • Owner changed from athomas to rjollos

Reassigning ticket to new maintainer.

comment:5 Changed 2 years ago by Christer

Is anyone working on this?

comment:6 Changed 2 years ago by rjollos

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.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.