Design Review 2018-01-24 21:00 UTC (high entropy page_view_id, Renovate, infinite scroll)
Time: 2018-01-24 21:00 UTC Location: Video conference via Google Hangouts
The AMP Project holds weekly engineering design reviews. We encourage everyone in the community to participate in these design reviews.
If you are interested in bringing your design to design review, read the design review documentation and add a link to your design doc by the Monday before your design review.
When attending a design review please read through the designs before the design review starts. This allows us to spend more time on discussion of the design.
We rotate our design review between times that work better for different parts of the world as described in our design review documentation, but you are welcome to attend any design review. If you cannot make any of the design reviews but have a design to discuss please let mrjoro@ know on Slack and we will find a time that works for you.
Introduce a high entropy page_view_id #12674 (5 min)
[Feature request (devops)] Renovate: #12946
[Intent to implement] Document-level infinite-scroll: #12945
high entropy page_view_id
- Malte: not really a problem to increase the entropy; 128 bits is probably overkill... 64 bits is probably enough (to have a smaller string)
- could make it configurable, but then we'd have to cache them; we could do it and enforce an upper bound (e.g. if they specify 128 we'd still use 64)
- upper bound can be an issue because people think they have more security than they are
- will discuss in the PR
Renovate
- fork mode ("Forking Renovate")
- GreenKeeper has a legitimate reason for write access to repo because it adds labels to PR; this was done to avoid impersonation (not impersonating a commit, but someone creating an account called "Greenkeeper" with different characters)
- Renovate does request permission for write access to issues to label their own PRs
- design doc has details on exactly which permissions are asked for and why
- Malte's a fan of the forking mode
- doesn't trigger a PR build & a push build
- switchover cost
- very quick to install it as an app
- there's an onboarding PR (configure renovate) with a preview; you can also add config (e.g. send all PRs to someone)
- Raghu: there are some clear advantages to this
- a followup meeting will be scheduled to discuss
document level infinite scroll
- meant for third party content? no, for first party (same origin) content for now
- future proposal would cover third party content
- potential users have been happy with this solution
- how are we determining limits to help with performance (e.g. 3 or 4 number of articles)
- for now, we'll try it out with these initial limits and see what the performance is
- is this a new component?
- yes
- it requires configuration & we need to decide how much control to give publishers
- it also has some configurable default UI associated with it (e.g. possibly cards-based approach when you have multiple articles, collapsing dots)
- John: based on experience, if we get too prescriptive about the UI a lot of publishers will push back on it
- is this a component provided by a third-party recommendation provider?
- they could provide configuration for the behavior
- name
- amp-content-discovery is proposal, but should it be something like amp-article-infinite-scroll?
- people aren't just going to use it for content discovery
- "chain" would potentially be better
- people may be confused between amp-list and this component when they are creating AMP pages, name can help with that
- name will be discussed offline