Skip to content
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

Design Review 2018-08-01 15:30 UTC (version numbers, form use outside AMP, handling flaky tests/build size) #15866

Closed
mrjoro opened this issue Jun 6, 2018 · 5 comments
Assignees
Milestone

Comments

@mrjoro
Copy link
Member

mrjoro commented Jun 6, 2018

Time: 2018-08-01 15:30 UTC (add to Google Calendar)
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.

@mrjoro mrjoro added this to the Docs Updates milestone Jun 6, 2018
@mrjoro mrjoro self-assigned this Jun 6, 2018
@alabiaga
Copy link
Contributor

alabiaga commented Jul 24, 2018

I would like to discuss #15583, primarily #16761. A proposal to allow the form element to be used outside of the context of AMP

https://docs.google.com/document/d/1qB16y1F_qh6ZgNIIH9hLkoFjlcYrhcGpJP6-JuWrPgw/edit#

@danielrozenberg
Copy link
Member

I would like to discuss to issues:

@mrjoro
Copy link
Member Author

mrjoro commented Aug 1, 2018

Consistent version numbers

presenter: @danielrozenberg

  • if developers have different local commits could they end up with the same id?
    • the last digits are 000 if there are uncommitted changes
  • there are no major objections
  • @cramforce: good change, but consider a minor variation--what if instead of seconds since epoch we just encode the time (20180801123456), still a number only format (not a string)
    • goal was to make sure that the version numbers we have is higher than any existing version number; that would be the case if we start with "2018"; could start with 18 instead of 2018 to limit the number of digits needed
    • our current format is hard for humans to compare
    • might be compatibility issues if we change from the 13 digit number e.g. for caches
  • with random hash at the end there's no guarantee it will always be ascending
    • Daniel addresses this in a comment in the proposal issue

@mrjoro
Copy link
Member Author

mrjoro commented Aug 1, 2018

Allow form element use outside AMP

presenter: @alabiaga

  • one use case is WordPress; content can appear in multiple views, so even if you have content that is on an AMP page it may appear in other non-AMP contexts (e.g. amp-mathml), but this doesn't work for forms today
  • do we keep submit logic into the amp-form extension or v0.js?
  • can we require users to use amp-form instead of form? it's very difficult to do in custom elements (including for reasons of accessibility)
    • this was something that was discussed originally (amp-form element around regular form element) and can be discussed
    • we'll have a design doc to talk about what we want to do here
  • do we officially support AMP elements in non-AMP contexts?
    • no, it's mostly best effort today; long term we would like to support this

@mrjoro
Copy link
Member Author

mrjoro commented Aug 1, 2018

Better handle flaky tests and max build size

presenter: @danielrozenberg

  • when we mark tests as flaky today do we have a process to get them fixed quickly
    • it depends on who cares about them unfortunately
  • could just use one new repository for this rather than a new one for each
  • @rsimha would like to see a proof of concept for bundle size first; it's easier to implement
  • @choumx: seems like a good change
  • @choumx: one of the most beautiful design issues he's seen! (@danielrozenberg: it's generated from a Google doc :))

@mrjoro mrjoro closed this as completed Aug 1, 2018
@mrjoro mrjoro changed the title Design Review 2018-08-01 15:30 UTC (Africa/Europe/western Asia) Design Review 2018-08-01 15:30 UTC (version numbers, form use outside AMP, handling flaky tests/build size) Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants