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.

chore: change icon and show always (#58829)

Alex Vc008b2df3d8f
diff --git a/frontend/src/scenes/persons/PersonDisplay.tsx b/frontend/src/scenes/persons/PersonDisplay.tsx
index e2e17c60f0c3..5292a2160a04 100644
--- a/frontend/src/scenes/persons/PersonDisplay.tsx
+++ b/frontend/src/scenes/persons/PersonDisplay.tsx
@@ -125,7 +125,7 @@ export function PersonDisplay({
<span className={clsx('ph-no-capture', !noEllipsis && 'truncate')}>{display}</span>
{showComposeButton && personDistinctId && (
<span
- className="opacity-0 group-hover/person:opacity-100 transition-opacity ml-1 shrink-0"
+ className="ml-1 shrink-0"
onClick={(e) => {
e.stopPropagation()
e.preventDefault()
diff --git a/products/conversations/frontend/components/ComposeTicket/ComposeTicketButton.tsx b/products/conversations/frontend/components/ComposeTicket/ComposeTicketButton.tsx
index edae00b795b2..c3e268538fd5 100644
--- a/products/conversations/frontend/components/ComposeTicket/ComposeTicketButton.tsx
+++ b/products/conversations/frontend/components/ComposeTicket/ComposeTicketButton.tsx
@@ -2,7 +2,7 @@ import { useActions, useValues } from 'kea'
import { router } from 'kea-router'
import { useState } from 'react'
-import { IconPlus, IconComment } from '@posthog/icons'
+import { IconLetter } from '@posthog/icons'
import { LemonButton, LemonButtonProps } from '@posthog/lemon-ui'
import { FEATURE_FLAGS } from 'lib/constants'
@@ -70,7 +70,7 @@ export function ComposeTicketButton({
<LemonButton
type={type}
size={size}
- icon={iconOnly ? <IconComment /> : <IconPlus />}
+ icon={<IconLetter />}
tooltip={iconOnly ? 'New ticket' : undefined}
onClick={() => {
if (conversationsEnabled) {
diff --git a/products/conversations/frontend/scenes/ticket/SupportTicketScene.tsx b/products/conversations/frontend/scenes/ticket/SupportTicketScene.tsx
index 3d49938c62f8..070192dcc71e 100644
--- a/products/conversations/frontend/scenes/ticket/SupportTicketScene.tsx
+++ b/products/conversations/frontend/scenes/ticket/SupportTicketScene.tsx
@@ -232,6 +232,7 @@ export function SupportTicketScene({ ticketId }: { ticketId: string }): JSX.Elem
}
}
withIcon
+ withComposeTicketButton
/>
<div className="my-3 border-t" />
</>