feat(comments): support file mentions (#20447)

This commit is contained in:
Shoubhit Dash 2026-04-01 16:11:57 +05:30 committed by GitHub
parent 47a676111a
commit a3a6cf1c07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 258 additions and 2 deletions

View file

@ -1046,6 +1046,9 @@ export default function Page() {
onLineCommentUpdate={updateCommentInContext}
onLineCommentDelete={removeCommentFromContext}
lineCommentActions={reviewCommentActions()}
commentMentions={{
items: file.searchFilesAndDirectories,
}}
comments={comments.all()}
focusedComment={comments.focus()}
onFocusedCommentChange={comments.setFocus}