Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
ApprovabilityVerdict: Needs human review This PR adds substantial new UI capability for markdown file links including a new component with tooltips, context menus, path disambiguation, and ~650 lines of new code. While technically safe (pure display logic with tests), it introduces meaningful new user-facing behavior that warrants human review before merging. You can customize Macroscope's approvability policy. Learn more. |
What Changed
This tightens the UX for markdown-rendered local file links and keeps file-path presentation more consistent across assistant surfaces.
Why
Assistant messages were hard to scan when they referenced the same filename multiple times, especially when the visible markdown text was just
menu.tsxorMessagesTimeline.tsxrepeatedly. The useful context existed in the href, but the UI was not surfacing it well.This approach keeps the change small and local to existing rendering paths:
UI Changes
Before:
After:
Screenshots:



CHIPS
CONTEXT MENU
HOVER TOOLTIP
Checklist
Note
Render markdown file links as styled chips with tooltips, line/column labels, and editor actions
· L1or· L1:C7), and duplicate basenames are disambiguated by showing parent path segments.formatWorkspaceRelativePathin filePathDisplay.ts andresolveMarkdownFileLinkMetain markdown-links.ts to compute workspace-relative display paths with parsed line/column.Macroscope summarized 4fac05f.