Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(conversations): use ticket help copy as input placeholder (#61418)

Ben Lea984cba836886
diff --git a/products/conversations/frontend/components/Editor/SupportEditor.scss b/products/conversations/frontend/components/Editor/SupportEditor.scss
index 160fa791a38f..978c666f0f96 100644
--- a/products/conversations/frontend/components/Editor/SupportEditor.scss
+++ b/products/conversations/frontend/components/Editor/SupportEditor.scss
@@ -66,6 +66,15 @@
p {
margin-bottom: 0;
}
+
+ // Render the tiptap placeholder (exposed only as a data-placeholder attribute).
+ .is-empty:first-child::before {
+ float: left;
+ height: 0;
+ color: var(--color-text-tertiary);
+ pointer-events: none;
+ content: attr(data-placeholder);
+ }
}
}
diff --git a/products/conversations/frontend/components/SidePanel/NewTicket.tsx b/products/conversations/frontend/components/SidePanel/NewTicket.tsx
index 17b580d17dc9..aa786bad2e1c 100644
--- a/products/conversations/frontend/components/SidePanel/NewTicket.tsx
+++ b/products/conversations/frontend/components/SidePanel/NewTicket.tsx
@@ -11,7 +11,7 @@ export function NewTicket(): JSX.Element {
const { sendMessage, setView } = useActions(sidepanelTicketsLogic)
return (
- <div className="flex flex-col gap-3">
+ <div className="flex flex-col">
<div className="flex items-center gap-2">
<LemonButton
icon={<IconArrowLeft />}
@@ -22,14 +22,10 @@ export function NewTicket(): JSX.Element {
<span className="font-semibold">New ticket</span>
</div>
- <p className="text-sm text-muted-alt m-0">
- Describe what you need help with and our team will get back to you.
- </p>
-
<MessageInput
onSendMessage={(content, _richContent, _isPrivate, onSuccess) => sendMessage(content, onSuccess)}
messageSending={messageSending}
- placeholder="What can we help you with?"
+ placeholder="Describe what you need help with and our team will get back to you."
buttonText="Submit ticket"
minRows={4}
/>