Skip to content
  • Categories
  • Recent
  • Popular
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB-ActivityPub Bridge Test Instance

  1. Home
  2. Categories
  3. Uncategorized
  4. đź‘‹ Everyone: see what you think:

đź‘‹ Everyone: see what you think:

Scheduled Pinned Locked Moved Uncategorized
fediversefedidevmastodev
35 Posts 4 Posters 8 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tchambers@indieweb.socialT tchambers@indieweb.social

    @trwnh @timbray Why wouldn’t my JavaScript backup for non-compliant browesrs address that consern? I might be missing something….

    trwnh@mastodon.socialT This user is from outside of this forum
    trwnh@mastodon.socialT This user is from outside of this forum
    trwnh@mastodon.social
    wrote last edited by
    #13

    @tchambers the rewriting is the issue, because there is a very real and very likely chance that there is no way to handle web+ap: links. they might work for you as a visitor to a mastodon-powered website, but the minute you send them to someone else you are necessarily expecting them to have a protocol handler set up, which they almost certainly will not. we want to preserve https: links in almost every single case. inside the fedi web browser, you can intercept clicks instead.

    tchambers@indieweb.socialT 1 Reply Last reply
    0
    • trwnh@mastodon.socialT trwnh@mastodon.social

      @tchambers the rewriting is the issue, because there is a very real and very likely chance that there is no way to handle web+ap: links. they might work for you as a visitor to a mastodon-powered website, but the minute you send them to someone else you are necessarily expecting them to have a protocol handler set up, which they almost certainly will not. we want to preserve https: links in almost every single case. inside the fedi web browser, you can intercept clicks instead.

      tchambers@indieweb.socialT This user is from outside of this forum
      tchambers@indieweb.socialT This user is from outside of this forum
      tchambers@indieweb.social
      wrote last edited by
      #14

      @trwnh I get that: but couldn’t we reasonably assume that every browser will have JavaScript support? Why doesn’t that back up alleviate that issue?

      trwnh@mastodon.socialT 1 Reply Last reply
      0
      • trwnh@mastodon.socialT trwnh@mastodon.social

        @tchambers @timbray

        i'm starting to get a little incredulous at the sheer number of times people suggest new protocol schemes and handlers for what is still fundamentally an HTTP resource

        if we switched to serving web+activity: or fedi: or whatever, that'd be a horrific regression in UX because clicking/copying links would *break* for most people

        the problem is most "fedi" apps are building a web browser inside a web browser. that's the fundamental ux sin. all else stems from that.

        julian@fietkau.socialJ This user is from outside of this forum
        julian@fietkau.socialJ This user is from outside of this forum
        julian@fietkau.social
        wrote last edited by
        #15

        @trwnh @tchambers @timbray So, for a decent while I had a misunderstanding about "web+something" schema handlers: I thought part of their point was to use the registered handler if the person has one set up, and fall back to opening them in the browser if they don't.

        I guess that isn't how they work in reality. But wouldn't it be useful if they did?

        trwnh@mastodon.socialT 1 Reply Last reply
        0
        • julian@fietkau.socialJ julian@fietkau.social

          @trwnh @tchambers @timbray So, for a decent while I had a misunderstanding about "web+something" schema handlers: I thought part of their point was to use the registered handler if the person has one set up, and fall back to opening them in the browser if they don't.

          I guess that isn't how they work in reality. But wouldn't it be useful if they did?

          trwnh@mastodon.socialT This user is from outside of this forum
          trwnh@mastodon.socialT This user is from outside of this forum
          trwnh@mastodon.social
          wrote last edited by
          #16

          @julian @tchambers @timbray indeed, web+ is just a conventional prefix, and unregistered schemes will not be handled at all. there is no fallback.

          text someone a web+ap: link and their messaging client won’t linkify it. even if it did, clicking the link would do nothing for most people. you need to go out of your way to register a protocol handler.

          web+ schemes also don’t need to follow the format of https: either! web+soup:chicken-noodle is valid. (what would the fallback for that even be?)

          1 Reply Last reply
          0
          • tchambers@indieweb.socialT tchambers@indieweb.social

            @trwnh I get that: but couldn’t we reasonably assume that every browser will have JavaScript support? Why doesn’t that back up alleviate that issue?

            trwnh@mastodon.socialT This user is from outside of this forum
            trwnh@mastodon.socialT This user is from outside of this forum
            trwnh@mastodon.social
            wrote last edited by
            #17

            @tchambers if the javascript performs a rewrite, then the resulting link is useless to anyone who hasn’t registered a protocol handler.

            (also, no, we can’t and shouldn’t assume javascript as a requirement for a protocol scheme. even if we did, there are still issues with the proposed “back up” as above.)

            tchambers@indieweb.socialT 1 Reply Last reply
            0
            • trwnh@mastodon.socialT trwnh@mastodon.social

              @tchambers if the javascript performs a rewrite, then the resulting link is useless to anyone who hasn’t registered a protocol handler.

              (also, no, we can’t and shouldn’t assume javascript as a requirement for a protocol scheme. even if we did, there are still issues with the proposed “back up” as above.)

              tchambers@indieweb.socialT This user is from outside of this forum
              tchambers@indieweb.socialT This user is from outside of this forum
              tchambers@indieweb.social
              wrote last edited by
              #18

              @trwnh Why? It would work with all of them too, as long as they had javascrpt enabled and ansered only one prompt. And then set forever for that server.

              And the JavaScript requirement isn't part of the protocol scheme. it's a back up for those not yet on compliant browers.

              trwnh@mastodon.socialT 1 Reply Last reply
              0
              • tchambers@indieweb.socialT tchambers@indieweb.social

                @trwnh Why? It would work with all of them too, as long as they had javascrpt enabled and ansered only one prompt. And then set forever for that server.

                And the JavaScript requirement isn't part of the protocol scheme. it's a back up for those not yet on compliant browers.

                trwnh@mastodon.socialT This user is from outside of this forum
                trwnh@mastodon.socialT This user is from outside of this forum
                trwnh@mastodon.social
                wrote last edited by
                #19

                @tchambers failure modes:
                - you don’t have a protocol handler registered
                - you have javascript disabled or unimplemented
                - you have multiple accounts or multiple servers

                you have two separate components to deal with:
                1) authentication: the current website knows who you are, in some limited fashion
                2) authorization: the current website triggers an action on your home website

                at no point does a custom protocol scheme help with either of these. the problem is more like login or session management

                tchambers@indieweb.socialT 1 Reply Last reply
                0
                • trwnh@mastodon.socialT trwnh@mastodon.social

                  @tchambers failure modes:
                  - you don’t have a protocol handler registered
                  - you have javascript disabled or unimplemented
                  - you have multiple accounts or multiple servers

                  you have two separate components to deal with:
                  1) authentication: the current website knows who you are, in some limited fashion
                  2) authorization: the current website triggers an action on your home website

                  at no point does a custom protocol scheme help with either of these. the problem is more like login or session management

                  tchambers@indieweb.socialT This user is from outside of this forum
                  tchambers@indieweb.socialT This user is from outside of this forum
                  tchambers@indieweb.social
                  wrote last edited by
                  #20

                  @trwnh Issue one has about 80 percent market share in deskop and for most fediverse offerings, about 50 percent market share including mobile. So we can make all those lives better today. With a Javascript fall back for rest.

                  Two feels like a very small edge case. Three could be code for in javascript, right?

                  trwnh@mastodon.socialT 1 Reply Last reply
                  0
                  • tchambers@indieweb.socialT tchambers@indieweb.social

                    @trwnh Issue one has about 80 percent market share in deskop and for most fediverse offerings, about 50 percent market share including mobile. So we can make all those lives better today. With a Javascript fall back for rest.

                    Two feels like a very small edge case. Three could be code for in javascript, right?

                    trwnh@mastodon.socialT This user is from outside of this forum
                    trwnh@mastodon.socialT This user is from outside of this forum
                    trwnh@mastodon.social
                    wrote last edited by
                    #21

                    @tchambers no, it’s a significant case and we should not normalize a requirement for javascript. https://indieweb.org/js;dr

                    even with javascript, you can’t just store an identity “forever”. this is part of what i’ve been trying to describe over and over, which is that the double-browser pattern creates this issue due to your seesion only being established within the inner browser. a proper “social web” would operate on the web without having to be virtualized.

                    trwnh@mastodon.socialT 1 Reply Last reply
                    0
                    • trwnh@mastodon.socialT trwnh@mastodon.social

                      @tchambers no, it’s a significant case and we should not normalize a requirement for javascript. https://indieweb.org/js;dr

                      even with javascript, you can’t just store an identity “forever”. this is part of what i’ve been trying to describe over and over, which is that the double-browser pattern creates this issue due to your seesion only being established within the inner browser. a proper “social web” would operate on the web without having to be virtualized.

                      trwnh@mastodon.socialT This user is from outside of this forum
                      trwnh@mastodon.socialT This user is from outside of this forum
                      trwnh@mastodon.social
                      wrote last edited by
                      #22

                      @tchambers just because someone *can* register a protocol handler, does not mean that they *will* or *have* already done so. the vast majority of the population will never register a protocol handler. your custom links will be useless to them.

                      tchambers@indieweb.socialT trwnh@mastodon.socialT 2 Replies Last reply
                      0
                      • trwnh@mastodon.socialT trwnh@mastodon.social

                        @tchambers just because someone *can* register a protocol handler, does not mean that they *will* or *have* already done so. the vast majority of the population will never register a protocol handler. your custom links will be useless to them.

                        tchambers@indieweb.socialT This user is from outside of this forum
                        tchambers@indieweb.socialT This user is from outside of this forum
                        tchambers@indieweb.social
                        wrote last edited by
                        #23

                        @trwnh Think we are going in a bit of circles here. Every time you say that custom links are dead to users who don't have compatable browsers or choose not to agree to the prompt to do the protocol handler... and I agree, but say that Javascrpt backup handles that use case, I'm not sure where we disagree after that?

                        trwnh@mastodon.socialT 1 Reply Last reply
                        0
                        • trwnh@mastodon.socialT trwnh@mastodon.social

                          @tchambers just because someone *can* register a protocol handler, does not mean that they *will* or *have* already done so. the vast majority of the population will never register a protocol handler. your custom links will be useless to them.

                          trwnh@mastodon.socialT This user is from outside of this forum
                          trwnh@mastodon.socialT This user is from outside of this forum
                          trwnh@mastodon.social
                          wrote last edited by
                          #24

                          @tchambers if you message me web+soup:chicken-noodle right now, my messaging client will have no idea what to do with that link, and neither will i.

                          you have to consider this UX from the perspective of someone who has never used fedi, not just the set of people who already have fedi accounts.

                          1 Reply Last reply
                          0
                          • tchambers@indieweb.socialT tchambers@indieweb.social

                            @trwnh Think we are going in a bit of circles here. Every time you say that custom links are dead to users who don't have compatable browsers or choose not to agree to the prompt to do the protocol handler... and I agree, but say that Javascrpt backup handles that use case, I'm not sure where we disagree after that?

                            trwnh@mastodon.socialT This user is from outside of this forum
                            trwnh@mastodon.socialT This user is from outside of this forum
                            trwnh@mastodon.social
                            wrote last edited by
                            #25

                            @tchambers how would js handle it? either the links are rewritten (in which case they become useless when copied), or they’re not rewritten (in which case why do you need a protocol handler?)

                            i have to ask this because i’m not sure: have you tried the current interaction modal in fairly recent mastodon versions? it does something similar to what you describe, but it doesn’t require custom schemes at all. i think it uses webfinger and it has some bugs, but it generally works as you might expect.

                            tchambers@indieweb.socialT 1 Reply Last reply
                            0
                            • trwnh@mastodon.socialT trwnh@mastodon.social

                              @tchambers how would js handle it? either the links are rewritten (in which case they become useless when copied), or they’re not rewritten (in which case why do you need a protocol handler?)

                              i have to ask this because i’m not sure: have you tried the current interaction modal in fairly recent mastodon versions? it does something similar to what you describe, but it doesn’t require custom schemes at all. i think it uses webfinger and it has some bugs, but it generally works as you might expect.

                              tchambers@indieweb.socialT This user is from outside of this forum
                              tchambers@indieweb.socialT This user is from outside of this forum
                              tchambers@indieweb.social
                              wrote last edited by
                              #26

                              @trwnh Read my article and the links from it for details.

                              trwnh@mastodon.socialT 1 Reply Last reply
                              0
                              • tchambers@indieweb.socialT tchambers@indieweb.social

                                @trwnh Read my article and the links from it for details.

                                trwnh@mastodon.socialT This user is from outside of this forum
                                trwnh@mastodon.socialT This user is from outside of this forum
                                trwnh@mastodon.social
                                wrote last edited by
                                #27

                                @tchambers i read those. the problematic bit is “rewrite all links”. please consider what this entails for non-fedi-users, who vastly outnumber fedi users.

                                tchambers@indieweb.socialT 1 Reply Last reply
                                0
                                • trwnh@mastodon.socialT trwnh@mastodon.social

                                  @tchambers i read those. the problematic bit is “rewrite all links”. please consider what this entails for non-fedi-users, who vastly outnumber fedi users.

                                  tchambers@indieweb.socialT This user is from outside of this forum
                                  tchambers@indieweb.socialT This user is from outside of this forum
                                  tchambers@indieweb.social
                                  wrote last edited by
                                  #28

                                  @trwnh So that answered your question as to how I suggest to do this, and why would this exclude anyone on the web?

                                  They would see all pubic content fine. And as they aren't fediverse uses, they couldn't socially engage, follow or boost social content in either case, as they aren't fedi users.

                                  trwnh@mastodon.socialT 1 Reply Last reply
                                  0
                                  • tchambers@indieweb.socialT tchambers@indieweb.social

                                    @trwnh So that answered your question as to how I suggest to do this, and why would this exclude anyone on the web?

                                    They would see all pubic content fine. And as they aren't fediverse uses, they couldn't socially engage, follow or boost social content in either case, as they aren't fedi users.

                                    trwnh@mastodon.socialT This user is from outside of this forum
                                    trwnh@mastodon.socialT This user is from outside of this forum
                                    trwnh@mastodon.social
                                    wrote last edited by
                                    #29

                                    @tchambers think about what happens when they copy a rewritten link and send it to someone else.

                                    tchambers@indieweb.socialT 1 Reply Last reply
                                    0
                                    • trwnh@mastodon.socialT trwnh@mastodon.social

                                      @tchambers think about what happens when they copy a rewritten link and send it to someone else.

                                      tchambers@indieweb.socialT This user is from outside of this forum
                                      tchambers@indieweb.socialT This user is from outside of this forum
                                      tchambers@indieweb.social
                                      wrote last edited by
                                      #30

                                      @trwnh It's as viewable as any remote fediverse link is now. You only rewrite things to eenable social engagment.

                                      trwnh@mastodon.socialT 1 Reply Last reply
                                      0
                                      • tchambers@indieweb.socialT tchambers@indieweb.social

                                        @trwnh It's as viewable as any remote fediverse link is now. You only rewrite things to eenable social engagment.

                                        trwnh@mastodon.socialT This user is from outside of this forum
                                        trwnh@mastodon.socialT This user is from outside of this forum
                                        trwnh@mastodon.social
                                        wrote last edited by
                                        #31

                                        @tchambers you don’t need to rewrite anything, and the rewrite is harmful when copied. you could at best write two links to the same resource, one https: (for copying and sharing as normal) and one web+mastodon: (for loading the mastodon-specific “authorize interaction” endpoint when clicked, provided you registered it ahead-of-time at a browser and/or os level)

                                        the problem is that you need to explain to users why there are two links, and the web+mastodon: link shouldn’t be copied/shared.

                                        tchambers@indieweb.socialT 1 Reply Last reply
                                        0
                                        • trwnh@mastodon.socialT trwnh@mastodon.social

                                          @tchambers you don’t need to rewrite anything, and the rewrite is harmful when copied. you could at best write two links to the same resource, one https: (for copying and sharing as normal) and one web+mastodon: (for loading the mastodon-specific “authorize interaction” endpoint when clicked, provided you registered it ahead-of-time at a browser and/or os level)

                                          the problem is that you need to explain to users why there are two links, and the web+mastodon: link shouldn’t be copied/shared.

                                          tchambers@indieweb.socialT This user is from outside of this forum
                                          tchambers@indieweb.socialT This user is from outside of this forum
                                          tchambers@indieweb.social
                                          wrote last edited by
                                          #32

                                          @trwnh Actually:

                                          âś… When you use Option A or B that I described in my article to engage with remote content (rewritten to your home server) and then copy/share that rewritten link:

                                          That link points to the version of the post as seen from your own server.

                                          My home server has successfully fetched and cached the public content. So:

                                          For non-Fedi users (not logged in, no account):

                                          The link will work as for all public posts. And for non-fedi users that is all they see anyway.

                                          trwnh@mastodon.socialT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Popular