GithubHelp home page GithubHelp logo

Add connector for Comments about stream HOT 4 CLOSED

fjarrett avatar fjarrett commented on May 30, 2024
Add connector for Comments

from stream.

Comments (4)

shadyvb avatar shadyvb commented on May 30, 2024

Added Comment flooding since WP checks for the last commit you have before allowing you to post a new comment.

from stream.

shadyvb avatar shadyvb commented on May 30, 2024

@fjarrett Regarding 'Comment::Replied' action, would it be stored as a single record if a user replied to a comment, or would a 'Comment::Created' record be created as well ? I took the approach of not adding the 'Created' record in this scenario, hopefully it'd be mitigated by users ( or extensions 👍 ) querying the database.

from stream.

shadyvb avatar shadyvb commented on May 30, 2024

@fjarrett Actually the same thing happens with 'Comment::Approved' since some comments would get approved automatically on insertion, while others would not. I think this scenario requires an explicit second record for the approval action, to make it easy for users to query such actions, otherwise the query for approvals would need to check meta table for comment_approved meta field. Thoughts ?

from stream.

shadyvb avatar shadyvb commented on May 30, 2024

@fjarrett Final result:

  • Adding a comment, while auto-approve is on, triggers two records ( created / approved )
  • Adding a reply, adds an extra records ( 2 or 3 records per reply, depending on auto-approve )

Let me know what do you think should happen here.

from stream.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.