Keith Stevens
69be679fe1
Merge pull request #701 from LAION-AI/673-enhanced-admin-routing
...
673 enhanced admin management
2023-01-15 08:34:09 +09:00
Keith Stevens
5282c11827
Adding an explicit type
2023-01-14 18:14:29 +09:00
AbdBarho
335218ba22
Fix full labeling task display
2023-01-14 09:51:12 +01:00
Keith Stevens
7de25f299c
fixing a type error
2023-01-14 17:07:37 +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
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
klotske
82a60ef904
Change typings & refactor FlaggableElement
2023-01-12 16:10:05 +03: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
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
9f1064d656
Complete the handler todo and use withoutRole
2023-01-11 16:54:39 +09:00
Keith Stevens
454f332823
Ensuring the flagging post has a message or post id
2023-01-11 16:36:40 +09:00
Keith Stevens
e1dd677677
Merging with main
2023-01-11 08:47:16 +09:00
Keith Stevens
747c3501d1
Adding a new web api path that returns valid labels and then fetching from that within FlaggableElement. This allows FlaggableElement to fetch all its own data and remove the need to pipe labels through a series of components
2023-01-10 20:57:42 +09:00
Keith Stevens
d94cb4b2d6
Ensure all the API routes reject banned users
2023-01-10 19:16:13 +09:00
Keith Stevens
f2c235476e
Deleting the auto-ack on task fetching in favor of auto-acking on answer submission. Fixes broken e2e tests
2023-01-10 13:24:56 +09:00
Keith Stevens
34a1715923
Cleaning up a suite of eslint warnings
2023-01-10 13:02:17 +09:00
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