New Next.js Frontend - #609
Merged
Merged
Conversation
KavikaPalletenne
commented
Dec 3, 2025
Contributor
- Rewrite frontend in Next.js
* added button(non-functional) yipee * redirect into create campaign form * Got campaign creation working, banner giving problems though * Added Method::PATCH * removed unnecessary api call and cleaned up some code I wrote * bun migration on this branch * replaced all mentions of yarn with bun * conflict fix * fix `create_campaign` handler * dev user login instructions * rename route for campaign create page * remove campaign plus button --------- Co-authored-by: Jared <jaredlucasschulz@gmail.com>
* feat: added published flag to campaign * add `published` flag to every Campaign struct --------- Co-authored-by: Alex_Miao_WSL <yuan_sen.miao@student.unsw.edu.au>
* feat: added published flag to campaign * feat: implemented DevToolBar --------- Co-authored-by: Alex_Miao_WSL <yuan_sen.miao@student.unsw.edu.au>
Add documentation for new `Organisation::get_by_admin()` function
Allow application owner, and members of organisation to read application attributes & questions
* Almost done, now just touching abit on UI, and cleaning codebase * fixed codebase and implemented the delete button * fixed submitting error for mcq, and also added edit button lockout * fixed the ranking block edit buttion issue, also cleaned up codebase
* Almost done, now just touching abit on UI, and cleaning codebase * fixed codebase and implemented the delete button * fixed submitting error for mcq, and also added edit button lockout * fixed the ranking block edit buttion issue, also cleaned up codebase * fixed migration
initial nextjs setup rename "Resume Application" -> "Continue Application" update frontend-nextjs/.gitignore Update bun.lock setup server-side auth functions basic sidebar setup i18n add common terms to dictionaries remove unused backend imports run rust build workflow on pulls to `CHAOS-571-integrate-be-fe`
KavikaPalletenne
force-pushed
the
CHAOS-598-nextjs
branch
from
December 10, 2025 14:04
6924c3e to
03e7853
Compare
fetch user organisations for sidebar handle organisation change on dashboard
KavikaPalletenne
force-pushed
the
CHAOS-598-nextjs
branch
from
December 10, 2025 14:05
03e7853 to
c66765a
Compare
add data table to display campaigns
KavikaPalletenne
force-pushed
the
CHAOS-598-nextjs
branch
from
December 10, 2025 14:07
c66765a to
f21cac8
Compare
application review setup campaign details rearrange application review scaffold move application models application review component basics get, set and update application rating add `chaos.png`
* initial devcontainer setup * basic email template get, update and delete * template creation ui * remove error printing * convert all plain text responses to `AppMessage` * fix email template card margins * wrap `params` prop type with `Promise<>` * actions workflows for nextjs * add @radix-ui/react-alert-dialog * add @radix-ui/react-tabs * only run workflows when relevant paths modified
KavikaPalletenne
force-pushed
the
CHAOS-598-nextjs
branch
from
December 10, 2025 14:08
f21cac8 to
ecd2714
Compare
Update .gitignore
Co-authored-by: Alex_Miao_WSL <yuan_sen.miao@student.unsw.edu.au>
* campgaign details can be edited now * removed unused state * add new `*_MAX_*` env variables to rust workflow * run rust workflow on pulls to `CHAOS-598-nextjs` branch * reduce database seeding role desc length * increase `ROLE_DESCRIPTION_MAX_CHARS` in workflow * fix seeder imports & errors * check in Cargo.lock * fix lucide icon imports * change `Promise<void>` returns to `Promise<AppMessage>` --------- Co-authored-by: Kavika <kavika.palletenne@devsoc.app>
* left required image upload and chopped frontend design to fix * fixed required image upload, and fixed abit of frontend, creating pr * add slug to new campaign form * don't force proper slug on manual edit * add indexes to join columns * fix duplicate index on `ranking_answer_rankings` table * remove `UNIQUE` on join column indexes * add required `UNIQUE` constraints * fix seeding application users --------- Co-authored-by: Kavika <kavika.palletenne@devsoc.app>
* Added fields to campaign and organisation * add dev email as admin in seeding script * Create build-seeding-binaries.yml * create db before building seeding binaries * Delete build-seeding-binaries.yml * update database-seeding run with `--email` arg * Created client facing campaign details page * Updated campaign rolls endpoint to accept campaign_id as a number for proper fetching of roles per campaign * campaign details ssr & translations * fe campaign type fixes * Update Cargo.lock * fix changing RoleDetails id type to number * Changed 'slate' colouring to 'gray' and removed dark mode tailwind support --------- Co-authored-by: Kavika <kavika.palletenne@devsoc.app> Co-authored-by: Christian <199553279+drboom16@users.noreply.github.com>
KavikaPalletenne
force-pushed
the
CHAOS-598-nextjs
branch
from
December 10, 2025 14:09
ecd2714 to
2e84503
Compare
Contributor
Author
|
Squashed several commits into simpler feature-based commits |
Contributor
Author
|
Merge commit this |
KavikaPalletenne
force-pushed
the
CHAOS-571-integrate-be-fe
branch
from
December 10, 2025 14:17
350ebd2 to
5e20dbe
Compare
* Created functionality for uploading and deleting multiple selected attachments for a campaign * restore deleted workflow, readme & git files * restore newline * campaign attachments storage fixes ---------
* feat: implement backend route for getting all average users rating per application * fix: remove uneeded file * feat: Update the extraction logic for backend and fronend * feat: adding button for average page from campaign * feat: implement the front end and backend testing update * feat: moving the filter the right most table position * feat: fixing the calculation on frontend and update backend extraction * feat: updating the looks on the front end so that individual review looks like one row when expands * fix: recover deleted package-lock.json * feat: update to use dic for future easy usage (new features) * Delete frontend/env.development * fix seeder org admin overwrite * application ratings model fixes * update seeder ratings to 1-10 * new application summary page * update dependencies * update nextjs * new `CampaignOrgMember` authZ guard * fix lucide `BarChart` icon import * rollback `react-resizable-panels` --------- Co-authored-by: Kavika <kavika.palletenne@devsoc.app>
* basic questions editing ui basic questions editing ui basic option editing functionality * frontend question crud setup * question update and persist * add new questions * delete questions * add existing questions
* initial nextjs setup * rename "Resume Application" -> "Continue Application" * update frontend-nextjs/.gitignore * Update bun.lock * setup server-side auth functions * basic sidebar * setup i18n * add common terms to dictionaries * remove unused backend imports * run rust build workflow on pulls to `CHAOS-571-integrate-be-fe` * react query auth setup * fetch user organisations for sidebar * handle organisation change on dashboard * setup basic dashboard campaigns page * add data table to display campaigns * dashboard campaign details page * application review setup * campaign details rearrange * application review scaffold * move application models * application review component basics * get, set and update application rating * fix setting & updating application rating * add `chaos.png` * add buttons for publish & edit campaign questions * Email templates UI (#608) * initial devcontainer setup * basic email template get, update and delete * template creation ui * remove error printing * convert all plain text responses to `AppMessage` * fix email template card margins * wrap `params` prop type with `Promise<>` * actions workflows for nextjs * add @radix-ui/react-alert-dialog * add @radix-ui/react-tabs * only run workflows when relevant paths modified * Update .gitignore * Update .gitignore * chopped drag and drop * drag and drop less chopped * less chopped drag and drop * role tabs * textbox * refactor roleselector and switch to globals * save role selection and fix frontend 404 * cleanups * fix ranking(bit of vibe) * fix role ordering * run migration * fix: make applicationanswer keep track of qanda states * feat: refactor to prefetch answers * feat: display questions inside card * card submit * fix: asterisk on required * fix: get card to deactivate * fix: shared answers now update in card * feat: guard submitted applications from accessing the apply screen * fix: do a pass to clean up some code * feat: use dict across component * fix: dropwdown clear works without bricking the backend on fetch, now need to refactor shortanswer and multiselect to simply delete answer * style: fix no answer message * feat: refactor empty question types to use delete answer * fix: fix a few breaking changes caused by swapping over and in general * fix: fix question type logic which broke when swapping over to the delete logic * fix: bug fixes * fix: role reordering behaviour * fix: fix inconsistent redirect behaviour * chore: regenerate bun thing * merge: more merges + bug fixes * feat: link answerpage component to campaign info component * fix: wait for queries to be ready before repopulating qamap, (hopefully) avoiding races between updating shared questions and reviewcard * chore: remove node_modules * fix: cleanup file * fix: stringify answers in application review page
* feat: new deployment prep branch, more up to date changes side-stepping merge conflicts hopefully * feat: made seeder and bun.lock up to date with laest changes * restructure deployment seeding * fix seeder `server::*` imports * styling and unneeded file removal * deploy workflow fixes * add `CHAOS_SUPER_USER_EMAIL` to test .env --------- Co-authored-by: Kavika <kbpalletenne@gmail.com>
KavikaPalletenne
marked this pull request as ready for review
January 14, 2026 11:24
Plebbaroni
approved these changes
Jan 14, 2026
gyoumi
approved these changes
Jan 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.