Commit 4fbe202
Email templates (purely frontend) (#579)
* 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>1 parent c1a27b1 commit 4fbe202
File tree
11 files changed
+1019
-5
lines changed- frontend/src
- components/ui
- pages/admin/email_templates
- components
- EmailTemplateCard
- EmailTemplateFilters
- EmailTemplateForm
- EmailTemplateReview
- EmailTemplateStats
- VariableButtons
11 files changed
+1019
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
Lines changed: 135 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
Lines changed: 73 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
0 commit comments