FIX: increase chat thread title limit (#30006)

This will ensure AI generated titles don't appear as out of range in the UI and also allow users to set longer titles. The limit in DB was already 100 so it's just a simple frontend change.
This commit is contained in:
Joffrey JAFFEUX 2024-11-30 00:42:20 +01:00 committed by GitHub
parent 877b03c7ae
commit c42248670d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -66,13 +66,13 @@ export default class ChatModalThreadSettings extends Component {
<Input
name="thread-title"
class="chat-modal-thread-settings__title-input"
maxlength="50"
maxlength="100"
placeholder={{i18n "chat.thread_title_modal.input_placeholder"}}
@type="text"
@value={{this.editedTitle}}
/>
<div class="thread-title-length">
<span>{{this.threadTitleLength}}</span>/50
<span>{{this.threadTitleLength}}</span>/100
</div>
{{#if this.currentUser.admin}}