-
Notifications
You must be signed in to change notification settings - Fork 95
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
Fix typeahead templates in the search auto-complete #1326
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1326 +/- ##
=========================================
Coverage 70.68% 70.68%
Complexity 1646 1646
=========================================
Files 32 32
Lines 3786 3786
=========================================
Hits 2676 2676
Misses 1110 1110 Continue to review full report at Codecov.
|
ea82b13
to
4b7af3a
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@osma, got stuck with the item “ Fix the concept mapping (for some reason we are showing the URI only)”, but I'm thinking it might be my environment. After I cleared my local storage, and reloaded Skosmos, I can see the request to http://localhost:9090/rest/v1/types?lang=en, that returns very little data. And in <finto.fi> I can see a similar request, but returning a lot more data. Any idea what I might be doing wrong? If it's just my environment settings, then this PR should be ready for an initial review :-) The CSS style should be closer to what it was, and the information displayed too. Thanks! |
Not getting labels for concept types seems to be a recurring problem... In this case, I think it could be caused by this issue - try enabling the union default graph setting for your Fuseki.
Thanks a lot! Will review soon... |
That fixed it. I simply uncommented that setting in our config file and re-created my environment. Here's a preview of the final version in this PR: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, works great! Thanks a lot!
Wohoo! Thanks for reviewing it so quickly @osma! |
The template appears to be more or less like the previous one. One thing that I noticed is that we have two
div
's (in both 2.14, and current version). So my first guess appears to be correct, that Twitter Typeahead drops the second div, instead of displaying it as before.Reasons for creating this PR
After #1182 , apparently we got a regression in the search auto-complete.
Link to relevant issue(s), if any
Description of the changes in this PR
Trying to match the previous design/appearance as much as possible.
Known problems or uncertainties in this PR
Checklist