Skip to content

Move closed polls to separate page#75

Merged
pikachu0542 merged 6 commits intodevfrom
closed-polls-tab
Feb 17, 2026
Merged

Move closed polls to separate page#75
pikachu0542 merged 6 commits intodevfrom
closed-polls-tab

Conversation

@pikachu0542
Copy link
Member

What

Moved closed polls list to a separate page, and adds 2 links to the navbar:

  1. Link to the poll creation page
  2. Link to the closed polls page

Also made a new template for the navbar to reduce duplicated code.

Why

Having closed polls on a separate page makes it easier to access since you dont have to scroll past all the open polls.

Test Plan

  • Ensure that all open polls are still shown on the home page
  • Ensure the navbar has links to the poll creation and closed polls pages
    • Ensure the links on the navbar work properly
  • Ensure all closed polls are shown on the closed polls page (not on the main page)

Env Vars

whats an env? (no)

Checklist

  • Tested all changes locally

@pikachu0542 pikachu0542 self-assigned this Feb 15, 2026
@pikachu0542 pikachu0542 added enhancement New feature or request go Pull requests that update go code labels Feb 15, 2026
@pikachu0542 pikachu0542 changed the base branch from main to dev February 15, 2026 23:14
@pikachu0542 pikachu0542 linked an issue Feb 15, 2026 that may be closed by this pull request
Copy link
Contributor

@BigSpaceships BigSpaceships left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is such a nitpick everything else looks great and W fixing things I say on slack, if you wanna dismiss the review and ignore the formatting stuff it could be another pr because it's probably not great in other places

but otherwise lgtm

Copy link
Contributor

@BigSpaceships BigSpaceships left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@pikachu0542 pikachu0542 merged commit ccd3830 into dev Feb 17, 2026
1 check passed
@pikachu0542 pikachu0542 deleted the closed-polls-tab branch February 17, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Separate "Closed Polls" section into new tab

2 participants