invenio-app-rdm icon indicating copy to clipboard operation
invenio-app-rdm copied to clipboard

deposit-ui: licenses modal should have similar UX to awards/funding modal

Open slint opened this issue 1 year ago • 3 comments

When selecting licenses/rights on the deposit form, the UX might be a bit confusing:

  • When opening the modal, the user is presented with the initial list of the 6 "Recommended" licenses. This might confuse users into thinking that there are only 6 licenses to select from, if they completely ignore/zone-out from the rest of the modal.
  • Clicking "All" shows more results and the modal content becomes scrollable since now we're querying against the full set of licenses.
    • There is no pagination though, which might further hint that this is not a "search" view, but a full listing.
    • Results size shouldn't be that big, so that it doesn't to cause the modal to become scrollable
  • When clicking between the different category filters (Recommended/All/Software/Data), the modal size changes as the results load and gives the "jumping" effect.
    • There should be a loading placeholder that helps with keeping the height of the modal static (to avoid "jumping")

The similar awards/funding modal has somewhat solved many of these issues, e.g.:

  • There's pagination in the search results
  • At the bottom of the page, there is a Did not find your award? [Add a custom award] message, with a link/button that automatically opens the "Custom award" modal.
  • The placeholder text says "Search for awards"
  • The size of the result set is small, so there is no need to scroll the modal.

slint avatar Jul 05 '23 09:07 slint

This issue was automatically marked as stale.

github-actions[bot] avatar Sep 04 '23 06:09 github-actions[bot]

The "All" view is actually more problematic because it doesn't actually show all licenses. It maxes out at 25, and has no indication that more licenses available. The only way to find licenses that aren't in the top 25 is by searching.

tmorrell avatar Sep 05 '23 15:09 tmorrell

This issue was automatically marked as stale.

github-actions[bot] avatar Nov 05 '23 06:11 github-actions[bot]