mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2025-12-27 18:24:23 +01:00
feat: Remove 4000 character limit for new chat input (#44)
- Remove maxLength={4000} constraint from textarea
- Remove character count display showing "/4000"
- Allow unrestricted message length input
Closes #38
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -364,7 +364,6 @@ export const ChatInput: FC<ChatInputProps> = ({
|
||||
placeholder={placeholder}
|
||||
className={`${minHeight} resize-none border-0 focus-visible:ring-0 focus-visible:ring-offset-0 bg-transparent px-5 py-4 text-lg transition-all duration-200 placeholder:text-muted-foreground/60`}
|
||||
disabled={isPending || disabled}
|
||||
maxLength={4000}
|
||||
aria-label={i18n._("Message input with completion support")}
|
||||
aria-describedby={helpId}
|
||||
aria-expanded={message.startsWith("/") || message.includes("@")}
|
||||
@@ -422,7 +421,6 @@ export const ChatInput: FC<ChatInputProps> = ({
|
||||
id={helpId}
|
||||
>
|
||||
{message.length}
|
||||
<span className="text-muted-foreground/50">/4000</span>
|
||||
</span>
|
||||
{(message.startsWith("/") || message.includes("@")) && (
|
||||
<span className="text-xs text-blue-600 dark:text-blue-400 font-medium flex items-center gap-1">
|
||||
|
||||
Reference in New Issue
Block a user