Commit 2c58dc0
authored
Application answering page (#640)
* 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 page1 parent 12b702f commit 2c58dc0
File tree
41 files changed
+7085
-163
lines changed- backend
- migrations
- server/src
- handler
- models
- frontend-nextjs
- src
- app/[lang]
- campaign
- [orgSlug]/[campaignSlug]
- apply/[campaignId]
- application/[applicationId]
- finish
- dashboard/organisation/[orgId]
- campaigns/[campaignId]/review
- components
- applicationanswer
- questions
- ui
- dictionaries
- lib
- models
- frontend/src/components/QuestionComponents/Ranking
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
41 files changed
+7085
-163
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
90 | 113 | | |
91 | 114 | | |
92 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
51 | 69 | | |
52 | 70 | | |
53 | 71 | | |
| |||
118 | 136 | | |
119 | 137 | | |
120 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
121 | 149 | | |
122 | 150 | | |
123 | 151 | | |
| |||
378 | 406 | | |
379 | 407 | | |
380 | 408 | | |
381 | | - | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
382 | 412 | | |
383 | 413 | | |
384 | 414 | | |
| |||
396 | 426 | | |
397 | 427 | | |
398 | 428 | | |
399 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
400 | 432 | | |
401 | 433 | | |
402 | 434 | | |
| |||
520 | 552 | | |
521 | 553 | | |
522 | 554 | | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
523 | 564 | | |
524 | 565 | | |
525 | 566 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | 280 | | |
295 | 281 | | |
296 | 282 | | |
| |||
381 | 367 | | |
382 | 368 | | |
383 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
74 | 87 | | |
75 | 88 | | |
76 | 89 | | |
| |||
159 | 172 | | |
160 | 173 | | |
161 | 174 | | |
162 | | - | |
| 175 | + | |
| 176 | + | |
163 | 177 | | |
164 | 178 | | |
165 | 179 | | |
| |||
402 | 416 | | |
403 | 417 | | |
404 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
405 | 497 | | |
406 | 498 | | |
407 | 499 | | |
| |||
786 | 878 | | |
787 | 879 | | |
788 | 880 | | |
789 | | - | |
| 881 | + | |
790 | 882 | | |
791 | 883 | | |
792 | 884 | | |
| |||
809 | 901 | | |
810 | 902 | | |
811 | 903 | | |
812 | | - | |
| 904 | + | |
813 | 905 | | |
814 | 906 | | |
815 | 907 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
322 | 326 | | |
323 | 327 | | |
324 | 328 | | |
325 | | - | |
| 329 | + | |
326 | 330 | | |
327 | 331 | | |
328 | 332 | | |
| |||
399 | 403 | | |
400 | 404 | | |
401 | 405 | | |
402 | | - | |
| 406 | + | |
403 | 407 | | |
404 | 408 | | |
405 | 409 | | |
| |||
0 commit comments