NatLibFi / Skosmos

Thesaurus and controlled vocabulary browser using SKOS and SPARQL
Other
224 stars 93 forks source link

Focus on hierarchy when launch search #1576

Open pierremartins507 opened 8 months ago

pierremartins507 commented 8 months ago

URL address of the page where you encountered the problem

Description of the problem

1- I launch a search word, the autocomplete work fine 2- I valid the word 🆗 3- The page is show 🆗 4- The hierarchy is not focus on word search

Additional information (e.g. screenshots) about the problem

No error on developer console

The browser you used when the problem appeared

Firefox or Chrome

osma commented 8 months ago

Thanks for the report.

I think we need a bit more information.

Which Skosmos version is this?

Can you provide screenshots?

pierremartins507 commented 8 months ago

Of course. Skosmos version 2.16

1/ I search a word : Capture d’écran 2024-01-19 à 15 18 00

2/ I have selected the word "abeille" and the focus is not set on Hierarchy : Capture d’écran 2024-01-19 à 15 18 27

Thank for your help. Pierre.

joelit commented 1 month ago

I can reproduce; when I open any concept page in Skosmos 2.x, I won't be able to get hierarcy focus on the shown concept. E.g. https://finto.fi/iptc/fi/page/?uri=http%3A%2F%2Fcv.iptc.org%2Fnewscodes%2Fscene%2F011200

osma commented 4 weeks ago

I think this is a more general problem with the hierarchy visualization in Skosmos 2 for the INRAE Thesaurus. Another similar issue has been reported as #1396. These are very hard to fix in the jsTree based hierarchy display used in Skosmos 2.

However, in Skosmos 3, the hierarchy implementation (which is still being worked on) is completely different and I think these challenges would be better to address in Skosmos 3 development. Using INRAE Thesaurus as a test case when implementing the Skosmos 3 hierarchy display.