Open jzohrab opened 9 months ago
Additional idea closely related to this one: to be able to click on any of parents and sibling terms within the frame and being directed to that word with its translation, parent terms and sibling terms within the same frame (if it was possible to navigate back, it would be perfect). If not possible within the same frame, then in additional frame - this assuming that the inactive frame (without mouse pointer on it) would be automatically closed after x ms (configured in settings for example).
Right, I think I'd need someone to investigate js popup libraries to see what's possible. 👍
https://tippyjs.bootcss.com/ looks good, I think @webofpies did some hacking with this earlier.
my work is on this branch if anyone wants to continue to work on it: https://github.com/webofpies/lute-v3/tree/tippyjs tippy also supports popup inside popup if needed for parent terms
p.s: fyi, on that branch i have also replaced term form flash message with tippy popup (checking if term string has been changed before submit)
Thanks @webofpies 👍 - it feels like this is the right thing to do, do you agree? -- created issue https://github.com/jzohrab/lute-v3/issues/360 to investigate.
yep. i think it's more future proof with much more cool features
With some languages and users, it would be nice to see more detail in the hover. e.g. Modern Greek has tricky verb forms, and being reminded of these on hover could be helpful.
Current information shown in popup:
Requested info: parents, children, sibling terms, perhaps just with some non-cluttered styling and info like translation; or even just a list of children/siblings would be good, b/c their data can be derived from the parent. If a term has multiple parents, the children could be listed under the parent term.
There's a lot of info possible, and could be overwhelming/crowded. Alternatives: