Alan Jean
bcecf257c7
Fix two typos in the labelling translation file
...
Fixes #981
2023-01-29 05:30:00 +04:00
rjmacarthy
86911b4453
Fix locale issue on messages/id page
...
Pre-commit
2023-01-28 20:25:31 +00:00
Andreas Köpf
5747373480
fix typo Unhelful
2023-01-28 19:57:44 +01:00
Adrian Cowan
ab4dce3f60
website: Support new widget types for labelling ( #966 )
...
* website: Support new widget types for labelling
Adds proper support for yes/no spam style questions as well as a simple interface for flag style labels.
Also cleaned up the Task component to fix some rerender issues.
* website: Fix some UI text, adjust yes/no button alignment
* website: Remove left over console.log
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com >
---------
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com >
2023-01-28 17:07:43 +01:00
Keith Stevens
c47b8f175d
Merge pull request #959 from LAION-AI/oasst-header
...
Send `x-oasst-user` header to backend
2023-01-28 16:23:07 +09:00
Keith Stevens
b3f28d2bf3
Merge pull request #940 from rjmacarthy/refactor/tasks-page
...
website: Refactor task page routes and repetition
2023-01-28 16:07:42 +09:00
AbdBarho
4067bec03f
Remove unused i18n
2023-01-27 23:12:44 +01:00
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
AbdBarho
3c791efb79
Move api calls to oasst_api_client
2023-01-27 22:33:04 +01:00
AbdBarho
9429590a81
Move to factory
2023-01-27 22:33:04 +01:00
AbdBarho
59531c7d3d
userless client
2023-01-27 22:33:04 +01:00
AbdBarho
cdb9f2da4e
Send x-oasst-user header
2023-01-27 22:33:04 +01:00
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
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
notmd
ce3b3c7ecc
pass correct param when fetch leaderboard
2023-01-28 00:17:31 +07: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
Keith Stevens
cccf59dbd4
Merge pull request #928 from notmd/refactor_oasst_api_client
...
Refactor `OasstApiClient`
2023-01-26 17:11:41 +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
Adrian Cowan
9813b389f8
website: Fix errors when running storybook
2023-01-25 22:09:27 +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
c14bcd7c14
Fix dashboard translation keys
2023-01-24 19:20:59 +00: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
AbdBarho
17a685262d
Merge pull request #919 from LAION-AI/812-link-to-guide-on-dashboard
...
Adding an help link to the docs on the dashboard
2023-01-24 10:28:30 +01:00
Keith Stevens
b0cb6cf047
Adding an help link to the docs on the dashboard
2023-01-24 16:26:24 +09:00
Keith Stevens
3ddaad9d81
Adding a few top languages to the supported languages
2023-01-24 16:18:30 +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