Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions features/web-install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name: web-install
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm skeptical "web install" will become a well-known name for this. I think we should use the interface itself:

Suggested change
name: web-install
name: navigator.install()

I'd suggest renaming the file to line up with this (navigator-install.yml or just install.yml).

description: "The `navigator.install` API allows an origin to request an application installation on a user's device."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a bunch of guidelines for these descriptions. The short version here is that I'm suggesting to make this more direct (avoiding "allows" and "origin") and to mention PWAs to help this come up when searched for related features. I'm not saying it has to be exactly this, but something along these lines would be more consistent with other features:

Suggested change
description: "The `navigator.install` API allows an origin to request an application installation on a user's device."
description: The `navigator.install()` method triggers a request to install a progressive web app.

spec: https://github.com/w3c/manifest/pull/1175
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs an exception in the defaultAllowlist in scripts/spec.ts, so the tests pass. (There's a bug for this: #3470.)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh one more thing:

Suggested change
spec: https://github.com/w3c/manifest/pull/1175
group: progressive-web-app
spec: https://github.com/w3c/manifest/pull/1175

6 changes: 6 additions & 0 deletions features/web-install.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Generated from: web-install.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support: {}
Loading