Commit Graph

61 Commits

Author SHA1 Message Date
Keith Stevens 2e2efdec65 Fixing a small remaining issues, reporting labels, rejecting tasks, and redirecting users on landing page 2023-01-10 12:51:56 +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 39485c6ced Adding simple pagination to the admin user's view 2023-01-08 20:11:26 +09:00
AbdBarho af1e9c39a2 Merge pull request #521 from LAION-AI/237-manage-user-page
Adding an admin page to manage a specific user's status
2023-01-08 10:04:37 +01:00
Keith Stevens fb0771995d Addressing review comments 2023-01-08 17:54:30 +09:00
Keith Stevens c234e8b0d0 Adding an admin page to manage a specific user's status 2023-01-08 16:15:48 +09:00
James Melvin d4fdaeca81 fix: pre-commit errors 2023-01-08 10:52:50 +05:30
James Melvin 3d469baaf5 fix: handling for 204 return status. Since text_labels API responds with no data 2023-01-08 10:26:32 +05:30
James Melvin 81a47eeafd fix: Removed console logs. 2023-01-08 10:17:28 +05:30
James Melvin f5130b0fd8 fix: new web route to update text_labels
fix: minimum changes to textFlagLabels to keep it coherent with the backend
2023-01-08 09:16:48 +05:30
AbdBarho 53814d77ab Label Initial Prompt 2023-01-07 17:24:43 +01:00
AbdBarho 99dcfd06ed Merge pull request #478 from LAION-AI/cleanup-web-import-warnings
Fixing most of the eslint warnings in the web code
2023-01-07 12:18:04 +01:00
Keith Stevens dca0ba1774 Fixing most of the eslint warnings in the web code 2023-01-07 19:57:59 +09:00
Keith Stevens b70c638f7c Adding a very rudimentary admin page that displays a table of users and their basic information 2023-01-07 19:13:26 +09:00
jojopirker ad7ccb21d8 Merge branch 'LAION-AI:main' into messageNavigation 2023-01-06 16:43:50 +01:00
Keith Stevens d182f6f093 Merge pull request #441 from LAION-AI/236-admin-role
Creating a role field for Users #236
2023-01-06 21:21:28 +09:00
Keith Stevens 7e517db934 Fixing the type errors when updating the jwt and session with a role 2023-01-06 20:19:02 +09:00
Keith Stevens 498daef9d3 Creating a role field for Users and seeding it everytime a user logs in based on a shortlist 2023-01-06 20:01:02 +09:00
jojopirker a822db11a7 pre-commit 2023-01-06 11:55:31 +01:00
klotske 3c330dcd13 Added the oasstApiClient global var and init 2023-01-06 13:44:46 +03:00
klotske a4e8d829b1 Implement interaction in oasst_api 2023-01-05 23:27:44 +03:00
jojopirker d0bc720761 inital try for navigation messages trees
should be redone probably in a recursive way...
2023-01-05 12:17:45 +01:00
Keith Stevens 38fec237d0 Merge pull request #342 from jack-michaud/jm/contract-tests-for-website
refactor + test: add OasstApiClient in website with tests
2023-01-05 19:30:47 +09:00
jojopirker 173356929a removed content-type 2023-01-04 20:09:03 +01:00
jojopirker 910c1c88ce pre-commit 2023-01-04 15:42:51 +01:00
jojopirker b08e1b986a split api into multiple files 2023-01-04 15:19:46 +01:00
jojopirker dba693ee85 using avatar instead of image & pre-commit 2023-01-04 15:13:08 +01:00
jojopirker b24bfd1d74 new page to display recent messages 2023-01-04 15:02:45 +01:00
Jack Michaud bdcfae54fc docs: update TODOs to include issue numbers 2023-01-04 08:04:27 -05:00
Jack Michaud 7b5f702a00 docs: add TODOs 2023-01-03 20:54:49 -05:00
Jack Michaud 91099657fe refactor: move new task's oasst api fetching into OasstApiClient 2023-01-03 17:11:28 -05:00
Jac-Zac 8e6af17612 Fixing username not updating 2023-01-03 15:27:37 +01:00
Keith Stevens dbfa77e8b7 Fixing some small merge issues and ensure docker runs the backend properly 2023-01-03 15:01:24 +09:00
Desmond Grealy e546eaa070 one more fix for header border-bottom. Also fixed some eslint whine 2023-01-02 21:09:37 -08:00
croumegous 47ffd40d38 fix(frontend): fix invalid json error when HTTP response is 204 2023-01-03 00:44:07 +01:00
Keith Stevens 41e509405b Merge pull request #199 from croumegous/fix-lint-build
Fix linter warnings
2023-01-01 10:46:21 +09:00
croumegous 8c79cadbb1 chore: manually fix linter warning 2022-12-31 18:27:08 +01:00
croumegous a0b900559c chore: eslint plugins to sort import and remove unused import automatically 2022-12-31 18:22:06 +01:00
Yannic Kilcher 4a4cf3c3a6 saving user to the dabase when using the debug credentials provider 2022-12-31 17:32:02 +01:00
Keith Stevens b8fcb4df8f Update all the task pages to fetch a new taks after submission 2022-12-31 18:24:50 +09:00
Desmond Grealy 3aaf45a8c8 ("post_rating" -> "message_rating") ("post_ranking" -> "message_ranking") 2022-12-30 17:37:28 -08:00
Desmond Grealy 5b787b8ad7 (post_id -> message_id), (user_post_id -> user_message_id) 2022-12-30 17:31:09 -08:00
Yannic Kilcher 0acacf33fe Merge branch 'main' into add-debug-skip-password-env 2022-12-29 13:34:28 +01:00
rsandb 62f326f51a clean up changes 2022-12-28 13:01:02 -06:00
Yannic Kilcher cbcbe8d708 added environment variable DEBUG_LOGIN to display debug credentials provider even in production mode 2022-12-28 17:33:33 +01:00
rsandb 5e27695c47 Merge remote-tracking branch 'upstream/main' 2022-12-27 17:29:11 -06:00
rsandb de869033bf updated avatar component name, added ability to change username (only works server side for now), updated signin page, updated Footer
Still working on the account settings page but didn't want to get behind on commits.
2022-12-27 13:00:32 -06:00
Yannic Kilcher d8a5937b9a removed boolean dependency 2022-12-27 13:59:00 +01:00