-
Notifications
You must be signed in to change notification settings - Fork 8
Integrate new backend with frontend #572
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
46
commits into
CHAOS-224-KHAOS-rewrite
Choose a base branch
from
CHAOS-571-integrate-be-fe
base: CHAOS-224-KHAOS-rewrite
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
Integrate new backend with frontend #572
KavikaPalletenne
wants to merge
46
commits into
CHAOS-224-KHAOS-rewrite
from
CHAOS-571-integrate-be-fe
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
* add Blocknote and Tiptap dependencies to package.json * Add QuestionEditor component with multiple question types and slash menu integration * Document CreateQuestion page with usage example for QuestionEditor component * Update QuestionEditor components to use Shadcn UI Select and improve option handling --------- Co-authored-by: Peter Nguyen <z5662723@ad.unsw.edu.au>
* 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
Co-authored-by: Regan <z5487348@ad.unsw.edu.au>
* 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.
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.
Makes frontend work with new api
Closes #571