* 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>
* 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>
Fix set_label id missing in payload use frontend_message_id
pre-commit
Refactor api fetcher/poster to axios create
lint
Remove string literal for path
Revert oasst_api_client.ts
Fix warning httpStatusCode OasstError optional parameter
Refactor remove api base url for local api
Lint add blank line