Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hjiangsu
Copy link
Member

Pull Request Description

This PR refactors and improves some of the post-related logic. This includes:

  • Simplified comment search logic and migrated logic to use CommentNode (rather than CommentViewTree)
  • Remove deprecated comment tree util functions as its no longer being used
  • Combined logic for selectCommentId and newlyCreatedCommentId into a single variable highlightedCommentId
  • Clean up some unused post bloc state variables

Issue Being Fixed

Issue Number: N/A

Screenshots / Recordings

Checklist

  • If a new package was added, did you ensure it uses an appropriate license and is actively maintained?
  • Did you use localized strings (and added appropriate descriptions) where applicable?
  • Did you add semanticLabels where applicable for accessibility?

Copy link
Member

@micahmo micahmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hjiangsu hjiangsu merged commit c22e0de into develop May 27, 2025
1 check passed
@hjiangsu hjiangsu deleted the chore/simplify-post-bloc branch May 27, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants