Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document drag and drop pattern #602

Closed
zimeon opened this issue Nov 11, 2015 · 13 comments
Closed

Document drag and drop pattern #602

zimeon opened this issue Nov 11, 2015 · 13 comments
Assignees

Comments

@zimeon
Copy link
Member

zimeon commented Nov 11, 2015

At the IIF Shimathon 2015-09-29/30 at UPenn in Philly we came up with a pattern for drag and drop functionality that was demonstrated in Mirador.

This should probably be written as an implementation note like the JSON-LD Frames Implementation Notes and Rotation.

@zimeon
Copy link
Member Author

zimeon commented Nov 11, 2015

@mattmcgrattan suggested on IIIF-Discuss that Digital.Bodleian might be early to implement. The current IIIF logo link to manifest could easily be extended to do this. Eg. the current code on Menologion folio 1v has the image as:

<a data-bind="attr:{href: 'http://iiif.bodleian.ox.ac.uk/iiif/manifest/'+resultCurrent().id+'.json'}" target="_blank" title="IIIF Manifest">
<img src="../../Content/images/logo-iiif-34x30.png" alt="IIIF Manifest">
</a>

by adding manifest (and canvas for specific folio) params to the href.

@mattmcgrattan
Copy link
Contributor

For info: This will happen as soon as I can find a few hours to rewrite some of the backend code to provide the information, it's not currently provided to the UI, and change the manifest creation web service to accept requests with the Drag and Drop syntax, so that someone can drag into a view, or click to see the manifest itself.

Ideally before Ghent.

@azaroth42
Copy link
Member

Why is this deferred? Propose removing label:defer :)

@zimeon zimeon removed the defer label Nov 14, 2015
@zimeon
Copy link
Member Author

zimeon commented Nov 14, 2015

Agree, label:defer removed. With input from others on IIIF-Discuss (https://groups.google.com/forum/#!topic/iiif-discuss/US2tKBn2Wno) it seems there is support to move ahead. I agree that a key element is that the note should include a nice CC0 icon to use. How do we make that happen? As we can see from my demo icon, such work is not in my skillset

@mattmcgrattan
Copy link
Contributor

So, I now have drag and drop up and working on the dev branch of Digital.Bodleian using the IIIF icon I was using before, as per #602 (comment).

I just need to tweak the manifest handler app that we run, so that if someone clicks on the link, rather than drags, they get directed to the right manifest.

I expect it'll be live early next week.

@mattmcgrattan
Copy link
Contributor

So, Drag and Drop is up now on the dev branch of Digital.Bod:

http://digital.bodleian.ox.ac.uk/inquire-dev/Discover/Search/#/?p=c+1,t+,rsrs+0,rsps+10,fa+,so+ox%3Asort%5Easc,scids+,pid+,vi+

I'd appreciate it if someone could give it a prod. I've tested the drag and drop icon against Mirador, and against the UV, and both seem fine.

Click rather than drag redirects to the manifest.

@zimeon
Copy link
Member Author

zimeon commented Nov 16, 2015

@mattmcgrattan - Looks like it is working fine to me. Drag works to Mirador, OSD and my little debug JS .

@mattmcgrattan
Copy link
Contributor

Now deployed on the production Digital.Bod.

@mattmcgrattan
Copy link
Contributor

We should have a collection drag and drop pattern, too. With the UV and soon Mirador supporting collections, it would be good to be able to drag a collection in, not just manifest/image.

@mikeapp
Copy link
Member

mikeapp commented Dec 11, 2015

👍

@zimeon zimeon self-assigned this Mar 26, 2016
@zimeon
Copy link
Member Author

zimeon commented Mar 26, 2016

Should add this as http://iiif.io/api/annex/notes/drag-and-drop

Current use includes:

At present is seems that everyone uses the normal IIIF logo. Might still be good to have a specialized version for drag-and-drop but not a blocker.

@zimeon
Copy link
Member Author

zimeon commented Jun 1, 2016

Have started work on this in branch https://github.com/IIIF/iiif.io/tree/drag-and-drop , not complete yet

@zimeon
Copy link
Member Author

zimeon commented Apr 18, 2018

Consensus is that drag and drop should be replaced by a more general "import to viewers" strategy, and work on this is happening in the discovery TSG. See IIIF/discovery#18

@zimeon zimeon closed this as completed Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants