Commit Graph
1371 Commits
Author SHA1 Message Date
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
Andreas Koepf d0ef7c4bbc add missing doc-strings for tree-manager mandatory labels settings 2023-01-13 16:04:06 +00:00
Andreas Koepf 343853fb57 add TreeManagerConfiguration as sub-module to global pydantic settings class 2023-01-13 15:52:09 +00: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
AbdBarhoandGitHub 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
Andreas Koepf 448d17dd61 Set some message trees into ranking state after seed-data insertion 2023-01-13 13:57:55 +00:00
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
Keith StevensandGitHub fd8bd49638 Merge pull request #683 from othrayte/no-next-task
website: Remove next task button and load new task immediately
2023-01-13 21:47:50 +09:00
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 StevensandGitHub 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 StevensandGitHub 0060328890 Merge pull request #681 from Klotske/add-bug-button
#675 Report Bug Button
2023-01-13 21:29:49 +09:00
Keith StevensandGitHub ce8c9e1905 Merge pull request #680 from othrayte/auto-check-categorisations
website: Enable label when clicking on disabled slider
2023-01-13 21:29:04 +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
AbdBarhoandGitHub 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
AbdBarhoandGitHub 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
Keith StevensandGitHub a3b1057bac Merge pull request #643 from rsandb/TOS-&-Privacy
Style Privacy Policy & TOS
2023-01-13 11:56:38 +09: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
Keith StevensandGitHub 2ba9340448 Merge pull request #656 from Klotske/message-id-fix
#614 - Consistent message ID & FlaggableElement fix
2023-01-13 09:14:27 +09:00
mashdragonandGitHub f0e2e5e209 Make example prompt responses more empathatic and direct (#662) 2023-01-12 23:20:24 +01:00
Andreas Köpf 945c645818 returning list[FrontEndUser] from api/v1/frontend_users/ endpoint 2023-01-12 22:58:43 +01:00
0d646e72f3 537: Endpoint to list frontend users (#554)
* added frontend users endpoint

* fix comparison

* added api_client_id filtration

* allow untrusted api-clients

* review fixes

Co-authored-by: Andreas Köpf <andreas.koepf@provisio.com>
2023-01-12 22:45:11 +01:00
Andreas Köpf f264b43cde fix user's notes column server_default value 2023-01-12 21:43:33 +01:00
050d4902f3 538: Add endpoints to manage users (#601)
* Add endpoints for getting, updating, deleting users by global user ID

* Resolve formatting

* Include alembic revision script

* Updated down_revision to current alembic head

Co-authored-by: Andreas Köpf <andreas.koepf@xamla.com>
2023-01-12 21:30:07 +01:00
AbdBarhoandGitHub 30242a2f32 Merge pull request #649 from LAION-AI/623-fix-e2e-tests
Semi-comprehensive fix to the web end to end tests
2023-01-12 17:57:55 +01: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
Keith StevensandGitHub 22924c4400 Merge pull request #654 from Klotske/fix-leaderboard-link
Fix link in LeaderboardTable
2023-01-12 18:36:43 +09:00
klotske 12688d951b Add NextJS's NextLink & add as prop 2023-01-12 12:20:36 +03:00
AbdBarhoandGitHub 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 e474fd51f5 Merging with main 2023-01-12 14:41:13 +09:00
Keith Stevens 55635f1a27 Displaying a different user's messages in the admin view 2023-01-12 14:38:31 +09:00
Keith StevensandGitHub a7040378cc Merge pull request #650 from rsandb/main
Dashboard Integration
2023-01-12 14:34:14 +09:00
rsandb fefd3614b0 Remove TOS & Privacy Policy changes 2023-01-11 23:03:47 -06:00