Conversation
📝 WalkthroughWalkthroughRemoves three wave drop interaction components and refactors the drop markdown rendering pipeline to thread embed depth, quote/embed path tracking, and cycle-prevention logic throughout link handlers and markdown renderers. Tests are updated to capture mocked component props for verification. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
__tests__/components/drops/view/part/dropPartMarkdown/linkHandlersRegistry.test.tsx (1)
162-164:⚠️ Potential issue | 🟡 MinorDuplicate type declaration:
EnsureStableSeizeLinkWithSetteris already defined at Lines 9–11.This type alias is identical to the one at the top of the file. Remove the duplicate.
🧹 Proposed fix
-type EnsureStableSeizeLinkWithSetter = typeof ensureStableSeizeLink & { - __setCurrentHref?: ((href?: string) => void) | undefined; -}; - const setEnsureCurrentHref = (href?: string) => {
🧹 Nitpick comments (1)
components/drops/view/part/dropPartMarkdown/handlers/seize.tsx (1)
62-68:quoteInfo.dropIdcheck appears unreachable for quote links.
parseSeizeQuoteLink(inSeizeLinkParser.ts, Lines 148–151) returnsnullwhen the URL has adropquery parameter, soquoteInfo.dropIdwill always beundefinedhere. This guard will never trigger in the quote handler path.This is harmless as defensive code, but it may give a false sense of coverage. If the intent is to guard against future changes to
parseSeizeQuoteLink, consider adding a comment explaining that.



Summary by CodeRabbit
Release Notes
New Features
Tests