srophe / syriaca

Public respository for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
3 stars 2 forks source link

Faceted browse by Subject Keyword #113

Closed wlpotter closed 4 weeks ago

wlpotter commented 9 months ago

Waiting on zot2bibl update to grab keywords from Zotero tags

wsalesky commented 5 months ago

@wlpotter Does this mean a search box? A dropdown on the search? Facets?

wlpotter commented 4 months ago

@wsalesky For browse, this would ideally be a facet box similar to how "script" functions in BL's browse. It would be labelled "Subject Keyword".

Data is here: /TEI/text/body/listRelation/relation[@type="subject"]/desc/text()

Since there are so many, we were wondering if it might be possible to include a small search box at the top of this facet that would let you narrow down the list of keywords presented. This would be similar to the "Filter tags" functionality in Zotero: (image from https://www.zotero.org/groups/4861694/a_comprehensive_bibliography_on_syriac_studies/library)

Screenshot from 2024-05-29 09-22-48

We may need to discuss how feasible this is, and if there are alternate ways to present this facet given how many keywords there are

Selecting multiple keywords should narrow down the browse results as "AND" facets

wsalesky commented 4 months ago

@wlpotter work in process. Trying to get 'AND' working on facets

wlpotter commented 3 months ago

@wsalesky these seem to be working (but likely as 'or'?) on the search results, but not on browse: https://dev.syriaca.org/cbss/browse.html?view=A-Z.

One thing we forgot to discuss on this in our meeting is if there's a way to let users search in the facet box while on browse (see the image example from Zotero for a comparable feature). The list of subjects is really long (see https://dev.syriaca.org/cbss/search.html?keyword=ephrem# for example), so any way to help users narrow down the subject list they want to find would be useful!

wsalesky commented 4 weeks ago

fixed. no search box, no and. will wait until the next iteration of the site.