• mozz@mbin.grits.dev
    link
    fedilink
    arrow-up
    0
    ·
    5 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
      0
      ·
      5 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
        2
        ·
        5 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.