Closed Bug 1173175 Opened 9 years ago Closed 9 years ago

"Cast your vote" action items should consider "voted" status

Categories

(Mozilla Reps Graveyard :: reps.mozilla.org, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mkohler, Assigned: tasos)

Details

(Whiteboard: [kb=1772163] [qa-])

Currently I have an action item regarding "Cast your vote" for a Budget Request even though I have already voted on it. Since the Portal can also detect that I have already voted, it probably could also remove those action items from my dashboard.

Example: https://reps.mozilla.org/v/budget-request-jefferson-duran-https-reps-mozilla-org-e-encuentro-de-activistas-digitales-de-lenguas-indigenas-bogota/
Assignee: nobody → tasos
Group: mozilla-reps-admins
Status: NEW → ASSIGNED
Whiteboard: [kb=1772163]
A celery task is assigned to run every 4 hours in order to create action items for every available poll, if there aren't any. The problem here is that we didn't check if a user had already voted in the meantime. @mkohler: Nice catch!

A new pr opened here:
https://github.com/mozilla/remo/pull/1047
Commits pushed to master at https://github.com/mozilla/remo

https://github.com/mozilla/remo/commit/f44a27eec1ebc390f88d0eedca5157c4d21ea2a3
[fix bug 1173175] Do not assign action items to people who already voted.

https://github.com/mozilla/remo/commit/7b32aec303c6d193250eb574e08df011ce8f4459
Merge pull request #1047 from akatsoulas/1173175-voted-action-items

[fix bug 1173175] Do not assign action items to people who already vo…
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Version: unspecified → next
Status: RESOLVED → VERIFIED
Whiteboard: [kb=1772163] → [kb=1772163] [qa-]
Version: next → 470
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in before you can comment on or make changes to this bug.