Commit Graph

22 Commits

Author SHA1 Message Date
rjmacarthy 24f4c08796 Refactor task page routes and repetition
Remove blank line

Lint add blank line

Link pre-commit
2023-01-27 10:16:02 +00:00
rjmacarthy 9b659191ca Extract common getStaticProps to single file 2023-01-20 09:37:02 +00:00
rjmacarthy 3fa2e637d2 Add localization to pages, header and footer
Fix import orders for useTranslation

Apply common translations for header and footer

lint

Fix getServerSideProps messages/id
2023-01-19 19:23:29 +00:00
rsandb 80cf195972 Dashboard Integration 2023-01-11 22:12:09 -06:00
klotske 0eed9b5126 Implement new TaskEmptyState component 2023-01-11 23:39:55 +03:00
Keith Stevens 5109f14e4c Fixing the answer submission problem after unifying code 2023-01-11 14:58:10 +09:00
Adrian Cowan 805bc33ba4 website: Unify task controls
Also happens to fix some issues with the no-changes are-you-sure dialog only appearing once and other form values not being reset correctly.
2023-01-11 02:59:10 +11:00
Adrian Cowan 15e1203be9 website: Refactor remaining task pages to use Task.tsx 2023-01-10 21:44:22 +11:00
Keith Stevens 2c34b09f85 Merge branch 'main' into web-tidy-sweep 2023-01-10 16:25:43 +09:00
Keith Stevens 062bfdba3a Revert "Centralize task types"
This reverts commit 97c1f12e11.
2023-01-10 16:24:35 +09:00
AbdBarho 97c1f12e11 Centralize task types 2023-01-10 16:20:48 +09:00
AbdBarho 54a042d002 Centralize task types 2023-01-10 06:51:59 +01:00
Keith Stevens 54cc88bb1f Ensure FlaggableElement always has the set of labels 2023-01-10 14:08:43 +09:00
Adrian Cowan f277e2da0f Prompt for reason for skipping.
Note: skipping is only half implemented for labelling and summarisation tasks as those probably need to be changed to use the new Task component.
2023-01-09 00:02:43 +11:00
AbdBarho c9a3813b8f Add Label Assistant Reply Task 2023-01-08 12:07:26 +01:00
AbdBarho d4bf2be291 Updating task schema according to backend 2023-01-08 10:58:24 +01:00
AbdBarho fd9edf29d5 Use MessageTable 2023-01-08 10:52:57 +01:00
AbdBarho f7dceee87a Add LabelPrompterReplyTask 2023-01-08 10:52:57 +01:00
AbdBarho a19e0fa085 Extract generic code out of labeling task 2023-01-08 10:52:57 +01:00
James Melvin e39602cf7c fix: review comments and frontend build issue in label_initial_prompt.tsx due to previous message_id changes 2023-01-08 11:19:01 +05:30
AbdBarho 2a5d37a07f Remove unused task elements 2023-01-07 17:29:03 +01:00
AbdBarho 53814d77ab Label Initial Prompt 2023-01-07 17:24:43 +01:00