This commit adds support for chat stickers by allowing users to use stickers in chat message window.
The users can toggle show additional asset list using a button.
Added Additional assets file extension data.
Additional assets list shows preview.
Optimized render when use streaming api. (prevent markdown again when message not changed)
Added controls to Video/Audio Assets
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [x] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [x] Did you added a type def?
# Description
- Screenreader readable "Show Help" button.
Also modified checkbox
This commit adds new entries in the language files and UI support for auto-translate messages.
The new feature uses a textarea input field to translate messages as they are typed, and the translated text is shown in a new field. Also, the language settings now provide an option to enable/disable auto message translation.
The code changes include adding a new function to update the input sizes for both input fields and some minor code refactoring to support new functionality.
- Added 'copied' string to language translation in multiple translations file.
- Added 'CopyIcon' to svelte import.
- Defined a new status message variable in Chat.svelte.
- Created a new function 'setStatusMessage' to display the current panel's state after certain action.
- Added a new setting 'useChatCopy' in 'DisplaySettings.svelte'.
- Created a checkbox with label 'useChatCopy' to toggle the Chat message copy.
- Integrated Clipboard API in Chat code to handle chat message copy via button click.