Commit Graph

18 Commits

Author SHA1 Message Date
Keith Stevens a2f68c7259 Require labels to be set on labeling task and setting up basic storybook stories for tasks 2023-01-16 18:51:01 +09:00
AbdBarho 335218ba22 Fix full labeling task display 2023-01-14 09:51:12 +01:00
Keith Stevens e1dd677677 Merging with main 2023-01-11 08:47:16 +09: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 d94cb4b2d6 Ensure all the API routes reject banned users 2023-01-10 19:16:13 +09:00
Keith Stevens f2c235476e Deleting the auto-ack on task fetching in favor of auto-acking on answer submission. Fixes broken e2e tests 2023-01-10 13:24:56 +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
klotske 3c330dcd13 Added the oasstApiClient global var and init 2023-01-06 13:44:46 +03:00
Jack Michaud 91099657fe refactor: move new task's oasst api fetching into OasstApiClient 2023-01-03 17:11:28 -05:00
Keith Stevens dbfa77e8b7 Fixing some small merge issues and ensure docker runs the backend properly 2023-01-03 15:01:24 +09:00
Desmond Grealy e546eaa070 one more fix for header border-bottom. Also fixed some eslint whine 2023-01-02 21:09:37 -08:00
croumegous 47ffd40d38 fix(frontend): fix invalid json error when HTTP response is 204 2023-01-03 00:44:07 +01:00
croumegous 8c79cadbb1 chore: manually fix linter warning 2022-12-31 18:27:08 +01:00
croumegous a0b900559c chore: eslint plugins to sort import and remove unused import automatically 2022-12-31 18:22:06 +01:00
Desmond Grealy 5b787b8ad7 (post_id -> message_id), (user_post_id -> user_message_id) 2022-12-30 17:31:09 -08:00
Keith Stevens c056a31d2f Ensuring the website can be built and deployed fully in docker. This includes an end to end docker-compose configuration as a simple demonstration. 2022-12-20 20:28:53 +09:00
Keith Stevens 2aacc542d3 Integrate the new UI pages with the working backend for the rate_summary task. This also migrates some pages to properly link up authorization flows. Some cruft is still in 2022-12-19 15:12:45 +09:00