Conversation

Notices

  1. @hannes2peer  I noticed, with repeats, the tag for the remote instance is for the instance that repeated it, instead of where the notice was originally posted, This seems like it could be confusing?

    For instance, recently takanamy (who is on quitter.se) repeated something from nee (who is on a private instance), and the remote notice URL is in fact for quitter.se

    Is this by design? Is there a way we could tag it by the original instance that the notice was posted on, rather than the person who reposted it (or ideally, both?)

    Friday, 13-May-16 12:32:07 UTC from community.highlandarrow.com
    1. @maiyannah not sure, but my guess is that it happened because nee didn't have any followers on your instance when taknamay repeated

      Friday, 13-May-16 12:49:56 UTC from quitter.se
      1. @maiyannah now when you follow nee it looks like it has been corrected on https://community.highlandarrow.com/notice/118598

        Friday, 13-May-16 12:50:34 UTC from quitter.se
        1. @maiyannah but of course it would be better if the permalink was to nee's instance from the beginning

          Friday, 13-May-16 12:51:35 UTC from quitter.se
          1. @hannes2peer Well it looks like what happens, is the link does go to the original notice, but it gets tagged as from the repeating instance.

            Friday, 13-May-16 12:53:54 UTC from community.highlandarrow.com
      2. @hannes2peer This even happens when my own notices are repeated.  I am not sure if it is gnuSocial or Qvitter that does that tagging though.

        Friday, 13-May-16 12:50:57 UTC from community.highlandarrow.com
        1. @hannes2peer That could be a seperate problem though, because I notice things get a little funny when it's your own notice sometimes.

          Friday, 13-May-16 12:51:29 UTC from community.highlandarrow.com
        2. @maiyannah hm but what do you mean by "tag"?

          Friday, 13-May-16 12:53:40 UTC from quitter.se
          1. @hannes2peer The data-uri property points to the repeating instance, but the actual a href goes to the original instance specifically.

            Friday, 13-May-16 12:54:39 UTC from community.highlandarrow.com
            1. @hannes2peer Here is an illustration to show what I mean https://community.highlandarrow.com/attachment/27932

              Friday, 13-May-16 12:57:12 UTC from community.highlandarrow.com
              1. @hannes2peer (I typod @takegrapeakenji 's instance name in the note but I think you can see what I mean)

                Friday, 13-May-16 12:57:41 UTC from community.highlandarrow.com
              2. @maiyannah still not sure exactly what you mean. are you referring to the URI in the "data-uri" attribute?

                Friday, 13-May-16 13:08:14 UTC from quitter.se
                1. @hannes2peer Yep!  As far as I can tell the a href is the original notice, but the data-uri is the "copy" of the notice on the server that repeated it.  I'm not sure if this is intended or not.  It seems to me though like it's best to have it point to the original notice, not a copy.

                  Friday, 13-May-16 13:09:26 UTC from community.highlandarrow.com
                  1. @maiyannah the data-uri attribute is referring to the _repeat_ not the _repeated notice_, and that design is intentional

                    Friday, 13-May-16 13:10:14 UTC from quitter.se
                  2. @maiyannah do you need the uri of the _repeated notice_ for some reason? in that case we could easily add an data-original-uri attribute

                    Friday, 13-May-16 13:10:58 UTC from quitter.se
                    1. @hannes2peer That would be ideal, because I use these attributes for the "remote instance icons" CSS I use (and I am pretty sure @moonman does too), and it becomes confusing to have for instance the quitter.se icon on a notice that isn't from quitter.se

                      The data-original-uri attribute you suggest would fix this easily!  So that would be nice to have :)

                      Friday, 13-May-16 13:13:20 UTC from community.highlandarrow.com
                      1. @hannes2peer I think I managed this by adding into dom_functions.js this bit on line 2305:

                                                data-original-uri="' + obj.external_url + '" \

                        But I'm not sure if this is 100% correct.

                        Friday, 13-May-16 13:22:00 UTC from community.highlandarrow.com
                        1. @maiyannah why don't you use the href attribute in the ostatus-link element? 
                          .ostatus-link[href*="://quitter.se/"] {  }

                          Friday, 13-May-16 13:30:37 UTC from quitter.se
                          1. @hannes2peer I can't remember what issue I had but for some reason that didn't work.  Let me try now.

                            Friday, 13-May-16 13:32:09 UTC from community.highlandarrow.com
                            1. @hannes2peer Oh I remember, I didn't want to have to bother changing css if the instance goes between http and https, but your version there sidesteps that.

                              Friday, 13-May-16 13:35:10 UTC from community.highlandarrow.com
                              1. @hannes2peer Thanks!

                                Friday, 13-May-16 13:35:14 UTC from community.highlandarrow.com
                          2. @hannes2peer (ccing @moonman so he can see this too since it works better for attaching remote instance icons)

                            Friday, 13-May-16 13:37:19 UTC from community.highlandarrow.com