Commit Graph

291 Commits

Author SHA1 Message Date
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 224223ddde Update components and Cypress test 2023-01-14 02:47:47 +03:00
klotske 7101d84573 Fix a bug with Label submit 2023-01-14 02:29:00 +03:00
klotske 43313d81f1 Fix merge conflict & rename props 2023-01-14 02:17:40 +03:00
Keith Stevens 8656d9c9b7 Merge pull request #688 from rjmacarthy/fix/header-story
website: Fix Header.stories.js rendering add FlagsProvider
2023-01-14 08:14:59 +09: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
Keith Stevens 5252299d66 Merge pull request #690 from Klotske/fix-sortable-bounds
Introduce SortableItem bounds
2023-01-14 07:58:24 +09:00
klotske d9bf43ea15 Introduce sortable bounds 2023-01-13 23:44:15 +03:00
klotske 8f5b5a853d Add interactionFlag to hide default choice 2023-01-13 22:35:23 +03:00
klotske 83152db09b Add default colorScheme value 2023-01-13 21:38:28 +03:00
klotske 74c9007857 Rename to LabelRadio 2023-01-13 21:36:43 +03:00
rjmacarthy 3dbc1058c5 Fix Header.stories.js rendering add FlagsProvider 2023-01-13 17:42:56 +00: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 f4742585cb Add configurable colorScheme 2023-01-13 19:20:01 +03: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
Keith Stevens a97ad13390 Merge pull request #682 from Klotske/fix-task-message-link
#667 - Make messages in tasks not clickable
2023-01-13 21:30:32 +09:00
Keith Stevens 0060328890 Merge pull request #681 from Klotske/add-bug-button
#675 Report Bug Button
2023-01-13 21:29:49 +09:00
klotske b2fbc5d2ad Add enabled & linkEnabled props to messages 2023-01-13 13:10:06 +03:00
Adrian Cowan 9f23ffb1b6 website: Enable label when clicking on disabled slider 2023-01-13 20:52:01 +11:00
klotske 0ef85fbd25 Added Bug button under UserMenu 2023-01-13 12:48:46 +03:00
AbdBarho 5d1b03b02d Merge pull request #652 from LAION-AI/238-admin-view-user-messages
Displaying a different user's messages in the admin view
2023-01-13 07:11:04 +01:00
AbdBarho 8394dd24bf Merge pull request #664 from LAION-AI/651-cleanup-unused-components
Deleting a small set of components
2023-01-13 06:44:38 +01:00
rsandb 7bb5768dc0 updated paths and names 2023-01-12 20:34:59 -06:00
rsandb e6d8ee7d3e separate cards, section data to page 2023-01-12 20:34:59 -06:00
rsandb 18279b95cf Style Provacy Policy & TOS 2023-01-12 20:34:59 -06:00
Keith Stevens 6dee5b132f Deleting a small set of components that aren't used within the project anymore 2023-01-13 10:26:57 +09:00
klotske 4ac159ec7e Update CreateTask UI 2023-01-12 16:35:44 +03:00
klotske 82b2693ed6 Remove unused import 2023-01-12 16:17:08 +03:00
klotske 82a60ef904 Change typings & refactor FlaggableElement 2023-01-12 16:10:05 +03:00
klotske d8328807f4 Remove redundant LinkOverlay 2023-01-12 12:51:37 +03:00
klotske 12688d951b Add NextJS's NextLink & add as prop 2023-01-12 12:20:36 +03:00
AbdBarho bac70ce241 Merge pull request #628 from Klotske/add-admin-link
Added admin dashboard link to UserMenu
2023-01-12 09:13:56 +01:00
Keith Stevens 0386a8aded Fixing some build and lint errors 2023-01-12 15:05:31 +09:00
Keith Stevens 55635f1a27 Displaying a different user's messages in the admin view 2023-01-12 14:38:31 +09:00
rsandb fefd3614b0 Remove TOS & Privacy Policy changes 2023-01-11 23:03:47 -06: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 be7f933033 Merge pull request #609 from ericv105/main
85: Unit-testing nextjs & react code
2023-01-12 11:46:18 +09:00
Keith Stevens cacfd02c51 Merge pull request #635 from Klotske/add-empty-state
Add empty state & tweak loading screen
2023-01-12 11:24:27 +09:00
klotske 802701d776 Color-mode specific styling for LoadingScreen 2023-01-11 23:42:19 +03:00