Commit Graph
132 Commits
Author SHA1 Message Date
AbdBarho 51afea69ec Send language when fetching available tasks 2023-01-22 21:57:21 +01:00
Keith StevensandGitHub cc4d13193f Merge pull request #821 from notmd/766_admin_enhancement
Allow to filter `user` by `display_name`
2023-01-22 21:32:48 +09:00
Keith StevensandGitHub edff155fd7 Merge pull request #882 from notmd/fix_recent_messages
Fix recent messages not showing
2023-01-22 21:30:12 +09:00
notmd 7025b174d2 Merge branch 'main' into 766_admin_enhancement 2023-01-22 17:22:31 +07:00
notmd 0f0d0e00b5 use user.id 2023-01-22 17:05:22 +07:00
AbdBarhoandGitHub 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
notmd 554e730d34 user getBackendUserCore 2023-01-22 16:01:01 +07:00
notmd 952c61f461 Fix recent messages 2023-01-22 15:50:23 +07:00
notmd fa5702ac9e Merge branch 'main' into 766_admin_enhancement 2023-01-22 14:07:19 +07:00
ml729 a31da35fb0 use dummy user for tasks availability 2023-01-21 21:08:09 -05:00
ml729 323f5a19a2 use Promise.allSettled for admin status 2023-01-21 14:01:58 -05:00
ml729 a75c13ef42 use getBackendUserCore for taskAvailability 2023-01-21 13:13:15 -05:00
ml729andnotmd 72d61cc44c use Promise.all website/src/pages/api/admin/status.ts
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
2023-01-21 12:55:31 -05:00
ml729 93969bd49d status use current admin user 2023-01-21 12:55:31 -05:00
ml729 a2932d1613 unify 3 status endpoints and move status fetches to oasst_api_client 2023-01-21 12:55:31 -05:00
ml729 4ccc88e0bb fix admin status api handler comments 2023-01-21 12:55:31 -05:00
ml729 0f2a65ea3c remove unnecessary imports 2023-01-21 12:55:30 -05:00
ml729 91bb560383 clean up status page code 2023-01-21 12:55:30 -05:00
ml729 812c8cb209 create status page 2023-01-21 12:55:30 -05:00
notmd aebfaacac8 remove debug code 2023-01-21 23:21:10 +07:00
notmd c1dd188cbe use pre and next cursor check from the server 2023-01-21 23:12:19 +07:00
Keith Stevens 7274512c2f Implementing core of setting user languages and fetching language specific tasks 2023-01-21 21:36:37 +09:00
notmd 77210ee6d4 remove debug code 2023-01-21 14:37:05 +07:00
notmd 7eb5023e82 use cursor endpoint 2023-01-21 14:34:22 +07:00
notmd 1f945fbdd7 Merge branch 'main' into 766_admin_enhancement 2023-01-21 12:51:15 +07:00
Keith StevensandGitHub b05df5b095 Merge pull request #861 from LAION-AI/last-updated
Show last updated on leaderboard
2023-01-21 10:34:23 +09: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 0c5e2fc45d Show last updated on leaderboard 2023-01-20 13:00:59 +01:00
AbdBarho e80a69dd8a Fetch available tasks 2023-01-20 12:16:17 +01:00
Keith Stevens ae6600afa2 Removing an unused import 2023-01-19 17:23:53 +09: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 8eff6932d6 switch PAGE_SIZE back to 20 2023-01-18 15:40:20 +07:00
notmd 801ad553b8 Allow to filter user by display_name 2023-01-18 15:19:00 +07:00
Keith Stevens a5d59339f9 Deleting some function arguments used for debugging 2023-01-18 15:33:27 +09:00
Keith Stevens 173af6847e Moving the username handler to a ts file 2023-01-18 15:23:24 +09:00
Keith Stevens a15481b03d Cleaning up the username api route and ensuring the users name is fresh 2023-01-18 14:41:29 +09:00
Keith StevensandGitHub 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
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
Keith Stevens 9dd753a076 ensure we include a timeframe when fetching leaderboard 2023-01-16 14:57:19 +09:00
notmd 510c718f2b allow to select role when sigin in debug mode 2023-01-16 11:49:53 +07:00
notmd 8028693e3b use useSWR data instead calling setState 2023-01-16 10:09:54 +07:00
Keith StevensandGitHub 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 8bf56b1494 Merge branch 'main' into 673-admin-page-pagination 2023-01-15 19:14:10 +09:00
AbdBarho 7fabe39174 Fix missing display_name for debug users 2023-01-15 10:07:02 +01:00
AbdBarhoandGitHub acc629e73c Merge pull request #706 from LAION-AI/670-store-isNew-in-webdb
Tag in the user table when they are new and include it in use session
2023-01-15 09:40:12 +01:00
Keith Stevens 35e92dbd15 Supporting user pagination on the web admin view 2023-01-15 15:26:12 +09:00
Keith StevensandGitHub 69be679fe1 Merge pull request #701 from LAION-AI/673-enhanced-admin-routing
673 enhanced admin management
2023-01-15 08:34:09 +09:00