Commit Graph

13 Commits

Author SHA1 Message Date
Adrian Cowan 530d3e1d1d website: Add missing message features in label initial prompt
Now the backend passes a single message conversation for the label initial prompt task,
this allows us to just show the conversation the same way we do for the other labelling tasks.

The MessageView component was now no longer used and all messages shown are using MessageTableEntry.
2023-02-01 19:36:52 +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
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
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
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
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
Adrian Cowan a6d23821be website: Highlight target message 2023-01-23 22:49:30 +11:00
Adrian Cowan 007773a3f5 website: Switch to likert style labelling 2023-01-23 21:51:17 +11:00
Keith Stevens ac5a0e8157 Adding links to external documentation for tasks and in footers 2023-01-17 15:11:33 +09:00
Keith Stevens cf29f544eb Merge branch 'main' into 763-make-labels-required 2023-01-17 08:58:29 +09:00
Keith Stevens a2f68c7259 Require labels to be set on labeling task and setting up basic storybook stories for tasks 2023-01-16 18:51:01 +09:00