Commit Graph

70 Commits

Author SHA1 Message Date
Adrian Cowan 007773a3f5 website: Switch to likert style labelling 2023-01-23 21:51:17 +11:00
notmd 2fbe83c291 Merge branch 'main' into lucide 2023-01-22 20:38:43 +07:00
notmd d466e63d66 wip 2023-01-22 20:35:31 +07:00
AbdBarho 6167f63467 Present available task types on dashboard 2023-01-22 11:53:34 +01:00
AbdBarho e80a69dd8a Fetch available tasks 2023-01-20 12:16:17 +01:00
AbdBarho 47c402e762 More space for messages on narrow screen 2023-01-20 10:37:54 +01:00
AbdBarho e3387b43b8 Merge pull request #793 from LAION-AI/773-links-to-docs-everywhere
Adding links to external documentation for tasks and in footers
2023-01-17 07:25:01 +01:00
Keith Stevens ac5a0e8157 Adding links to external documentation for tasks and in footers 2023-01-17 15:11:33 +09:00
AbdBarho e49654dfb7 Scroll to top on submit 2023-01-17 07:05:46 +01:00
Keith Stevens cf29f544eb Merge branch 'main' into 763-make-labels-required 2023-01-17 08:58:29 +09:00
AbdBarho 6c01205b52 Small website fixes 2023-01-16 19:22:04 +01:00
Adrian Cowan 17f860b9d6 website: Improve 'spam?' question 2023-01-16 22:27:32 +11:00
Keith Stevens 7e1b57a93e Fixing the build 2023-01-16 18:58:44 +09:00
Keith Stevens 68f22d0fa9 Adding new index and story files 2023-01-16 18:53:11 +09:00
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
rsandb 2b3978200f fix task card background color 2023-01-14 02:41:37 -06:00
Keith Stevens 58cbc50b31 Merge pull request #700 from LAION-AI/rank-fix
Fix submit of initial ranking
2023-01-14 17:02:09 +09:00
AbdBarho 22bc9c2730 Fix initial Ranking 2023-01-14 08:03:19 +01:00
rsandb eb0988bee9 Message Styling For Mobile
Decreased padding for mobile and changed some styling to give better contrast
2023-01-13 19:57:46 -06:00
Keith Stevens af8f17a55c Merge pull request #687 from Klotske/add-simple-label
#668 - Add simple label
2023-01-14 09:54:06 +09:00
klotske 43313d81f1 Fix merge conflict & rename props 2023-01-14 02:17:40 +03:00
Keith Stevens db5df84a21 Merge pull request #663 from rjmacarthy/main
website: Combine fetcher and poster files, update all references to use axios for both GET and POST
2023-01-14 08:14:21 +09:00
klotske d944c41502 Merge branch 'main' into add-simple-label 2023-01-14 02:13:47 +03:00
klotske 74c9007857 Rename to LabelRadio 2023-01-13 21:36:43 +03:00
rjmacarthy 2a8d38f058 Refactor fetch and post to use axios
Fix set_label id missing in payload use frontend_message_id

pre-commit

Refactor api fetcher/poster to axios create

lint

Remove string literal for path

Revert oasst_api_client.ts

Fix warning httpStatusCode OasstError optional parameter

Refactor remove api base url for local api

Lint add blank line
2023-01-13 17:05:10 +00:00
klotske 76cdab9876 Added LabelSimpleGroup & updated LabelTask 2023-01-13 19:09:04 +03:00
Adrian Cowan 19e58c04a5 website: make e2e tests actually test the tasks work
Prior to this change the tests didn't handle any task types as the detection of the task type was failing.
2023-01-14 02:16:30 +11:00
Adrian Cowan eb43c8b4f8 website: Add a review step before submitting
to hint to the user that they should reread and check what they have written.

Also show numbers for ranked items rather than drag handles in the review step as the items can't be moved in that step.
2023-01-14 02:16:27 +11:00
klotske 9232ab8c56 Extract Slider Label to own component 2023-01-13 17:38:52 +03:00
AbdBarho 3d4b57c071 Merge pull request #684 from melvinebenezer/592_non_empty_text
#592 non empty text
2023-01-13 15:35:21 +01:00
James Melvin 786553e00a fix: removed console log 2023-01-13 19:59:13 +05:30
James Melvin b24b47d8bd fix: merge conflict 2023-01-13 19:10:50 +05:30
James Melvin 8067e1a879 fix: pre-commit changes 2023-01-13 19:04:51 +05:30
James Melvin 0979b4300a fix: non-empty text before submitting on create task 2023-01-13 18:58:42 +05:30
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
klotske 82a60ef904 Change typings & refactor FlaggableElement 2023-01-12 16:10:05 +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 268cd7d7b5 Forwarding the real task id in backend interactions and ensure the labeling task works 2023-01-11 19:32:52 +09:00
kostiak e2844e4d86 Added random task and moved other tasks to /tasks/all 2023-01-11 09:30:58 +00: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 Sandborg 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
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