Commit Graph

18 Commits

Author SHA1 Message Date
Adrian Cowan 5054e19e93 website: Remove next task button and load new task immediately
Also disable the task inputs while the task is submitted and before the new task is ready in case the users network is slow or something.
2023-01-13 23:40:16 +11:00
klotske 4ac159ec7e Update CreateTask UI 2023-01-12 16:35:44 +03:00
rsandb 0f9867c542 added data-cy divs to Task components 2023-01-11 22:28:20 -06:00
rsandb 80cf195972 Dashboard Integration 2023-01-11 22:12:09 -06:00
Keith Stevens e1dd677677 Merging with main 2023-01-11 08:47:16 +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
Keith Stevens 747c3501d1 Adding a new web api path that returns valid labels and then fetching from that within FlaggableElement. This allows FlaggableElement to fetch all its own data and remove the need to pipe labels through a series of components 2023-01-10 20:57:42 +09: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
Keith Stevens fe4e949f2f Revert "rebasing"
This reverts commit c4d5ed990b.
2023-01-10 16:23:56 +09:00
Keith Stevens c4d5ed990b rebasing 2023-01-10 16:22:23 +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 34a1715923 Cleaning up a suite of eslint warnings 2023-01-10 13:02:17 +09:00
James Melvin 420b3739eb fix: retrieval of valid_labels from API to populate the TEXT_LABEL_FLAGS in FlaggableElements.tsx 2023-01-09 22:31:44 +05:30
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
Kostia 7d6a8fa8d0 Add instruction/overview to TaskType. Fix capitalize. 2023-01-07 16:56:47 +02:00
Kostia 2987ec76ff Refactor tasks into components 2023-01-07 05:13:28 +02:00