-
Notifications
You must be signed in to change notification settings - Fork 8
New Next.js Frontend #609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
KavikaPalletenne
wants to merge
31
commits into
CHAOS-571-integrate-be-fe
Choose a base branch
from
CHAOS-598-nextjs
base: CHAOS-571-integrate-be-fe
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
New Next.js Frontend #609
Conversation
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
Contributor
KavikaPalletenne
commented
Dec 3, 2025
- 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`
6924c3e to
03e7853
Compare
fetch user organisations for sidebar handle organisation change on dashboard
03e7853 to
c66765a
Compare
add data table to display campaigns
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
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>
ecd2714 to
2e84503
Compare
Contributor
Author
|
Squashed several commits into simpler feature-based commits |
Contributor
Author
|
Merge commit this |
350ebd2 to
5e20dbe
Compare
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.