Skip to content

Refactor message input#7

Merged
camjohnson-code merged 4 commits intomainfrom
fix/chat-formatting
Oct 28, 2025
Merged

Refactor message input#7
camjohnson-code merged 4 commits intomainfrom
fix/chat-formatting

Conversation

@camjohnson-code
Copy link
Copy Markdown
Owner

Summary

Refactors the message input to a text area instead of an Input. Allows for entering text on a new line.

Notes

N/a

@netlify
Copy link
Copy Markdown

netlify bot commented Oct 28, 2025

Deploy Preview for ubiquitous-croissant-9dc4c9 ready!

Name Link
🔨 Latest commit 64e3ba9
🔍 Latest deploy log https://app.netlify.com/projects/ubiquitous-croissant-9dc4c9/deploys/69012a5c2fc827000840be65
😎 Deploy Preview https://deploy-preview-7--ubiquitous-croissant-9dc4c9.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces the single-line Input component with a multi-line auto-resizing textarea element in the chat interface, enhancing the user experience by allowing multi-line message composition.

Key changes:

  • Replaced Input component with native textarea element for multi-line support
  • Added auto-resize functionality that expands as users type (up to 128px max height)
  • Implemented Enter key to submit (Shift+Enter for new line) and disabled send button when input is empty

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

Copilot AI commented Oct 28, 2025

@camjohnson-code I've opened a new pull request, #8, to work on those changes. Once the pull request is ready, I'll request review from you.

@camjohnson-code camjohnson-code merged commit 813b80b into main Oct 28, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants