Enable users to filter their polls by status (e.g., Open, Closed, Draft) on the dashboard. Filters should dynamically update the displayed list without requiring a page refresh.
Acceptance Criteria:
Add filter buttons or dropdown (e.g., All, Open, Closed, Draft,participated)
Filter logic updates the poll list in real time
Works in combination with search (if present)
Default view shows all polls
Notes:
If status is not already available on each poll object, confirm it's included in the backend response from /api/polls/user
Enable users to filter their polls by status (e.g., Open, Closed, Draft) on the dashboard. Filters should dynamically update the displayed list without requiring a page refresh.
Acceptance Criteria:
Add filter buttons or dropdown (e.g., All, Open, Closed, Draft,participated)
Filter logic updates the poll list in real time
Works in combination with search (if present)
Default view shows all polls
Notes:
If status is not already available on each poll object, confirm it's included in the backend response from /api/polls/user