Skip to content

Finalize Comment Template Properties #1429

@Paul-Hebert

Description

@Paul-Hebert

The Comment pattern has a number of properties.

The primary property is an object matching a Timber Comment. In addition to that it exposes a few other properties:

  • allow_replies: A boolean property that controls whether to show a reply button and form
  • logged_in_user: user object
  • log_out_url: URL used for log out link.
  • source: An optional object containing a url and name for the comment source.
  • demo_post_author: Whether the commenter is the author
  • demo_cloud_four_member: Whether the commenter is a team member.

Right now there's no way to pass these properties down to child comments (replies).

I think most of these probably are fine to not pass down, but the last two (demo_post_author, demo_cloud_four_member) will need to be passed down. We should explore how we'll integrate these in Wordpress, rename the properties, and make any necessary changes to the patterns.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions