mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 00:17:17 +08:00
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:
@ -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}}
|
||||
|
Reference in New Issue
Block a user