AbdBarho
3c791efb79
Move api calls to oasst_api_client
2023-01-27 22:33:04 +01:00
AbdBarho
59531c7d3d
userless client
2023-01-27 22:33:04 +01:00
AbdBarho
51afea69ec
Send language when fetching available tasks
2023-01-22 21:57:21 +01:00
notmd
fa5702ac9e
Merge branch 'main' into 766_admin_enhancement
2023-01-22 14:07:19 +07:00
ml729
19652d5cec
remove unnecessary imports
2023-01-21 20:42:34 -05:00
ml729
323f5a19a2
use Promise.allSettled for admin status
2023-01-21 14:01:58 -05:00
ml729
4dd809585e
handle error/loading case correctly in status page
2023-01-21 12:55:31 -05:00
ml729
fbc2ba468b
removed unnecessary element id
2023-01-21 12:55:31 -05:00
ml729 and notmd
05dce5b4a9
Use CardBody website/src/pages/admin/status/index.tsx
...
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com >
2023-01-21 12:55:31 -05:00
ml729 and notmd
56fb28f953
use CardBody in website/src/pages/admin/status/index.tsx
...
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com >
2023-01-21 12:55:31 -05:00
ml729 and notmd
2d7d14b4c9
Update website/src/pages/admin/status/index.tsx
...
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com >
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
b8ef87fb54
use Card component for status page
2023-01-21 12:55:31 -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
7099ff4dd0
Merge branch 'main' into 766_admin_enhancement
2023-01-20 23:12:43 +07:00
rjmacarthy
9b659191ca
Extract common getStaticProps to single file
2023-01-20 09:37:02 +00:00
rjmacarthy
3fa2e637d2
Add localization to pages, header and footer
...
Fix import orders for useTranslation
Apply common translations for header and footer
lint
Fix getServerSideProps messages/id
2023-01-19 19:23:29 +00:00
notmd
801ad553b8
Allow to filter user by display_name
2023-01-18 15:19:00 +07:00
notmd
e464fcbbb2
migrate formik to react-hook-form
2023-01-16 17:54:21 +07:00
notmd
045b6df99b
Merge remote-tracking branch 'origin/main' into react-hook-form
2023-01-16 13:05:01 +07:00
notmd
b90ac368f7
wip
2023-01-16 12:27:40 +07:00
notmd
510c718f2b
allow to select role when sigin in debug mode
2023-01-16 11:49:53 +07:00
Keith Stevens
f9c8d1dd81
Combining the admin API routes with the backends user routes
2023-01-14 16:55:14 +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
55635f1a27
Displaying a different user's messages in the admin view
2023-01-12 14:38:31 +09: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
Keith Stevens
c234e8b0d0
Adding an admin page to manage a specific user's status
2023-01-08 16:15:48 +09:00
klotske
f57041cdda
Added basic Admin dashboard layout
2023-01-07 15:08:38 +03:00
Keith Stevens
8f459d9aae
Addressing review comments
2023-01-07 19:43:10 +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