Commit Graph

651 Commits

Author SHA1 Message Date
AbdBarho b07c7271b8 Merge pull request #960 from notmd/fix_leaderboard_limit
Pass correct param when fetch leaderboard
2023-01-27 21:20:11 +01:00
Adrian Cowan 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
notmd ce3b3c7ecc pass correct param when fetch leaderboard 2023-01-28 00:17:31 +07: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 05f2e5c534 Merge branch 'main' into refactor_oasst_api_client 2023-01-25 16:36:32 +07:00
notmd 2e2a57cf10 wip 2023-01-25 16:36:06 +07:00
notmd 97cd57a300 fix test 2023-01-25 16:02:20 +07:00
notmd 31630be319 fix test & build 2023-01-25 15:48:53 +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
AbdBarho b208ffb00a Send lang parameter the correct way (#901) 2023-01-24 10:55:06 +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 957bd25793 fix wrong import 2023-01-23 19:30:22 +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
Keith Stevens 7a279ad1c8 Merge pull request #890 from LAION-AI/lang
Send language when fetching available tasks
2023-01-23 08:31:26 +09:00
AbdBarho 9328fa53d2 Merge pull request #886 from notmd/lucide
Migrate all icons to Lucide
2023-01-22 22:12:45 +01:00
AbdBarho 51afea69ec Send language when fetching available tasks 2023-01-22 21:57:21 +01:00
notmd b8672e5986 rename gt and lt to before and after (#888) 2023-01-22 19:51:07 +01: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
Keith Stevens 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 Stevens edff155fd7 Merge pull request #882 from notmd/fix_recent_messages
Fix recent messages not showing
2023-01-22 21:30:12 +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
notmd 0f0d0e00b5 use user.id 2023-01-22 17:05:22 +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
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