Skip to content

Make time of voting activity available #3760

Open
@Bibo-Joshi

Description

⚠️ This issue respects the following points: ⚠️

Describe the goal you'd like to achieve

As a poll owner, I want to be able to know when a user voted, because it helps me updating prelimenary plans that I have made based on the votes before the polls end date.

Describe possible solutions

Whenever a user votes for the first time or changes their vote, store the current unix timestamp. Add it to the response of the /api/v1.0/poll/{pollId}/votes endpoint.

Additional context

Since for these tasks I usually query the data via the API rather than the GUI, it suffice for me to have this info available via the API. Showing the timestamps in the GUI could be an addition later on.
Moreover, I don't need the history of all voting changes the user made, just the timestamp of the last activity.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions