Conversation
Contributor
Greptile SummaryThis PR improves the "copy transcript" feature and the AI chat context in both the conversations webapp and the memories frontend so that tagged person names (e.g. "Marcus") are shown instead of generic "Speaker 0/1/2" labels. The changes are minimal and well-scoped: the people lookup is threaded through existing prop chains and the fallback behavior (unknown person → Key changes:
Notes:
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Copy Transcript / Build Chat Context] --> B{segment.is_user?}
B -- Yes --> C["Speaker = 'You' / 'Owner'"]
B -- No --> D{segment.person_id AND people provided?}
D -- Yes --> E[people.find p.id === segment.person_id]
E -- Found --> F[Speaker = person.name]
E -- Not Found --> G{ConversationActionsMenu only: segment.speaker_name?}
G -- Yes --> H[Speaker = segment.speaker_name]
G -- No --> I["Speaker = 'Speaker {speaker_id}'"]
D -- No --> J{ConversationActionsMenu only: segment.speaker_name?}
J -- Yes --> K[Speaker = segment.speaker_name]
J -- No --> L["Speaker = 'Speaker {speaker_id}'"]
C --> M[Append 'Speaker: text' line]
F --> M
H --> M
I --> M
K --> M
L --> M
M --> N[Join all lines with double newline]
Last reviewed commit: e2b8f89 |
mdmohsin7
approved these changes
Mar 10, 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.
Summary
Demo
Before
Screen.Recording.2026-03-10.at.8.22.39.AM.mov
After
Screen.Recording.2026-03-10.at.8.23.33.AM.mov
🤖 Generated with Claude Code