Commit Graph

2135 Commits

Author SHA1 Message Date
David Ernst
153ad8f28a Remove @mui/styles and emotion deps 2024-03-13 17:16:41 -07:00
David Ernst
d646e2daef Upgrade material ui 4 -> 5 2024-03-13 16:50:12 -07:00
David Ernst
7732893cc7 npx @mui/codemod@latest v5.0.0/preset-safe src/ 2024-03-13 16:32:43 -07:00
David Ernst
6f267323b1 Export calcMaxBursts to squelch unused warning 2024-03-13 15:43:48 -07:00
David Ernst
805fa3a9f0 Rename package.json name to siv-web 2024-03-13 15:42:38 -07:00
David Ernst
b8f10d9856 Upgrade react-flip-move to 3.0.5 to fix react typing error (missing children prop) 2024-03-13 15:34:17 -07:00
David Ernst
6cb75fb10f .gitignore .tsbuildinfo 2024-03-13 15:33:44 -07:00
David Ernst
4d226bab9d Fix api/trustees/update :election_id typing 2024-03-13 15:25:15 -07:00
David Ernst
0aaf5f9682 TS changes auto made by next 12 2024-03-13 15:20:07 -07:00
David Ernst
92f78921da Upgrade next 11 -> 12 2024-03-13 15:17:43 -07:00
David Ernst
35f4ea9f76 Empty commit to retrigger build 2024-03-13 14:53:17 -07:00
David Ernst
a374004187 submitted: Fix UnlockedVote for Approval questions 2024-01-25 15:26:26 -08:00
David Ernst
835b0ef6e1 vote: Make sure write_in_allowed can be cast to a number 2024-01-25 15:22:00 -08:00
David Ernst
342486172e Merge pull request #134 from dsernst/approval
Add 'Approval' Voting as an explicit ballot type option
2024-01-25 14:15:48 -08:00
David Ernst
c4fdcf4b62 vote: RCV should never allow more rankings than options 2024-01-25 14:09:44 -08:00
David Ernst
d617065960 vote: Cleanup ballot-type switching logic 2024-01-25 14:05:29 -08:00
David Ernst
4a38fdb4ef Add 'Approval' Voting as an explicit option 2024-01-25 13:55:30 -08:00
David Ernst
624c7b4820 Merge pull request #130 from dsernst/ranked-choice-ui
[WIP] Ranked Choice Voting front-end
2024-01-22 03:50:53 -08:00
David Ernst
a611138374 Voting type selector should offer Multiple Votes Allowed 2024-01-22 03:27:32 -08:00
David Ernst
b9bec986f4 Merge branch 'main' into ranked-choice-ui 2024-01-22 00:33:57 -08:00
David Ernst
1bcce765cb headerbar: book.siv.org -> docs.siv.org 2023-12-09 01:43:10 -08:00
David Ernst
9d6a50f82d Merge pull request #132 from dsernst/update-react
Update react dependency
2023-11-28 15:10:40 -08:00
David Ernst
befa856227 Empty commit (to retrigger build) 2023-11-28 14:50:31 -08:00
Ariana Ivan
102361c228 Fix type error displaying RistrettoPoints in ZKPs 2023-11-28 14:32:50 -08:00
Ariana Ivan
a5771274e3 Upgrade react to 18 2023-11-28 14:29:49 -08:00
David Ernst
f40f3a0ecf Make demo vid accessible on /demo (not just /demo-wla) 2023-10-10 21:15:35 -07:00
David Ernst
9018a7d1dd results: Show warning that SIV does not support IRV tallying yet 2023-07-18 20:48:53 -07:00
David Ernst
de38ebb4fc results: <DecryptedVotes /> respect type: 'ranked-choice-irv' 2023-07-18 20:31:52 -07:00
David Ernst
7318e37e1d results: <AcceptedVotes /> respect type: 'ranked-choice-irv' 2023-07-18 20:30:02 -07:00
David Ernst
bbcfaf0fd5 /vote submitted: respect type: 'ranked-choice-irv' in Unlocked & Encrypted widgets 2023-07-18 20:23:36 -07:00
David Ernst
9f13c87508 Convert <UnlockedVote /> to tailwind 2023-07-18 20:19:24 -07:00
David Ernst
c90d876315 vote: shouldn't BLANK-fill-in an RCV ballot item without any ranking number 2023-07-14 11:50:21 -07:00
David Ernst
a53b7e92e0 ranked vote: Minor styling tweaks 2023-07-14 01:49:16 -07:00
David Ernst
cb56ebc253 ranked vote: Use <table> for more consistent alignment 2023-07-14 01:09:06 -07:00
David Ernst
83538522c9 vote: Basic working Ranked Choice Voting UI 2023-07-14 00:53:55 -07:00
David Ernst
5c156cab30 admin: Hide useless 'Menu' button from Dashboard 2023-07-13 22:53:00 -07:00
David Ernst
57dc556b43 admin: Sync #main-content top offset to dynamic headerbar height 2023-07-13 22:45:58 -07:00
David Ernst
68e7d32b29 admin/Headerbar: Refactor, tailwind, remove 500px breakpoint, remove arrow 2023-07-13 22:19:02 -07:00
David Ernst
9b57305f67 Merge branch 'main' into ranked-choice-ui 2023-07-13 21:20:58 -07:00
David Ernst
40f4ffde6d Remove old unused admin/Overview code 2023-07-13 21:19:30 -07:00
David Ernst
34d3a4c86c admin/headerbar: Bit more spacing above election id 2023-07-13 20:39:26 -07:00
David Ernst
47087b18a0 admin/headerbar: Begin converting to tailwind 2023-07-13 20:35:00 -07:00
David Ernst
1f30b2d53d admin/ballot wizard: Respect stored question type on first load 2023-07-13 20:25:29 -07:00
David Ernst
68dfc9262c admin/ballot: Restore stored ballot design on hard refresh 2023-07-13 20:23:33 -07:00
David Ernst
e401dc27aa Set "type": "choose-only-one" in default ballot schema 2023-07-13 20:12:14 -07:00
David Ernst
0efa934233 Ballot Design Wizard: Dropdown to switch to RCV 2023-07-13 20:06:31 -07:00
David Ernst
6f8160b6a1 admin/BallotDesign/Wizard: Convert to tailwind 2023-07-13 18:44:42 -07:00
David Ernst
019d18a81e ballot_design Wizard: Remove old WIP comment 2023-07-13 17:55:10 -07:00
David Ernst
77b4d2a4c7 check_for_ballot_errors: Clearer de-duplicating variable name 2023-07-13 17:41:30 -07:00
David Ernst
a3bb551940 GET /num-accepted-votes: Subtract invalidated vote count from num_votes 2023-07-13 17:10:27 -07:00