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

Fix #75: Implement web app installing #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FluorescentHallucinogen
Copy link
Contributor

No description provided.

@FluorescentHallucinogen
Copy link
Contributor Author

@engedy @lgarron PTAL. 😉

Copy link
Collaborator

@engedy engedy left a comment

Choose a reason for hiding this comment

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

Looks good to me % a question and one request below.

Copy link
Collaborator

Choose a reason for hiding this comment

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

"purpose": "maskable"
}
],
"screenshots": [
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you please move the screenshots into their own folder to avoid having too many files in the root directory?

Copy link
Collaborator

@lgarron lgarron left a comment

Choose a reason for hiding this comment

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

Some thoughts:

I think using a larger app icon is good. I think keeping the main resolution at app-icon.png would be nice for continuity, but file names based on sizes are okay. (As @engedy points out, though, it would be good to place them in an img folder.)

The large icons in this PR don't match the existing icon, though. Here are 2880w, 512w, 192w, and SVG versions of the original icon:

logo_2880w
logo_512w
logo_192w
app-icon

I love the idea of showing resolutions in the screenshots, but I would propose using a more neutral font matching the rest of the website, and ideally incorporating the app icon in addition the the resolution text.

@@ -98,7 +100,7 @@
<tr>
<td>Async Clipboard</td>
<td>
These buttons test the new <a href="https://w3c.github.io/clipboard-apis/">Async Clipboard API</a>.
These buttons test the new <a href="https://w3c.github.io/clipboard-apis/" target="_blank">Async Clipboard API</a>.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This change is not related to the rest of the PR. I'd suggest making a separate PR for this.

{
"name": "permission.site",
"short_name": "permission.site",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this should be a real description. I think the GitHub project description would be good:

A site to test the interaction of web APIs and browser permissions.

"name": "permission.site",
"short_name": "permission.site",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
"start_url": "./?utm_source=web_app_manifest",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any reason we need to use URLs with web tracking parameters?

Suggested change
"start_url": "./?utm_source=web_app_manifest",
"start_url": "./",

(If there is a good reason, that should probably be documented.)

@@ -6,8 +6,9 @@
<!-- Origin trial token needed for Web USB -->
<meta http-equiv="origin-trial" content="AsxscPRBb7U1KJIlQrsFrZ3ea0LHwRhNkbqBKsSuLP5y3sqIqnanjKbGk4oe5+/HkownaJhI2wP6m1S70Y8xkQsAAABUeyJvcmlnaW4iOiAiaHR0cHM6Ly9wZXJtaXNzaW9uLnNpdGU6NDQzIiwgImZlYXR1cmUiOiAiV2ViVVNCIiwgImV4cGlyeSI6IDE0NjUzODkxOTd9">
<title>permission.site</title>
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="app-icon.png"/>
<link rel="shortcut icon" href="icon-512x512.png">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why replace favicon.ico? The existing favicon is sized specifically arranged for low resolution.

@@ -4,8 +4,8 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=0.6" />
<title>permission.site (one-time)</title>
<link rel="shortcut icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="app-icon.png" />
<link rel="shortcut icon" href="icon-512x512.png">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same as the main page shortcut icon.

@@ -4,8 +4,8 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=0.6" />
<title>permission.site</title>
<link rel="shortcut icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="app-icon.png" />
<link rel="shortcut icon" href="icon-512x512.png">
Copy link
Collaborator

@lgarron lgarron Jul 28, 2023

Choose a reason for hiding this comment

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

Also same as the main page shortcut icon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants