Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Conversation

@friedger
Copy link
Contributor

@friedger friedger commented Mar 18, 2019

This PR

This only comes into effect after stx-labs/stacks.js#629 is merged and the new version of blockstack.js is used - until then app developers need to specify absolute icon urls in their manifest.

Re image src (from MDN: https://developer.mozilla.org/en-US/docs/Web/Manifest#icons)
src The path to the image file. If src is a relative URL, the base URL will be the URL of the manifest.

@markmhendrickson
Copy link

@friedger is this ready for review by @aulneau ?

@friedger
Copy link
Contributor Author

The PR mentioned in this issue is still open. But this is ready to review. It assumes that the manifest contains a reference to the url it was loaded from

@friedger
Copy link
Contributor Author

I added a reference in the issue description to MDN for image src in the web manifest.

@timstackblock
Copy link
Contributor

timstackblock commented Apr 25, 2019

This still seems to serve broken image links for some apps, the fix doesn't seem to work everywhere.

It seems to be working for me with Zinc but not with IO chat. Please see the screenshots below.

Screen Shot 2019-04-25 at 10 35 00 AM

Screen Shot 2019-04-25 at 10 34 15 AM

Copy link
Contributor

@timstackblock timstackblock left a comment

Choose a reason for hiding this comment

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

It seems certain apps still do not display the icon with this change.

@timstackblock
Copy link
Contributor

Screen Shot 2019-04-25 at 10 48 21 AM

@friedger
Copy link
Contributor Author

Have you tested with stx-labs/stacks.js#629?

@timstackblock
Copy link
Contributor

Have you tested with blockstack/blockstack.js#629?

Just reran the test with #629 looks good

@hstove
Copy link
Contributor

hstove commented May 12, 2019

Because stx-labs/stacks.js#629 is not included in the local version of blockstack.js yet, I think we'll need to wait on that before merging this.

@hstove
Copy link
Contributor

hstove commented May 21, 2019

I'm closing this, but I merged your commit in #1922 , which includes the latest blockstack.js. Thanks!

@hstove hstove closed this May 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants