Coder Social home page Coder Social logo

Comments (3)

rigelk avatar rigelk commented on May 22, 2024 2

I know there is ongoing work to make the comment system ActivityPub-compatible, and my propositions don't interfere with it. They are mainly display/metrics features on the PeerTube instance(s).

As suggested by aluriak/@Aluriak:

We should allow to replace the comment system per-video in case the author wants extra features (i.e.: a link to a framapad, framacolibri, framaforms, arguman or framindmap). It would be so powerful for content producers that have punctual and specific needs (Q&A, challenge, debate, etc.).

To keep things simple, we should keep the traditional comment system working and advertise the link above, as a per-video (or series or video if we make that happen) override.

Why not let authors get comments as a file? It's so much simpler to count the number of participants to a game/competition in the comments with a text editor and Ctrl+f rather than with a web interface where you have to manually go through.

I don't agree with everything, but giving content creators a way to better communicate is definitely in the spirit of PeerTube. Give them a .csv (maybe capping to a size) for the simplest cases, and an API so that their fellow developer friends can build tools to help them deal with popularity.

A tree-like system as seen on reddit.com? A search by filter system on the comments ?

A way to display comments that has worked well in reddit is the tree-like display where comments that are up-voted the most are shown closer to the video. It could be the default display format based on the number of cumulated boosts/favorites, for instance, with a fallback on inverse chronological ordering.

Then, search of comments might be of lower priority, especially since it's only a display feature that is superseded by the aforementioned API/file comment retrieval.

from peertube.

Chocobozzz avatar Chocobozzz commented on May 22, 2024 1

Working branch: https://github.com/Chocobozzz/PeerTube/tree/feature/comments

I'll do a simple comment system first, and then we'll add your proposals in other issues @rigelk.

Main goal -> tree-like system (Mastodon, Reddit...):

  • A video has 0..n comment threads
  • Each thread has 1..n comments
  • A comment could be a reply to another comment

from peertube.

Chocobozzz avatar Chocobozzz commented on May 22, 2024 1

Implemented.

Demo: https://peertube.cpy.re/videos/watch/da2b08d4-a242-4170-b32a-4ec8cbdca701

from peertube.

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.