-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restructure documentation for components by 3p providers #34224
Comments
Please add this issue to one of the upcoming design review sessions for discussion. |
I'm new to github, I don't know how it moves, a design review problem. If you need more data, you can ask me for it. I have currently reviewed all the amp.dev documentation, and the section that gave me a dislike is that of external providers. I also think that it has not been thought very well if those providers only give a payment solution, I think that this path is not the system to follow in amp. I think external providers should offer a minimal free trial solution plus the paid version, it is something that wordpress does and it works. Amp can be very easy to use and implement even I am testing it in a backend solution and it is working very well. |
You can find the list of upcoming design review sessions at this link When you find a session which works for you comment in that issue that you would like to bring this intent to deprecate to the session and tag this issue in your comment using #34224 (which can be found just after your issue title). However, if you are primarily concerned about errors showing up in the example files fore these components, you can file issues specifically regarding updating those files rather than presenting this plan for deprecation of all of them. |
ok, i already made an order in one of the design threads |
Great! In addition to presenting this proposal regarding the handling of 3p components in amp in design review, can you provide either code examples or just a list of the components in which you observed the broken behavior? If these are able to be fixed fairly easily, then you can write the fixes and submit the PR's to the AMPHTML repository following the contributor guide |
Solving it is difficult since they are third-party paid modules, so if they do not provide a free trial, the block will never work, they must be in charge of maintaining those modules, they should be the first interested parties. amp-o2-player ==> error Avoid using document.write() amp-viqeo-player ==> Cross-Origin Read Blocking (CORB) blocked cross-origin response https://cstatic.weborama.fr/iframe/external_ids_sync.html?vn=827 with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details. amp-yotpo ==> no run example amp-youtube ==> [Violation] Added non-passive event listener to a scroll-blocking event. Consider marking event handler as 'passive' to make the page more responsive. See |
@Francisco-AM Thanks for a very thorough report. It's immensely useful. The way I see it, there are three parts to this issue. 1. Some 3p examples throw errors and warnings, but they work.Since all of these load a secure iframe, errors may occur from it. Unfortunately, we don't have a way to suppress these warnings. The best we can do is notify the vendors and hope for a resolution.
2. Some 3p examples don't work at allThese are most likely from stale ids. We can try to replace with ids found elsewhere on our codebase, or notify the vendor to obtain new ids. If the problem is due to implementation issues, we can do a best effort to fix them or address the vendor so they can fix it.
EDIT: We can fix the following guides since we know at least one good id:
3. The mix of standard vs. 3p extensions in documentationThis is the most tricky part, and what we should discuss during design review. I agree that the mix can be confusing, particularly when standard extensions are generally usable while 3p extensions may be quite niche. I see three areas where we could improve: A. Hierarchy in listing. We might want to group all vendor extensions in a separate place than general component lists. I believe @CrystalOnScript has some thoughts on this, as we discussed this problem earlier. B. Clarification of support level. Since 3p extensions are greatly at the mercy of a vendor to support them, we might want to clarify this on extension guides or document examples. C. Structure of Action items:
|
I investigated stale ids, and I found that the following have at least one working example, so I crossed them out above. We may include a link to an example file on the amp-connatix-player
amp-delight-player
amp-skimlinks
amp-apester-media
amp-o2-player
amp-yotpo
|
I am currently working on a hierarchy of amp blocks so I will open a suggestion later in case it could help you, I support moving all provider extensions to at least the video ones for the moment as the middle zone gets quite confusing . look to find amp-video and amp-video-docking that are surely the most important extensions of media are among a lot of external providers, first you have to get the user to like the amp environment and then the user will see later if a external provider could solve a problem such as video storage. |
Don't worry about doing design work. The decision to change grouping or unlisting should be done on a consensus. Particularly, @ampproject/wg-outreach should have an opinion on this. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
All these extensions in amp don't work the amp.dev examples
The media category is full of external providers, which for me the only thing that has given me is confusion in the amp system, I know that amp is free but when you have to learn something new, you first have to focus on the core.
I propose the separation of external providers, of the amp core, in all kinds of extensions.
It would be something like that other similar systems are already doing.
AMP CORE
amp extensions
amp experimental extensions
amp extensions external providers
I have also seen that external providers have given me errors in javascript, when loading the page.
External providers to which access to their prices or their sales web pages has cost me a lot to find them in the google search.
Honestly, after having tried all the external providers, they have not transmitted confidence to me except the official ones like dailymotion, yotube, viqueo.
But as I said, it is important to start differentiating the core from the providers so as not to waste time for developers who want to implement only AMP.
apester example no run
errors and 404
more errors
more errors
more errors
Many xhr requests
First extension that has no errors
It seems to me a good implementation by redbull that although the requested resource is not error-free
A correct implementation of vimeo, without any errors
more error
error and 404
more error
I sincerely love that the amp is free and that anyone can develop an amp block, but you also have to be very clear about what the core is and what parts are in the extensions or everything can turn into chaos in the long run.
The text was updated successfully, but these errors were encountered: