Open berger-n opened 3 months ago
the config file is a very good idea yes!
added the Recent Acquisitions widget showing the 10 latest scans, with a timeframe selector: https://library-dev.bdrc.io/tradition/bo/
the query is randomly returning 500 though, so hardly usable for now...
but I think we can use the one that is used on the results page, which is working even with ~5000 results, for the last 6 months!
anyways we'll need to customize it according to the tradition (or we'll do that once we have the new search ui?)
just added all the missing items in the config file, using the data in ontology when available so it can be easily displayed in the right language: https://library-dev.bdrc.io/tradition/bo/
added routing for subpages, and breadcrumbs: https://library-dev.bdrc.io/tradition/bo/persons/school/
added first level of topics and more content in sublevels in persons/places: https://library-dev.bdrc.io/tradition/bo/places/type/ (with some queries already working as is)
very nice start!!
the topics are now browseable: https://library-dev.bdrc.io/tradition/bo/texts/topic/bdr:O9TAXTBRC2016052KG226920/
(a [N]
marks topics having a subpage with N direct subtopics, and when clicking a leaf topic it opens the current related search results)
now regarding the collections, I think can manually add them from tbrc.org (grouping them in Third Party Collections, Core Text Collections and Print Masters categories)
but regarding browsing the texts by author, I'm not sure how to proceed, I don't think we can just display thousands of authors like in tbrc.org, can we?
at least we could use the Tibetan letters to group the authors in top categories (as long as there's no Western nor Chinese author in this list, is there?)
browsing by topic looks perfect, thanks a lot!
for collections let's not have this division but instead only have the third party collections of tbrc.org (and a few others I'll list) directly under the root. We can skipt the Wisdom print masters and core text collections
let's remove the browsing texts by authors for now I think, it doesn't make much sense for the current database (the data on tbrc.org was last updated in 2014, the size of the db has been multiplied probably by 10 since)
I think I've put all the data I could take from tbrc.org (added 3rd party collections and all remaining place types): https://library-dev.bdrc.io/tradition/bo/texts/collection/
now I can sort topics better, and there could be something saying "nothing for the past 7 days" here: (maybe automaticaly switch to 30 days in that case? wdyt?)
Looks excellent, thanks! I agree with your suggestion yes (switching to 30 days, or if still nothing then an error message)
Great job @berger-n! In recent acquisitions
Showing the most recent additions whatever the age is a very good idea!
The dropdown has been asked by some users though... or, well, more precisely the ability to see what was added on the website in a certain timeframe
Good idea to filter the recent additiond by language on the Tibetan page too, that will be an important improvement!
Nicolas I don't think we have a good way to do that right now, let's make these queries on opensearch later
@berger-n Can we copy sorting of different sections from TBRC in general?
For the By Topic page, I suggest the following sort order to start with (to be discussed), updated in Figma.
@berger-n On the By Topic page, please make the thumbnails 75*75px instead of 100. They are taking too much attention from text and do not help navigation. I just updated this in Figma too.
just made all the feasible changes I think: https://library-dev.bdrc.io/tradition/bo/
regarding the sorting of sections in TBRC:
I've updated the top level topics order so it's now the same, but did you mean the inner categories as well? actually I was in the middle of sorting by language (done) then alphabetically for a given language (done for English and Chinese, still to do for Tibetan); the topics file is obviously quite huge, but if needed we could add some ordering information I guess :sweat_smile: (in another file as it is automatically generated BTW)
the places already were in the same order
the question about the alphabetical order for the schools was raised in a previous meeting, what about it?
@berger-n sorting is a big factor in UX, and human mind naturally finds the logic of different lists, which is very important in those lists to be beneficial.
Alphabetical is an easy way but only sometimes the most helpful. It really depends on the context. Alphabetical underlines that BDRC considers all content equal, like with the Tibetan schools, but in other contexts a better logic would be from important to less important, from generic to specific, from large to small amount of material, from old to new, from popular to less popular, from clear to obscure, from easy to difficult, whatever works in the context.
And yes, this would need to happen on deep levels too, although our taxonomies are sometimes such a hot mess that they would require a some work, mentioned by Jann.
TBRC sorting is probably not perfect but it is the best we have. I saw you already implemented some of this and it immediately got much better.
@berger-n, The only thing I wanted to change from TBRC is the main thumbnails on the By Topic page. See Figma. I think it is better to start with the Canon and go from general to specific, but also grouping similar topics together.
@berger-n I can add some info in the data for the order of topics, no need to add big config files
nevermind, I can add that kind of information on the intermediate nodes of the taxonomy but not on the leaves (the topic themselves)... let's use a big config file for now, maybe the same as on the DLDs? (that could use the same order too). The order can be derived from the outline of the old website: https://legacy.tbrc.org/xmldoc?rid=O9TAXTBRC201602
derived a rank
parameter from the xml data (the line number actually, added by this script):
https://library-dev.bdrc.io/tradition/bo/texts/topic/bdr:O9TAXTBRC2016052KG225324/
however there are like 300 topics that couldn't be matched against anything in the xml (here) or matched more than one (here) so they're just added at the end: https://library-dev.bdrc.io/tradition/bo/texts/topic/bdr:O9TAXTBRC2016052KG225383/
finally there are a few ones (3 actually, no 2 because one is the root topic) that don't have a label (here): https://library-dev.bdrc.io/tradition/bo/texts/topic/bdr:O9TAXTBRC2016052KG225727/
Wonderful! I think this is more than good enough for now, thanks a lot!
now working with the new links:
placeType
in the data, I'm not sure I can add it myself (it doesn't seem so)workGenre
: https://library-dev.bdrc.io/osearch/search?workGenre%5B0%5D=T13
but I'm not sure we can handle something like workGenre:... OR workIsAbout:...
?)thanks, that's wonderful! I just updated the data so that:
that's perfect, thanks! now it works for everything (what about the "selected works by school" though):
great, thanks! For selected works by school let's just use instances associated with the tradition, for instance
done: https://library-dev.bdrc.io/tradition/bo/
not sure where to go from Canon and Miscellaneous though?
excellent!!
for Canon and Miscelaneous that's a bit weird, let's remove these two
first draft of the new Tradition page (only top level navigation is enabled for now, from the top menu): https://library-dev.bdrc.io/tradition/bo
seemed a good idea to handle the data in the config file: