-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Refs #17475, pbArwn-2ks-p2#comment-4358, and pbArwn-38X-p2
Reuse the content cell from CommentDetailViewController, reuse logic where possible, and customize as needed. Here's a list of expected changes to the content cell:
| Description | Design |
|---|---|
| Author badge | ![]() |
| Highlighted comment1 | ![]() |
| Top-level only separators | ![]() |
| Pending comments | ![]() |
| Reply button active state | ![]() |
Tasks
- Reader Comments: Display the new content cell #17532
- Reader Comments: Update reaction bar logic #17535
- Reader Comments: Show ellipsis button when comment can be moderated #17557
- Reader Comments: Show separator for last leaf comments #17549
- Reader Comments: Indent cells according to comment depth #17551
- Parse comment author's ID from API:
- Show author badge:
- Update WordPressKit to populate
authorIDinRemoteReaderPost. Addressed in Comments: Parse author dotcom ID WordPressKit-iOS#469. - Parse
authorIDinReaderPost. Addressed in Comments: Add author ID field. #17566 - Reader Comments: Show the author badge for comments from author #17589
- Update WordPressKit to populate
- Implement logic for when the Reply and Like buttons are tapped. Addressed in Reader Comments: Handle content cell action buttons #17600.
- Handle when links in the comment body are tapped. Addressed in Reader Comments: Handle content cell action buttons #17600.
- Update the Reply button state when the reply text view is "targeting" the comment. Addressed in Reader Comments: Highlight the cell when it's focused or navigated to #17656.
- Implement the cell highlight animation when navigating to a specific comment. Addressed in Reader Comments: Highlight the cell when it's focused or navigated to #17656.
Display comments using the previous mechanism
- Reader Comments: Refactor content cell to have configurable render method #17634
- Reader Comments: Implement comment rendering via WPRichContent #17635
Issues
- The header cell sometimes goes missing after scrolling a lot of rows.
Postponed
- Show pending comments from self. See:
pbArwn-2ks-p2#comment-4417 - Optimize table view performance. We'll revert to the previous rendering mechanism for now.
Footnotes
-
pbArwn-2ks-p2#comment-3375– when navigating to a specific comment in the thread, the comment should be highlighted for a second. ↩




