Skip to content

Dev - #122

Merged
BigSpaceships merged 11 commits into
mainfrom
dev
Oct 3, 2026
Merged

Dev#122
BigSpaceships merged 11 commits into
mainfrom
dev

Conversation

@BigSpaceships

Copy link
Copy Markdown
Contributor

What

Fix spelling, count reporting on results, limit poll title length, fix eligible vote counts, add option to hide votes from people who are ineligible to vote

Why

Dev

Test Plan

look at dev read the code idk

Env Vars

.env.example was created, but nothing was changed

Documentation

Yes .env files was documented

Checklist

  • Tested all changes locally

pikachu0542 and others added 10 commits April 8, 2026 11:31
* Changed all status codes to the http.StatusCode equivalent. Also changed some 500s to 400s where appropriate to indicate user error (#85)

* Started working on navbar

* More progress

* working theme selector

* Eboard vote link appears on all pages

* Started working on navbar

* More progress

* working theme selector

* Rebase with dev

* Finished rebasing with dev

* Added favicon import

* Misc other stuff, navbar is responsive now

* larger nav title

* Quorum text input, create page basically done

* Finished poll creation page

* Ranked choice poll page is done

* Actually use the hidden template

* changed icon

* Fixed vote count on eboard votes

* Added display of total votes submitted to results

* small fixes

* fixed spacing between buttons for eboard vote on mobile

* poll title wrapping in a different place

* Changed underline to bold

* Capitalize description placeholder text

---------

Co-authored-by: Noah Hanford <bigspaceships56@gmail.com>
* Fixed count of votes cast

* Misc fixes
* Limited poll title character length to 250

* Added backend validation for poll title length

---------

Co-authored-by: Joseph Rosso <jdr1652@rit.edu>
* feat: update running env stuff

* fix: empty username in the eligible voters
* feat: add ability hide votes if you cannot vote

* fix: better for loop
Comment thread api.go
return
}

// If title length exceeds 250 characters, return a bad request

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this error is impossible because of the max length placeholder, no?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

you could make an API request to do it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

mmmm you're so w comms

@csh-sonarqube-community

Copy link
Copy Markdown

Failed Quality Gate failed

  • 0.00% Coverage on New Code (is less than 80.00%)

Project ID: ComputerScienceHouse_vote_c5ba863d-30d7-4fa9-97dd-4f2c58f8f5fa

View in SonarQube

@costowell costowell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

huge

@shaeespring shaeespring left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You're so hot

@BigSpaceships
BigSpaceships merged commit 48fc0af into main Oct 3, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants