• mozz@mbin.grits.dev
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    6 months ago

    Hey so check out what I just learned:

    To post a link to a post, just search for the URL of the fediverse-icon version of it on your instance, then link directly to that search, chopping off the https://{your instance} from the front

    And likewise for links to comments

    You’re still making the user do 2 clicks instead of 1, but it’s still quite a lot more convenient than the other thing. It could be made even nicer (arguably “good enough”) if the backend could transparently redirect to the first search result along the lines of “I’m feeling lucky,” but it doesn’t look like right now it can do that.

    • OpenStars@discuss.online
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 months ago

      No I don’t think comments works that way. For one, your search returns no results when accessed from on my instance, or from lemmy.world, etc. And for another, I have seen comments have different numerical tags after the instance name - e.g. mousing over the chain link icon vs. the colored fediverse graph sign icon shows the different values there.

      • mozz@mbin.grits.dev
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        6 months ago

        Hm. So I understand the different comment IDs on different servers – the point is that searching for https://discuss.online/comment/9004867 on lemmy.world should then return a link to that same comment, with the right ID number for lemmy.world, on lemmy.world. Because through its federation backend it’s able to fetch the comment in question from discuss.online and then determine what is the local ID number on lemmy.world. Exactly the same as how it works for posts.

        I just mucked around with it, and it works sometimes but not other times. I suspect that it’s because of backed up federation queues or too-short timeouts or something, but it definitely works some of the time. If it’s unreliable it may not be that good an idea to put into practice, though, of course.

        • OpenStars@discuss.online
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 months ago

          Here is an excellent comment from 3 days ago, so it should be federated everywhere by now? I just shared that link with someone else in fact, in an unrelated reply. I then went to Lemmy.World and searched for that link, but it does not find the original, although it does find my recent sharing of it. I also searched on reddthat.com, and saw the same behavior. And lemm.ee as well. So the “sometimes it works” effect may have some additional not-entirely-characterized triggers for that behavior, but it definitely does not work all the time as a “find this comment” feature as we are discussing.

          So as it now stands there is a way to use this search feature to find posts, but not reliably to find comments. Though that is still more than I knew a week ago before Blaze shared this trick with me then:-).