Skip to content

fix(web): show memory owner name in shared memory card - #16751

Merged
wangq8 merged 3 commits into
infiniflow:mainfrom
euvre:fix/memory-show-owner-name
Jul 8, 2026
Merged

wangq8 merged 3 commits into
infiniflow:mainfrom
euvre:fix/memory-show-owner-name

Conversation

@euvre

@euvre euvre commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

When a team member views a memory shared by the team owner, the memory card did not display the owner's name in the bottom-right corner. This PR adds the owner name to the shared memory card, consistent with how shared agents and datasets show the sharer's nickname.

Changes

  • Updated web/src/pages/memories/memory-card.tsx to pass data?.owner_name to the HomeCard sharedBadge prop via the existing SharedBadge component.
  • The badge is automatically hidden when the owner is the current user, matching existing behavior for agent/dataset cards.
  • Added a screenshot under docs/images/memory-owner-name-fix.jpeg to demonstrate the fix.

Screenshot

Memory card showing owner name

Related Issue

  • UI feedback: teammates viewing shared memories could not identify the memory owner.
image

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 8, 2026
@euvre euvre added the ci Continue Integration label Jul 8, 2026
@coderabbitai

coderabbitai Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

MemoryCard now imports SharedBadge and passes it as a sharedBadge prop to HomeCard, displaying the memory owner's name.

Changes

Memory Card Shared Badge

Layer / File(s) Summary
Add shared owner badge to MemoryCard
web/src/pages/memories/memory-card.tsx
Imports SharedBadge and passes a sharedBadge prop to HomeCard displaying data?.owner_name.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

A badge appears, so neat and small,
Showing owner's name to all,
Two little lines, a hop, a cheer,
This bunny's proud the code is clear! 🐰🏷️

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly matches the main change: showing the memory owner name in the shared memory card.
Description check ✅ Passed The description includes the required summary and explains the purpose of the UI fix, with helpful implementation details.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@wangq8
wangq8 merged commit 7001981 into infiniflow:main Jul 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants