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

Icons spec #319

Merged
merged 8 commits into from
Apr 27, 2021
Merged

Icons spec #319

merged 8 commits into from
Apr 27, 2021

Conversation

pgn-vole
Copy link

@pgn-vole pgn-vole commented Feb 8, 2021

Improves App Metadata icons specification. It is heavily based on PWA manifest's icon spec.

Fixes #257

@@ -347,9 +347,15 @@ components:
Icon:
description: Icon holder
properties:
icon:
src:
Copy link
Author

Choose a reason for hiding this comment

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

This is a breaking change. Considering that this is meant to be part of the "2.0" release I thought that it would be I acceptable.
If not, I suggest to either

  • not introduce src and use the icon property as image url
  • deprecate icon in favour of a newly added src property. In that case Desktop Agent may treat icon as it would treat src


### `src`

The fully qualified url to the icon.
Copy link
Author

Choose a reason for hiding this comment

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

Please note that in the PWA manifest spec the url may be relative. However in the context of FDC3 I couldn't find where a Desktop agent may retrieve the base url of an application so that when given a relative url it could construct the fully qualified url.
That is the reason why only fully qualified url are allowed here.

@pgn-vole
Copy link
Author

@rikoe - would you mind having a look at that PR when have some free time?

@rikoe
Copy link
Contributor

rikoe commented Feb 25, 2021

@rikoe - would you mind having a look at that PR when have some free time?

@pgn-vole plan to! this has been earmarked for v2.0 so we can't merge yet, will take a look and discuss at standard working group once 1.2 is out.

@rikoe
Copy link
Contributor

rikoe commented Apr 22, 2021

@pgn-vole do you mind resolving the conflicts (rebasing), then we can merge this one in?

@pgn-vole
Copy link
Author

@rikoe it should be good now.

@rikoe rikoe added this to the 2.0 milestone Apr 23, 2021
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.

Application definition "icons" property
3 participants