feat(activity-feed-v2): add highlight state to comments#4672
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughAdds comment selection from ActivityFeedV2 into ActivitySidebar navigation, highlights the active feed entry in feed rows, and updates the ChangesComment select and highlight flow
Estimated code review effort: 2 (Simple) | ~15 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
e72f947 to
58aba9c
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@package.json`:
- Around line 148-152: The peer dependency for `@box/threaded-annotations` is
still on the old major while the package already uses the newer version in
devDependencies and lockfile. Update the peerDependencies entry in package.json
to match the current supported major version used by the rest of the package,
keeping the change aligned with the existing dependency symbols in package.json
so downstream installs accept the newer release.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 0e56402f-b43b-40ac-bc4a-b4597d9941d3
⛔ Files ignored due to path filters (1)
yarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (6)
package.jsonsrc/elements/content-sidebar/ActivitySidebar.jssrc/elements/content-sidebar/activity-feed-v2/ActivityFeedV2.tsxsrc/elements/content-sidebar/activity-feed-v2/FeedItemRow.tsxsrc/elements/content-sidebar/activity-feed-v2/__tests__/FeedItemRow.test.tsxsrc/elements/content-sidebar/activity-feed-v2/types.ts
9b8b2fd to
2dcf7f8
Compare
Merge Queue Status
This pull request spent 10 seconds in the queue, including 1 second running CI. Required conditions to merge
|
Summary
scrollTo(edits tocomment_marker_selecthandler). This leverages the existingactiveFeedEntryIdmechanism which handles both scrolling and state management.annotations_active_set), so only timestamped comments need routing here.activeFeedEntryIddown toFeedItemRowand setisHighlightedonThreadedAnnotationfor both comments and annotations, giving the active thread a visual highlight when we navigate to its deep link.@box/threaded-annotationsto the latest version so that we can useisHighlightedprop/stylesTest plan
Summary by CodeRabbit