fix(inbox): make Discuss question input a resizable textarea#2375
Merged
Conversation
Replaces the single-line Discuss question input with a multi-line textarea that defaults to 5 rows and is vertically resizable from the bottom-right corner. The popover is widened to 420px so the textarea has room to breathe, and Cmd/Ctrl+Enter now submits since plain Enter inserts a newline. Generated-By: PostHog Code Task-Id: c0576d3a-347b-464c-ae04-6300f46e870d
Contributor
Prompt To Fix All With AIFix the following 1 code review issue. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 1
apps/code/src/renderer/features/inbox/components/detail/ReportDetailPane.tsx:577-579
The keyboard hint always shows the Mac `⌘` symbol, but non-Mac users must press Ctrl+Enter. The existing "Create PR" shortcut right below in the same file already uses `isMac` from `@utils/platform` to render the correct label per platform — this hint should do the same.
```suggestion
<Text size="1" color="gray">
<Kbd>{isMac ? "⌘" : "Ctrl"}</Kbd> <Kbd>↵</Kbd> to send
</Text>
```
Reviews (1): Last reviewed commit: "fix(inbox): make Discuss question input ..." | Re-trigger Greptile |
Comment on lines
+577
to
+579
| <Text size="1" color="gray"> | ||
| <Kbd>⌘</Kbd> <Kbd>↵</Kbd> to send | ||
| </Text> |
Contributor
There was a problem hiding this comment.
The keyboard hint always shows the Mac
⌘ symbol, but non-Mac users must press Ctrl+Enter. The existing "Create PR" shortcut right below in the same file already uses isMac from @utils/platform to render the correct label per platform — this hint should do the same.
Suggested change
| <Text size="1" color="gray"> | |
| <Kbd>⌘</Kbd> <Kbd>↵</Kbd> to send | |
| </Text> | |
| <Text size="1" color="gray"> | |
| <Kbd>{isMac ? "⌘" : "Ctrl"}</Kbd> <Kbd>↵</Kbd> to send | |
| </Text> |
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/code/src/renderer/features/inbox/components/detail/ReportDetailPane.tsx
Line: 577-579
Comment:
The keyboard hint always shows the Mac `⌘` symbol, but non-Mac users must press Ctrl+Enter. The existing "Create PR" shortcut right below in the same file already uses `isMac` from `@utils/platform` to render the correct label per platform — this hint should do the same.
```suggestion
<Text size="1" color="gray">
<Kbd>{isMac ? "⌘" : "Ctrl"}</Kbd> <Kbd>↵</Kbd> to send
</Text>
```
How can I resolve this? If you propose a fix, please make it concise.Generated-By: PostHog Code Task-Id: c0576d3a-347b-464c-ae04-6300f46e870d
sortafreel
approved these changes
May 26, 2026
Basit-Balogun10
pushed a commit
to Basit-Balogun10/posthog-code
that referenced
this pull request
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The optional "Discuss" question input on inbox report details is a single-line
TextFieldcramped inside a 320px popover. Users have started using Discuss to ask longer questions (and even series of questions) and the tiny one-liner is awkward — most of what they type is hidden off-screen.Changes
TextField.Rootfor a RadixTextAreaso it's multi-line by default.rows={5}for a noticeably taller default height.resize="vertical"so users can drag from the bottom-right to make it bigger when they want to type more.How did you test this?
pnpm --filter code typecheckpasses.biome checkon the changed file passes.Publish to changelog?
no
Created with PostHog Code