Guillermo Hoardings
65969f172e
Add two files that were missing in the Spanish translation
2023-01-29 20:44:53 +01:00
Guillermo Hoardings
5b0a00d68d
Add website translations to Spanish
2023-01-29 20:26:54 +01:00
Keith Stevens
cc1a4bdcb4
Merge pull request #920 from LAION-AI/857-backend-token-decrypt
...
857 backend token decrypt
2023-01-29 19:31:16 +09:00
Adrian Cowan
8b152fad1d
website: Simplify isLoading handling
2023-01-29 20:48:30 +11:00
AbdBarho
aaefac97a8
Merge pull request #970 from othrayte/improve-e2e-test-reliability
...
website: Improve reliability of e2e tests
2023-01-29 09:18:35 +01:00
Keith Stevens
f8c9503ba6
merging with main
2023-01-29 15:18:49 +09:00
Keith Stevens
7072ae2a8d
Merge pull request #971 from othrayte/message-specific-labels
...
website: request message specific labels for on demand labelling
2023-01-29 15:16:23 +09:00
Keith Stevens
608bc0506a
Merge pull request #986 from occupytheweb/981_fix_typos_in_labelling_task
...
Fix two typos in the labelling translation file
2023-01-29 15:15:07 +09:00
Keith Stevens
b0ee9bea5f
Addressing review comments
2023-01-29 15:13:50 +09:00
Adrian Cowan
8d45a989d6
website: request message specific labels for on demand labelling
2023-01-29 12:41:15 +11:00
Alan Jean
bcecf257c7
Fix two typos in the labelling translation file
...
Fixes #981
2023-01-29 05:30:00 +04:00
Alan Jean
ccf96fd843
Refactor tasks translation file to have one placeholder per task-type
...
Fixes #979
2023-01-29 05:30:00 +04:00
Adrian Cowan
21c4a1263a
website: Add head to task pages even if no task and improve var name
2023-01-29 12:09:58 +11: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
e0e398fa8b
website: Improve reliability of e2e tests
2023-01-29 03:17:44 +11: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
46d20aff40
Final manual change
2023-01-28 21:13:58 +09:00
Keith Stevens
656d44529b
manually applying the lint fixes that get applied in GitHub actions
2023-01-28 20:53:02 +09:00
Keith Stevens
4709223e93
manually applying the lint fixes that get applied in GitHub actions
2023-01-28 20:47:45 +09:00
Keith Stevens
8a69f3541e
test
2023-01-28 20:44:14 +09:00
Keith Stevens
2e1abd3f69
Copying from #769 to implement mock service worker
2023-01-28 20:09:04 +09:00
Keith Stevens
3197b6088b
Using more pydantic features in the backend and fixing env issues on the website
2023-01-28 19:35:40 +09:00
Keith Stevens
3dc8ff6ddd
Fixing a build error from merging
2023-01-28 19:22:24 +09:00
Keith Stevens
c333ecd27a
Merging from main
2023-01-28 18:05:56 +09:00
Keith Stevens
9541607473
Small change to simplify the demo call to the backend
2023-01-28 18:02:01 +09:00
Keith Stevens
75c4f90db3
Reverting some uneccesary changes
2023-01-28 17:58:52 +09: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