api icon indicating copy to clipboard operation
api copied to clipboard

highlight subcollection

Open eroux opened this issue 5 years ago • 3 comments

This is a proposal for a new "highlight" property in the presentation API. It would be in some way an equivalent of start but for items in a collection. Basically the goal is to present a collection in the context of a greater collection. To give a visual example, I currently have my main collection displayed like this:

Capture d’écran de 2020-02-09 11-29-55

what would be very useful for our users is instead having the same collection but with a sub collection highlighted, which would give the following display:

Capture d’écran de 2020-02-09 11-30-41

Edit: The same mechanism could be applied to ranges: a manifest could be open at a certain range, or even a certain image within a certain range.

eroux avatar Feb 09 '20 10:02 eroux

I'm not sure how redundant it is with the content state API, it may be a duplicate

eroux avatar Mar 16 '20 09:03 eroux

This might be accomplished via the content state API, but you couldn't guarantee the UI implementation would in fact highlight the entry. Start for collections was discussed in #1761 and deferred based on your same observation that content state might accomplish the goal, and there wasn't any implementations chomping at the bit for this. I think these are related, but perhaps worth considering separately.

However either way, we can't add new features to 3.0 at this stage so I've tagged as defer.

azaroth42 avatar Mar 31 '20 17:03 azaroth42

sure, thanks!

eroux avatar Mar 31 '20 17:03 eroux

The highlight aspect is viewer dependent, but selection of the sub-collection (or other aspect) can now be done in content state. Closing.

azaroth42 avatar Jun 07 '24 21:06 azaroth42