Conversation
…ks in signal source config
Renames the "Conversations" PostHog source card to "Support" to match the
PostHog Cloud UI. Adds a "Learn about {product}" external link to each
PostHog product card (Error Tracking, Support, Session Replay, LLM
Analytics) so users can discover the underlying product before setting
it up as a signal source.
Generated-By: PostHog Code
Task-Id: 8c5abb90-2665-4f5a-9138-eb3d0b3b08d4
Twixes
approved these changes
Apr 22, 2026
Prompt To Fix All With AIThis is a comment left during a code review.
Path: apps/code/src/renderer/features/inbox/components/SignalSourceToggles.tsx
Line: 216-241
Comment:
**Duplicated docs-link markup (OnceAndOnlyOnce)**
The docs-link JSX in `EvaluationsSection` is an exact copy of the one now rendered by `SignalSourceToggleCard` when `docsUrl` is provided. The URL string `"https://posthog.com/docs/llm-analytics"` is also repeated twice inside the same block (once in `href`, once in `window.open`).
Consider extracting a small shared component (e.g. `DocsLink`) and reusing it here, the same way the three PostHog cards use the new `docsUrl`/`docsLabel` props:
```tsx
function DocsLink({ url, label }: { url: string; label: string }) {
return (
<Text size="1" style={{ color: "var(--gray-11)" }}>
<a
href={url}
target="_blank"
rel="noopener noreferrer"
onClick={(e) => {
e.stopPropagation();
e.preventDefault();
window.open(url, "_blank", "noopener");
}}
style={{
color: "var(--accent-11)",
textDecoration: "none",
display: "inline-flex",
alignItems: "center",
gap: "4px",
}}
>
Learn about {label}
<ArrowSquareOutIcon size={11} />
</a>
</Text>
);
}
```
Then both `SignalSourceToggleCard` and `EvaluationsSection` can simply render `<DocsLink url="..." label="..." />`.
How can I resolve this? If you propose a fix, please make it concise.Reviews (1): Last reviewed commit: "feat(inbox): Rename Conversations to Sup..." | Re-trigger Greptile |
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.
Summary
Follow-up to Annika's signal-sources onboarding feedback:
The internal
conversationssource key/enum is unchanged — only the user-facing label (and the toast label viaSOURCE_LABELS) was renamed.Test plan
Created with PostHog Code