Skip to content

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
Azhad Haziq Kamarul Zaman and others added 19 commits October 6, 2025 22:34
* feat(frontend): implement question type components (#540)

- Add five question component types: ShortAnswer, Dropdown, MultiChoice, MultiSelect, and Ranking
- Create test route for component demonstration
- Modify ApplicationForm to handle different question types
- Update typing for question data structure

* fix(): use React DnD for ranking options

* fix(dropdown): add borderline, improve hover effects, and highlight selected options

- Added prominent border for dropdown box
- Implemented light blue hover effect for options
- Added conditional highlighting for selected options with checkmark

* fix(shortanswer): enlarge textarea to span 77 columns and 3 rows

- Increased width of textarea using cols attribute
- Set default height to 3 rows
- Improved visual presentation of text input area

* chore(deps): update yarn.lock with automatic modifications

- Reflect dependency resolution changes from recent package updates

* feat(shortAnswer): enhance textarea focus visibility and border styling

* refactor: update question components structure and remove unneccsary input files in each component's directory

* setup shadcn components

* Feat/shad cn UI question components (#559)

* refactor: replace MultipleChoice twin.macro with ShadCN UI components

* refactor: replace MultiSelect React Component with ShadCN UI components

* fix dropdown component

* refactor multiple choice

* refactor short answers

* refactor testing route for question components

* update yarn.lock

* Chaos 551 feature/interview-booking-component (#565)

* feat: interview page for user and admin. User still has css issues.

* feat: fix the calendar css isue, still persist

* feat: add DayPilot library for enhanced calendar functionality and improve code formatting in admin and user booking components

---------

Co-authored-by: Peter Nguyen <z5662723@ad.unsw.edu.au>

* feat: Implement application review page for recruitment form (#563)

* feat: create new page for application review with static path

* feat: fix route to include campaign_id not static id and provide fallback if campaign ID not provided and fix ranking component with a default value check to make sure defaultValue is not  undefined, null

* fix: add dynamic width support to Dropdown, Ranking, and ShortAnswer components; remove display=flex from Box in App.tsx

- Enabled dynamic width prop on Dropdown, Ranking, and ShortAnswer for better layout flexibility
- Removed  from Box in App.tsx to fix children layout issues

* fix: add more details for fallback campaign

* fix: make API call as written in this PR https://github.com/devsoc-unsw/chaos/pull/562/files and keep current fallback

* feat: add explanation for pages/application_review/index.tsx at the top

* fix: modify explanation in URL patterns and remove unused import

---------

Co-authored-by: gyoumi <87557702+Gyoumi@users.noreply.github.com>

* commiting lock file

* email page initialisation

* Made email template functional and fixed obvious flaws (Duplicate text truncating, button misalignment, overflowing)

* Finished email templates and editor page

* fixed accidental dupe line while merging

* edited according to isaacs recommendations

* Fixed left leaning issue

* Split email-templates into smaller components

* removed redundant lock files

* added yarn install lock (latest)

* deleted useless files on root dir

---------

Co-authored-by: Thao Minh Le <118033201+minhle35@users.noreply.github.com>
Co-authored-by: Isaac Kim <isaackim1412@gmail.com>
Co-authored-by: Peter N <116279468+peternuyn@users.noreply.github.com>
Co-authored-by: Peter Nguyen <z5662723@ad.unsw.edu.au>
Co-authored-by: gyoumi <87557702+Gyoumi@users.noreply.github.com>
migrated to bun

migrated to bun
* 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
* 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
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.

9 participants