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

[Index | Example manifests] Adds simple example #557

Merged
merged 4 commits into from Mar 17, 2017

Conversation

RobDolinMS
Copy link
Contributor

Adds a simple manifest example with name, description, and icons (just one)

This is intended to address the simple example part of Issue #533

Signed-off-by: Rob Dolin robdolin@microsoft.com

Adds a simple manifest example with name, description, and icons (just one)

This is intended to address the simple example part of Issue #533

Signed-off-by: Rob Dolin <robdolin@microsoft.com>
index.html Outdated
"description": "This app helps you donate to worthy causes.",
"icons": [{
"src": "icon/lowres.png",
"sizes": "64x64"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Probably should use a bigger icon, like 144x144

index.html Outdated
The following shows a typical <a>manifest</a>.
The following shows a very simple <a>manifest</a>.
</p>
<pre class="example json" title="typical manifest">
Copy link
Member

Choose a reason for hiding this comment

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

Would update title to match.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you mean I should update the title of the pull request, the "Example Manifests" title, or a different title?

Copy link
Member

Choose a reason for hiding this comment

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

s/typical/very simple/ on L134.

@anssiko
Copy link
Member

anssiko commented Mar 14, 2017

LGTM with comments, thanks!

Makes the size of the icon in the very simple example larger
Original PR missed updating the `title` attribute on the `pre` element

Signed-off-by: Rob Dolin <robdolin@microsoft.com>
@RobDolinMS
Copy link
Contributor Author

Thanks very much for the quick feedback @anssiko and @kenchris. If this now looks good please comment LGTM (or go ahead and merge.) Thanks again - Rob

@anssiko
Copy link
Member

anssiko commented Mar 14, 2017

LGTM.

index.html Outdated
"sizes": "192x192"
}]
}
</pre> <p>
Copy link
Member

Choose a reason for hiding this comment

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

nit: please run over HTML5 tidy on the doc :)

Also, you can align the example code with the pre tag if you wish. I think the highlighter takes care of alignment for you.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @marcoscaceres. I've submitted a quick commit fixing this via GitHub's web-based editor.

If that looks good, please merge.

If not, please push-back and I can do the full HTML5 tidy process when I get to my desk at work.

Fixes line 143 where `</pre>` was not indented and `<p>` was missing a new line

>Also, you can align the example code with the pre tag if you wish. I think the highlighter takes care of alignment for you.
Fixed with this commit

Signed-off-by: Rob Dolin <robdolin@microsoft.com>
@kenchris kenchris merged commit 8ae885a into gh-pages Mar 17, 2017
@RobDolinMS RobDolinMS deleted the RobDolinMS-simple-example branch April 26, 2017 19:19
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

4 participants