Skip to content

Integrate new backend with frontend#572

Merged
KavikaPalletenne merged 88 commits intoCHAOS-224-KHAOS-rewritefrom
CHAOS-571-integrate-be-fe
Jan 14, 2026
Merged

Integrate new backend with frontend#572
KavikaPalletenne merged 88 commits intoCHAOS-224-KHAOS-rewritefrom
CHAOS-571-integrate-be-fe

Conversation

@KavikaPalletenne
Copy link
Contributor

Makes frontend work with new api

Closes #571

@KavikaPalletenne KavikaPalletenne self-assigned this Aug 13, 2025
@KavikaPalletenne KavikaPalletenne added A: Frontend Frontend related issues A: Backend Backend related issues labels Aug 13, 2025
RyanTan182 and others added 6 commits December 11, 2025 01:16
* 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
* temporarily override styles with classname in inputpopup component for adding members, colors were weird

* before shad cning table

* chopped ahh table

* change to use lucide icons

* shadcn dialog

* add dropdown menu component

* backend funcs

* scuffed ahh linking to frontend

* link be + fe(frontend slightly chopped)

* frontend styling changes

* frontend styling changes

* switched from using email to using user_ids

* allowed superusers to view the table and add members, thus had to enforce that only org admins can edit and delete users.
@KavikaPalletenne KavikaPalletenne force-pushed the CHAOS-571-integrate-be-fe branch from 350ebd2 to 5e20dbe Compare December 10, 2025 14:17
KavikaPalletenne and others added 15 commits December 12, 2025 02:27
* 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 KavikaPalletenne marked this pull request as ready for review January 14, 2026 11:27
@KavikaPalletenne KavikaPalletenne added this to the Backend Rewrite milestone Jan 14, 2026
@KavikaPalletenne KavikaPalletenne merged commit df42929 into CHAOS-224-KHAOS-rewrite Jan 14, 2026
5 checks passed
@KavikaPalletenne KavikaPalletenne deleted the CHAOS-571-integrate-be-fe branch January 14, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A: Backend Backend related issues A: Frontend Frontend related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants