Hosted ongabo.esvia theHypermedia Protocol

Enhancement Note: Comments on moved documentshttps://linear.app/seedhypermedia/issue/SHM-1754/comments-on-moved-documents

    I have a document that was moved. Before it was moved, it had a comment, then we added another comment in the new location. The total number of comments on the relocated document is 2 and the frontend shows that.

    1

      Product Principles

        Thinking Tool for Cooperative Work.

        Extreme web decentralization.

        Authorship, Ownership, and Decentralized Permissions.

        Open Source.

        Authorship with your own keys.

        Developers will be able to build their own formats, views, plugins, and feeds.

    1

    However, the feed on that document shows only one comment.
    But a call with the lightclient shows that there are two comments

    Those comments are gettable with getComment

    So why does the feed show only one comment? one comment's path is …/doc1 and the other is …/tests/doc1. but this should not change anything, right? we said that I would not change the source on the fly to make you think an old document was on a path that it was not, right? so the frontend should know that that document was moved the same way you do when you click on a resource that is moved, right?

    horacio: you are suggesting to use the activity api instead of the comments api for this? I don't really mind to change honestly!

    Julio: Yes, I think that's the correct move. Otherwise you won't ever see those comments that were at the old location. But this is under the assumption that we want to show old activity (including comments) Otherwise we should hide them from the comment count too. Are we on the same page

    Alex Burdiyan : As long as we visually differentiate first-parte comments from comments on older locations I guess I'm ok. And we need to have it clear that those comments will not be synced when you only sync the document in its new location, because we don't track where this document may have been in the past.