digirati-co-uk / madoc-platform

A platform for the display, enrichment, and curation of IIIF-based digital objects
https://docs.madoc.io
MIT License
51 stars 14 forks source link

Autosuggest Tags not suggesting #119

Open NLW-paulm opened 5 years ago

NLW-paulm commented 5 years ago

Gle - Tags
When you type something, no auto-suggestions show. The box expects you to select something, therefore anything you type does not count as input or a selection, so the 'next' button doesnt become active to move onto the next stage.

TAGS: NLW, BUG

stephenwf commented 5 years ago

Hi @NLW-paulm Do you have a link to one of the example sites highlighting this issue?

NLW-paulm commented 5 years ago

Heres a video https://drive.google.com/file/d/1-YMZsAxllby88iIVg31yM_yxnQVmGlYs/view?usp=drivesdk

and its from this page https://omeka.nlw.digtest.co.uk/s/livingstone-mutable/manifests/view/1518/9903

stephenwf commented 5 years ago

Ah, thanks @NLW-paulm

The problem is with the format that the Annotation studio is expecting, and likely a bug in the import (and really the annotation studio!).

Current output:

"crowds:uiInputOptions": "https://crowd.library.wales/api/complete?class=FAST\u0026q=%s",

Expected:

"crowds:uiInputOptions": {
    "@id": "https://crowd.library.wales/api/complete?class=FAST\u0026q=%s",
    "o:label": "autocomplete"
},
stephenwf commented 5 years ago

You can manually update the capture model to use an ID/label pair to fix the issue @NLW-paulm instead of a plain text.

NLW-paulm commented 4 years ago

OK no problem, leave this open as a reminder to me to fix it when we do the next import too, if required.