LD4P/sinopia

Copy Sinopia resource to start a new resource

Closed this issue · 6 comments

This wasn't originally called out explicitly as a success criterion at the beginning of Work Cycle 1, but it is something users assume will be available: if you can copy external data into a new resource (#95) , why not Sinopia data?

The request is to be able to pick an existing Sinopia resource (either from Sinopia search results on Search tab or while editing/looking at that resource in the Edit tab), and copy that resource, so the result is a new resource, in the same Resource Template, no URI until you Save the new resource.

@astridu could you add here (1) your design for the Sinopia search results with a "copy" icon next to each result? and (2) the revised Preview / Copy / Save buttons that will go at top of Edit tab when viewing/editing a resource? (leave off Download button for now, that will be ticketed separately)

  1. Sinopia Search Results with a 'copy' icon.
    image

  2. Revised Preview/Copy/Save
    image

Detail of buttons in inactive and hover state.
image

@astridu thank you could you replace with search results design where there is no download menu option? we are not doing that yet.
also did we decide the icons were better or the buttons with words? plus please remove download button. that will be ticketed separately.

  1. no download menu
    image

  2. No download icon: we decided on icons with a hover state that says what the icon does.
    image

image

@astridu we're currently using the free set of icons in FontAwesome: https://fontawesome.com/icons?d=gallery&q=docum&m=free I don't see one that looks like the preview icon. Can you select something different or tell us what icon set you are using?

It looks like file-search is a "Pro" (not free) icon: https://fontawesome.com/icons/file-search?style=solid Even if we (Stanford) bought a pro license, it's unclear if we'd be able to distribute Sinopia as open-source with this icon: https://fontawesome.com/support#use-opensource

Sorry about that. We can use fa-eye. Not as nice, but it works.
image