* website: show language in text area
When the language hasn't been detected (too little text) the langauge that it will be submitted as is shown. When we detect the language is not what will be submitted we show the detected language in red. The tooltip informs the user that they don't appear to be writing in the correct language.
Note: this replaces the modal dialog that we use to popup if the language appeared to differ.
* website: Don't suggest the user change the language
close#1000 maybe #1178 too
* Show current user rank in the leaderboard with +-1 user (only on leaderboard
* Extend auto_main script to use random user.
* Support colSpan in the DataTable component (I haven't verified colSpan in header yet, leave that until we need it)
* Refactor OasstError to include the path and request method.
* added button for toggling color mode in nav bar
* removed border from color-theme toggle button
* removed padding around sun icon and made header title slighty responsive
* lower gap between navigation buttons for mobile
* add new apis to oasst client
* add tos handler
* Add ToS to Dashboard
* use Provider for ToS
* simplify provider
* fix error
* Inject into JWT
* primitive error handling
* update comment
* address review
The issue was the omtimised build was optimising the "+1" object key name to just "1" causing the context menu to try to shown an undefined emoji icon.
Remove deleted property from Message
Add dedicated route for delete_message
Pre-commit
Revert change to promp_repository fetch_message
Remove blank line
Desciptions are shown both via tooltips, which are easier to read on desktop browsers, and via an explain (i) button so that mobile users can get the description (though in one larger list).
Fixes the misuse of the i18n lib which caused the task instruction not
to appear above the response text-area when an 'instruction' translation
key exists for the current task.
Fixes#1058
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.