manekinekko / manekinekko/angular2-drupal
Extension fields on comments
@areai51 is already working on this.
Since Jan 25, 2016.
- Dominant language
- PHP
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
A major feature of Drupal as a CMS is the ability to extend all content entities, including comments, with fields that can collect and persist data with the entity. For example, a site builder can add a "rating" field to comments, which would then allow users to add a 1-5 star rating about the thing they are commenting on (as on amazon.com reviews). Or, a site builder can add a "flag" field to comments, which would provide no UI when initially adding a comment, but after the comment is saved, all users, including the original comment author, could toggle this flag, and see the total number of users who did so (as with Facebook's Like/Unlike or Amazon's Helpful/Unhelpful). The UI for these fields are currently all implemented in PHP code. So, what changes would be required of these fields to integrate with the JS-framework-driven UI? Until they make those changes, can they still function (even if suboptimally) within this new UI?
Dedicated Drupal thread https://github.com/acquia/js-exploration/issues/4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.