D22494: Attempt to support different collections of Unsplash

Yunhe Guo noreply at phabricator.kde.org
Fri Jul 26 12:10:08 BST 2019


guoyunhe added a comment.


  In D22494#502354 <https://phabricator.kde.org/D22494#502354>, @ngraham wrote:
  
  > One UI improvement I could see is to allow multi-selection of categories, so for example you could see images from all the nature-related categories but not Car or Sports.
  >
  > The way I'd envision this working is that instead of a combo box, a label would display the currently selected categories. Next to it would be a button labeled "Change categories" that would use the multi-page KCM API to take the user to another page with a checkbox for each category. This page would allow selecting any assortment of categories, which would then be listed on the main page. It would be sort of like the corner selector UI in the new Notifications KCM.
  
  
  Multi-selection might be difficult to implement in back end. The Unsplash Source API I use only supports a single collection ID. Search API might support multiple keywords, but it is like "AND" logic, not "OR" logic. So for now, I cannot achieve this function.

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D22494

To: guoyunhe, #plasma
Cc: ngraham, filipf, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190726/6af82a1a/attachment.html>


More information about the Plasma-devel mailing list