You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@samouri Here it is: ampproject/amphtml#23675
The WaPo link is broken. But the idea is simple. Think this way: a dictionary of terms, one endpoint for each term. Then, for a given page, use only the term needed for (a paragraph). We might use one structure on many pages. The WaPo implementation was an image and the player performance stats. Rather than managing one structure of all players, and then using a hop operator to localize the specific player for display (via amp-mustache), the WaPo design was one player : one end-point. This approach is similar to the PubChem approach for chemicals. I can fetch the specific chemical i need; do not have to load the entire PubChem endpoint and then hop to the target chemical. But amp-list cannot be used inline (e.g. in a span) as it forces a line break.
Our request: remove the line-break caused by amp-list. Then we can build dictionaries of terms, not have to have a dictionary of all terms.
@samouri Here is another (suspect) issue with amp/state/list/mustache: ampproject/amphtml#31532
It appears that some CSS can break amp/state/list/mustache injection and formatting. Do you see a user error in the third example?
Activity
jaygray0919 commentedon Dec 3, 2020
Any chance to influence
amp-listv2? We have a previously reported issue that might be a candidate for resolution in V2.samouri commentedon Dec 7, 2020
Which issue? Can you link to it? Is it a candidate for being fixed in V1 as well?
jaygray0919 commentedon Dec 8, 2020
@samouri Here it is: ampproject/amphtml#23675
The WaPo link is broken. But the idea is simple. Think this way: a dictionary of terms, one endpoint for each term. Then, for a given page, use only the term needed for (a paragraph). We might use one structure on many pages. The WaPo implementation was an image and the player performance stats. Rather than managing one structure of all players, and then using a hop operator to localize the specific player for display (via
amp-mustache), the WaPo design wasone player : one end-point. This approach is similar to the PubChem approach for chemicals. I can fetch the specific chemical i need; do not have to load the entire PubChem endpoint and then hop to the target chemical. Butamp-listcannot be used inline (e.g. in a span) as it forces a line break.Our request: remove the line-break caused by
amp-list. Then we can build dictionaries of terms, not have to have a dictionary of all terms.jaygray0919 commentedon Dec 11, 2020
@samouri Here is another (suspect) issue with amp/state/list/mustache: ampproject/amphtml#31532
It appears that some CSS can break amp/state/list/mustache injection and formatting. Do you see a user error in the third example?