Design Review 2019-10-23 20:00 UTC (initialize form inputs from query, CSI migration, deprecate recursive form submission)
Time: 2019-10-23 20:00 UTC (add to Google Calendar) Location: Video conference via Google Meet
The AMP community 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 or issue 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.
The Viewers Working Group will be presenting their periodic updates at this Design Review (10-15 minutes).
/cc @ampproject/wg-viewers @ericfs
I'd like to discuss a way to deprecate recursive form submissions: #24894.
I'd like to discuss a new attribute for amp-form: initialize-from-url (#24876). The points I expect to hit are listed under the TODO at PR #24671. Estimated time: 10 min.
EDIT 2019-10-23: talking points / pr-deploy-sample
I'd like to discuss moving AMP CSI metrics system to Stackdriver (Google Cloud Platform).
@ampproject/wg-viewers is scheduled to give an update. I previously told @mrjoro this would be a written update only. It now looks like there are no substantive updates from wg-viewers at this time.
AMP CSI metrics system doc is available at https://docs.google.com/document/d/1FV_kj3jvmB6IOjRMNqgMR63wNMNYsc9ws5wxhKjuzN4/edit
I've created https://github.com/ampproject/amphtml/issues/25228 so we can discuss the CSI metrics changes while we wait for the next design review (in two weeks).
Initialize form inputs from query string (@mattwomple)
- Are element mutations in constructor OK?
- amp-form is not a custom element, and it already has DOM mutations in constructor.
[initialize-from-url]should be adata-*attribute to avoid future collisions- What about a per-element opt-in attribute?
- How does interact this with
history.pushState()?- What if we only set default value via attribute change? That can cause content jump on page load due to CSS attribute selectors.
- This feature will be used rarely, should we just allow this despite abuse edge cases?
- Should data be initialized from URL hash or query string?
- Query string is needed for form submission use case.
- Can we generalize "initialize-attribute-from-URL" feature e.g. for amp-carousel's initial slide?
- Carousel is more clearly fragment navigation case.
- Need to run by security team?
CSI Migration (@jridgewell)
- Current system is failing e.g. 3-4 day latency, often fails, 8 day cap.
- Add new endpoint to GAE service and migrate metrics pings to Stackdriver.
- Discussed Stackdriver data consumption constraints vs. multiple GAE instances.
- Use another 1P service e.g. GA?
- Won't work because GA doesn't support percentiles (!).
- Use another 3P service?
- Would require a vendor contract and privacy review e.g. may need a GAE proxy to strip PII before 3Ps can see it.
- Should have a transparent selection process.
- Need to make design doc public.
Deprecate recursive form submissions (@choumx)
- Similarities with other systems e.g. "UserActivation" in
amp-script.- New trust tiers could map cleanly to
amp-script's use case.
- New trust tiers could map cleanly to