Commit Graph

58 Commits

Author SHA1 Message Date
notmd 97cd57a300 fix test 2023-01-25 16:02:20 +07:00
notmd 31630be319 fix test & build 2023-01-25 15:48:53 +07:00
notmd 94d2ed820e Refactor OasstApiClient 2023-01-25 15:04:39 +07:00
AbdBarho b208ffb00a Send lang parameter the correct way (#901) 2023-01-24 10:55:06 +09:00
notmd b7056eccd1 Show more stats in leaderboard table 2023-01-24 02:04:00 +07:00
AbdBarho 51afea69ec Send language when fetching available tasks 2023-01-22 21:57:21 +01:00
notmd b8672e5986 rename gt and lt to before and after (#888) 2023-01-22 19:51:07 +01:00
notmd 7025b174d2 Merge branch 'main' into 766_admin_enhancement 2023-01-22 17:22:31 +07:00
AbdBarho 43732442fc Merge pull request #881 from LAION-AI/854-language-preferences
Adding language preferences for the UI and tasks
2023-01-22 11:03:47 +01:00
Keith Stevens 79331df366 Fixing an import order 2023-01-22 16:15:54 +09:00
Keith Stevens ab09a3f50f Adding a valid language check 2023-01-22 16:13:35 +09:00
notmd fa5702ac9e Merge branch 'main' into 766_admin_enhancement 2023-01-22 14:07:19 +07:00
ml729 a2932d1613 unify 3 status endpoints and move status fetches to oasst_api_client 2023-01-21 12:55:31 -05:00
notmd 0cc6b3b8ae Merge branch 'main' into 766_admin_enhancement 2023-01-21 22:10:15 +07:00
Keith Stevens 7274512c2f Implementing core of setting user languages and fetching language specific tasks 2023-01-21 21:36:37 +09:00
Keith Stevens b9ce2fb140 Ensuring localization works across all pages and fix user data fetching in admin view 2023-01-21 17:56:29 +09:00
notmd 7eb5023e82 use cursor endpoint 2023-01-21 14:34:22 +07:00
notmd 7099ff4dd0 Merge branch 'main' into 766_admin_enhancement 2023-01-20 23:12:43 +07:00
notmd 99d9ee1937 Merge branch 'main' into 766_admin_enhancement 2023-01-20 23:08:59 +07:00
AbdBarho e80a69dd8a Fetch available tasks 2023-01-20 12:16:17 +01:00
Keith Stevens c81967fca9 Merge pull request #852 from rjmacarthy/chore/apply-i18n-pages
website: Add localization to pages, header and footer
2023-01-20 18:59:27 +09:00
rjmacarthy f09eee1ce7 Pre-commit 2023-01-20 09:44:06 +00:00
rjmacarthy 9b659191ca Extract common getStaticProps to single file 2023-01-20 09:37:02 +00:00
Keith Stevens df1eca4eaf Ensuring the website uses the most specific auth type with the backend when fetching and interacting with tasks 2023-01-19 17:21:41 +09:00
notmd 801ad553b8 Allow to filter user by display_name 2023-01-18 15:19:00 +07:00
Keith Stevens 0a36e459d7 Guarantee all users get a name (#800)
* Guarantee all users get a name and it is used when talking to the backend

* Small code cleanup
2023-01-17 21:12:48 +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
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
notmd f181094fbf move to RoleSelect file 2023-01-16 12:31:05 +07:00
notmd 510c718f2b allow to select role when sigin in debug mode 2023-01-16 11:49:53 +07:00
Keith Stevens 5e814eaa4c Merge pull request #732 from LAION-AI/673-admin-page-pagination
Supporting user pagination on the web admin view
2023-01-16 08:39:15 +09:00
AbdBarho ab63150004 Use new leaderboard api 2023-01-15 14:07:30 +01:00
Keith Stevens 35e92dbd15 Supporting user pagination on the web admin view 2023-01-15 15:26:12 +09:00
Keith Stevens e1309b1d5a Adding some function comments 2023-01-14 17:05:24 +09:00
Keith Stevens 8203406fa1 Merging with main changes 2023-01-14 17:03:18 +09:00
Keith Stevens ddfb497764 Fixing some lint errors and adding a TODO 2023-01-14 16:57:06 +09:00
Keith Stevens f9c8d1dd81 Combining the admin API routes with the backends user routes 2023-01-14 16:55:14 +09:00
Keith Stevens 5732952b3e Udpating the leaderboard components to use real data 2023-01-14 10:27:38 +09: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
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
Keith Stevens d94cb4b2d6 Ensure all the API routes reject banned users 2023-01-10 19:16:13 +09:00
Keith Stevens 34a1715923 Cleaning up a suite of eslint warnings 2023-01-10 13:02:17 +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
Keith Stevens e69715fbec Fixing some lint errors with the new admin features 2023-01-08 20:21:13 +09:00
Keith Stevens fb0771995d Addressing review comments 2023-01-08 17:54:30 +09:00
AbdBarho 53814d77ab Label Initial Prompt 2023-01-07 17:24:43 +01:00
Jack Michaud 239c10c2dc fix: export OasstError 2023-01-06 10:21:23 -05:00
Jack Michaud 6eca350826 Merge branch 'main' of github.com:LAION-AI/Open-Assistant into jm/tests-for-javascript-oasst-api-client 2023-01-06 10:17:47 -05:00