Skip to content

Reader Comments: Reuse the new comment content cell #17476

@dvdchr

Description

@dvdchr

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 Screen Shot 2021-11-16 at 18 12 55
Highlighted comment1 Screen Shot 2021-11-16 at 18 14 32
Top-level only separators Screen Shot 2021-11-16 at 18 16 11
Pending comments Screen Shot 2021-11-16 at 18 15 09
Reply button active state Screen Shot 2021-11-16 at 18 17 37

Tasks

Display comments using the previous mechanism

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

  1. pbArwn-2ks-p2#comment-3375 – when navigating to a specific comment in the thread, the comment should be highlighted for a second.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions