Commit Graph
497 Commits
Author SHA1 Message Date
AbdBarho e4dcfe4161 Use new reply_message 2023-01-27 22:41:20 +01:00
AbdBarho ab227c5db5 Fix error in labeling tasks 2023-01-27 22:33:04 +01:00
AbdBarho 0a6d9011ea Fix semantic html nesting 2023-01-27 22:33:04 +01:00
Adrian CowanandAbdBarho 356fd775e9 Add emoji reactions and reporting for messages (website) (#952)
* website: Move labelling to message ... menu and add reporting and emoji reactions

We can add more emoji easily in future, we just need to pick ones that we have consistent icons for.

Also added "open in new tab" option so that messages can be navigated to from tasks on mobile.

* website: Make new label and report strings translatable.

* website: Move report api call to oasst client

* small fixes

* pre-commit

---------

Co-authored-by: AbdBarho <ka70911@gmail.com>
2023-01-27 20:52:40 +01:00
rjmacarthy bf77d4dc60 Add types for TaskType to TaskHook
Pre-commit

Apply better naming to task api hooks

Lint
2023-01-27 19:09:28 +00:00
rjmacarthy e6009933db Rename const to taskInfo 2023-01-27 10:16:25 +00:00
rjmacarthy 24f4c08796 Refactor task page routes and repetition
Remove blank line

Lint add blank line

Link pre-commit
2023-01-27 10:16:02 +00:00
Adrian Cowan 1011fa527c website: Fix handling of new and unknown labels 2023-01-27 13:25:07 +11:00
Keith Stevens 1e88166401 Merge pull request #936 from othrayte/simple-spam-task
website: Make the spam question simple again
2023-01-26 17:13:48 +09:00
Keith Stevens bf082a96bb Merge pull request #935 from othrayte/message-stories
website: Add storybook stories for messages
2023-01-26 17:12:55 +09:00
Adrian Cowan 58a07dd05d website: Make the spam question simple again
This is an initial quick fix to get back simple buttons. This should be followed up with some refactoring or maybe a real spam task.
2023-01-26 18:11:41 +11:00
Adrian Cowan 63dc5d170f website: Add storybook stories for messages 2023-01-26 17:24:17 +11:00
notmd 3c9e5388ba add captcha to signin page 2023-01-26 01:00:31 +07:00
notmd a6fcf0dc1e wip 2023-01-25 17:44:59 +07:00
notmd 05f2e5c534 Merge branch 'main' into refactor_oasst_api_client 2023-01-25 16:36:32 +07:00
notmd 94d2ed820e Refactor OasstApiClient 2023-01-25 15:04:39 +07:00
rjmacarthy 78a7051ce6 Use pre-defined TaskType in TaskInfos configuration
Remove debugger
2023-01-24 14:58:04 +00:00
rjmacarthy 31a0754d21 Rename function to getTypeSafei18nKey 2023-01-24 14:46:47 +00:00
rjmacarthy 54cc7827b6 Add localisation to tasks and dashboard
Fix i18n merge issues

Add blank line dashboard.json

Remove console.log

Alphabeticalise

Pre-commit

Fix i18n key warnings add util function

Fix Task.storties.tsx

Revert pass duplicate prop
2023-01-24 10:41:12 +00:00
Keith Stevens b0cb6cf047 Adding an help link to the docs on the dashboard 2023-01-24 16:26:24 +09:00
Keith Stevens 25b8c6a085 Merge pull request #903 from notmd/leaderboard_enhancement
Show more stats in leaderboard table
2023-01-24 10:54:48 +09:00
notmd 0c890ae726 fix disablePagination logic 2023-01-24 02:09:33 +07:00
notmd b7056eccd1 Show more stats in leaderboard table 2023-01-24 02:04:00 +07:00
AbdBarho 89f9e5a887 Merge pull request #872 from othrayte/likert-like-labelling
website: Switch to likert style labeling
2023-01-23 18:19:03 +01:00
notmd 7f993b670c Merge branch 'main' into leaderboard_enhancement 2023-01-23 21:14:29 +07:00
notmd 037ec3c96e wip 2023-01-23 21:10:56 +07:00
notmd 8bd9187a7a Merge branch 'main' into typesafe_i18n 2023-01-23 19:29:24 +07:00
Adrian Cowan a6d23821be website: Highlight target message 2023-01-23 22:49:30 +11:00
Adrian Cowan 25cf9eb953 website: Switch to radio buttons for likert style labeling 2023-01-23 21:51:19 +11:00
Adrian Cowan 007773a3f5 website: Switch to likert style labelling 2023-01-23 21:51:17 +11:00
Keith Stevens 219ef2cb8e Present locales with their locale language rather than the current locale language 2023-01-23 18:29:43 +09:00
notmd 627c4843b5 remove unused code 2023-01-22 23:47:11 +07:00
notmd 80a7ad0154 typesafe i18n 2023-01-22 23:28:27 +07:00
notmd 204e11b400 migrate all icon to lucide 2023-01-22 21:02:52 +07:00
notmd 2fbe83c291 Merge branch 'main' into lucide 2023-01-22 20:38:43 +07:00
notmd d466e63d66 wip 2023-01-22 20:35:31 +07:00
Keith Stevens f645b53405 Merge pull request #884 from LAION-AI/available
Present available task types on dashboard
2023-01-22 21:39:31 +09:00
AbdBarho fb4e94487c Redirect users to dashboard if there are no tasks 2023-01-22 12:15:21 +01:00
AbdBarho fd703663bd Fix all tasks page 2023-01-22 12:00:55 +01:00
AbdBarho 6167f63467 Present available task types on dashboard 2023-01-22 11:53:34 +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
notmd fa5702ac9e Merge branch 'main' into 766_admin_enhancement 2023-01-22 14:07:19 +07:00
Keith Stevens 91ea5eab9b Merge pull request #867 from ml729/admin-status-page
Implement #828 Create admin status page
2023-01-22 16:05:11 +09:00
rjmacarthy 3f50cf1080 Pre-commit 2023-01-21 20:35:02 +00:00
rjmacarthy edeae8cc84 Fix locale leaderboard after rebase 2023-01-21 20:33:27 +00:00
rjmacarthy 81a392232e Add locale to leaderboard and organize locale json 2023-01-21 20:26:40 +00:00
ml729 ea7e320a78 add status option in admin page left bar 2023-01-21 12:53:36 -05:00
notmd 15acd1c64e handle error 2023-01-21 23:56:21 +07:00