Closed turbomam closed 2 years ago
I think Brandon's embedding code is now obsolete re linkml-datastructure branch. Working on help dialog slot attribute display in separate thread. I'll spruce that up today according to those requests.
Working on help dialog slot attribute display in separate thread
great!
Can you point me towards any notes about possible improvements to the help dialogs? I was just experimenting with the ways that DH acts on various LinkML slot attributes for either validation or help at https://github.com/microbiomedata/dh_testing
I have some relevant but verbose notes. One could could look for appearances of "help" in https://github.com/microbiomedata/dh_testing/issues/3#issue-1320224735
I could probably formalize that issue comments some if that would be helpful.
I guess dh_testing is private. Can you get ddooley on there? Thx!
I made it public
Well, if you want to add stuff to a column help view of a column, then getCommentDict(slot) should be the dictionary to add textual key/values for, and then getComment provides the HTML available to the double click header. Admittedly that function is built into DataHarmoniser class. I guess it could be overwritten if you wanted a customized display?
renderReference() also uses the very same getCommentDict(slot) as getComment() for each of the slots.
Is that what you needed confirmation about?
It would be good to formalize what you need, or just put in a pull request for more content in getCommentDict(slot) and getComment() if it is generically applicable for other DH users!
linkml.py
behavior for creating the template menu in themenu.js
?