Commit Graph
241 Commits
Author SHA1 Message Date
kostiak e2844e4d86 Added random task and moved other tasks to /tasks/all 2023-01-11 09:30:58 +00:00
Keith Stevens 9f1064d656 Complete the handler todo and use withoutRole 2023-01-11 16:54:39 +09:00
Keith Stevens 454f332823 Ensuring the flagging post has a message or post id 2023-01-11 16:36:40 +09:00
Keith Stevens f4d0ad1cc8 Removing an unused property 2023-01-11 15:05:30 +09:00
Keith Stevens 17bcc53fb7 Merging with main again 2023-01-11 15:02:29 +09:00
Keith Stevens 5109f14e4c Fixing the answer submission problem after unifying code 2023-01-11 14:58:10 +09:00
Riley SandborgandGitHub f542821b3a Merge branch 'LAION-AI:main' into main 2023-01-10 18:49:00 -06:00
rsandb f61f582a9b Integrate Dashboard with Messages/Styling Changes 2023-01-10 18:48:14 -06:00
Keith Stevens e1dd677677 Merging with main 2023-01-11 08:47:16 +09:00
Keith StevensandGitHub c794c2d83a Merge pull request #598 from othrayte/unified-task-controls
website: Unify task controls
2023-01-11 08:35:35 +09:00
AbdBarhoandGitHub 8ce84ecef8 Merge pull request #590 from LAION-AI/589-reject-banned-users
Ensure all the API routes reject banned users
2023-01-10 18:40:28 +01: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
Adrian Cowan 15e1203be9 website: Refactor remaining task pages to use Task.tsx 2023-01-10 21:44:22 +11:00
Keith Stevens d94cb4b2d6 Ensure all the API routes reject banned users 2023-01-10 19:16:13 +09:00
Keith StevensandGitHub 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
AbdBarhoandKeith Stevens 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 48e9c7d09c Ensure FlaggableElement has an empty list of labels in the messages views 2023-01-10 14:16:19 +09:00
Keith Stevens 54cc88bb1f Ensure FlaggableElement always has the set of labels 2023-01-10 14:08:43 +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
Keith Stevens 34a1715923 Cleaning up a suite of eslint warnings 2023-01-10 13:02:17 +09:00
Keith Stevens 2e2efdec65 Fixing a small remaining issues, reporting labels, rejecting tasks, and redirecting users on landing page 2023-01-10 12:51: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
Keith Stevens 69dc6bf68d Adding a bare bones feature flag setup 2023-01-09 09:44:01 +09:00
Keith StevensandGitHub 8eddd769b6 Merge pull request #552 from LAION-AI/use-hooks-evaluate
Use hooks for "evaluate" tasks
2023-01-09 09:23:24 +09:00
Keith StevensandGitHub 16df53fc54 Merge pull request #550 from LAION-AI/use-hooks-create
Use hooks for "create" tasks
2023-01-09 09:22:36 +09:00
Keith StevensandGitHub ff4e1c76f9 Merge pull request #520 from othrayte/skip-with-reason
Prompt for reason for skipping.
2023-01-09 08:31:20 +09:00
AbdBarho d0042cebb3 Use hooks for "evaluate" tasks 2023-01-08 19:50:49 +01:00
AbdBarho ad91bfe201 Use hooks for "create" tasks 2023-01-08 19:19:52 +01:00
AbdBarhoandGitHub f33787b4cc Merge pull request #549 from kostiak/website-tasks-all
Add /tasks/all route to website
2023-01-08 19:09:41 +01:00
AbdBarhoandGitHub 10b9d4608a Merge pull request #542 from callum-gander/login-errors
#224: display OAuthAccountNotLinked error message + other errors messages
2023-01-08 19:01:40 +01:00
Callum ece8f227c2 #224: Simplified error useEffect and renamed errors to errorMessages 2023-01-08 17:47:08 +00:00
Kostia 0ec2d7fb05 Add /tasks/all route to website 2023-01-08 19:24:08 +02:00
Desmond Grealy 35292e800a Add theme to verify page. Simplify 2023-01-08 08:35:58 -08:00
Callum b0952bc681 #224: display OAuthAccountNotLinked error message + other errors messages 2023-01-08 14:00:09 +00: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
AbdBarhoandGitHub b554f8b68b Merge pull request #532 from LAION-AI/237-admin-paginate-users
Adidng simple pagination to the admin user view #237
2023-01-08 12:48:57 +01:00
Keith Stevens e69715fbec Fixing some lint errors with the new admin features 2023-01-08 20:21:13 +09:00
Keith Stevens 39485c6ced Adding simple pagination to the admin user's view 2023-01-08 20:11:26 +09:00
AbdBarho c9a3813b8f Add Label Assistant Reply Task 2023-01-08 12:07:26 +01:00
Keith StevensandGitHub 15a88309f8 Merge pull request #523 from LAION-AI/label_prompter_reply
Add Label Prompter Reply Task
2023-01-08 19:45:53 +09:00
AbdBarho 5c48e34abb Fix infinite fetch loop in messages
if user has not submitted anything
2023-01-08 11:32:42 +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
AbdBarhoandGitHub af1e9c39a2 Merge pull request #521 from LAION-AI/237-manage-user-page
Adding an admin page to manage a specific user's status
2023-01-08 10:04:37 +01:00
Keith Stevens fb0771995d Addressing review comments 2023-01-08 17:54:30 +09:00