OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

oslc-core message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (OSLCCORE-15) Allow client to request different icon sizes for resource preview


     [ https://issues.oasis-open.org/browse/OSLCCORE-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Amsden updated OSLCCORE-15:
---------------------------------

    Proposal: 
Extend the resource preview Prefer header to include an icon size parameter:
Prefer: return=representation; include="http://open-services.net/ns/core#PreferCompact";; iconSize=48

The server SHOULD return the an icon of the requested size, or the largest icon available that is smaller than the requested size.

Note that the OSLC Compact resource shape icon property is zero-or-one, and has not size property. So the icons available are not currently discoverable. Changing a property from zero-or-one to zero-or-many would be OSLC2 client breaking because the client would be getting a collection of icon URIs when they are expecting one.

If an OSLC2 client requests a Compact resource (or an OSLC3 client without a Prefer header), the Compact resource could contain zero-or-one icons with the default size of 16x16. So this would preserve compatibility, but would not allow the available icon sizes to be discoverable.


  was:
Extend the resource preview Prefer header to include an icon size parameter:
Prefer: return=representation; include="http://open-services.net/ns/core#PreferCompact";; iconSize=48

The server SHOULD return the an icon of the requested size, or the largest icon available that is smaller than the requested size.



> Allow client to request different icon sizes for resource preview
> -----------------------------------------------------------------
>
>                 Key: OSLCCORE-15
>                 URL: https://issues.oasis-open.org/browse/OSLCCORE-15
>             Project: OASIS OSLC Lifecycle Integration Core (OSLC Core) TC
>          Issue Type: Improvement
>            Reporter: Nick Crossley
>            Priority: Minor
>              Labels: ready-for-vote
>
> In OSLC Core 2.0, the icon referenced from a compact resource SHOULD be 16x16 pixels. In the current OSLC 3.0 draft, this recommendation is removed, and the size is unspecified.
> The OSLC 2.0 approach is too restrictive, and the OSLC 3.0 approach too vague. The client should have some way of suggesting the desired size. 
> OSLC3 should provide some means for the client to request a specific icon size for resource preview.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]