Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI Changes with Text Area (Shift + Enter, Starting and Continuing Con…
…versation) (#1001) From the Jewel update, there were some changes to TextArea API, so I modified it to handle a Shift + Enter and Enter functionality. Shift + Enter will add a new line without sending, while Enter will send the message. I set the `keyboardOptions = KeyboardOptions(imeAction = ImeAction.None)` as a way to remove the default enter functionality TextArea has. https://github.com/user-attachments/assets/b529f2a5-cf94-462d-a288-370334f65766 UPDATE: I also added the functionality where if the conversation started already, then it will say "continue the conversation" instead of 'start" every time. The cursor looks off but I asked in #jewel in the kotlin-lang workspace for any tips to remedy that. https://github.com/user-attachments/assets/814a3053-2bb5-4c63-83d3-fa141a42ef84 (also still waiting on calling the API, which is why that isn't here) <!-- ⬆ Put your description above this! ⬆ Please be descriptive and detailed. Please read our [Contributing Guidelines](https://github.com/tinyspeck/foundry/blob/main/.github/CONTRIBUTING.md) and [Code of Conduct](https://slackhq.github.io/code-of-conduct). Don't worry about deleting this, it's not visible in the PR! -->
- Loading branch information