LuteOrg / lute-v3

LUTE = Learning Using Texts: learn languages through reading. Python/Flask.
MIT License
395 stars 44 forks source link

Add 'Reading Modes' #194

Open M-Biggles opened 7 months ago

M-Biggles commented 7 months ago

I was thinking it would be handy to create a 'Reading mode' button which turns off the panels to the right (term translations and dictionaries) and adds various buttons for different modes:

Potential plug-in: Linguistic mapping (POS-tagging)

jzohrab commented 7 months ago

This feels quite out of scope for Lute. Even the bidirectional item feels like a stretch (though I added it as an issue just as a placeholder), and is better served by bidirectional readers. The linguistic mapping is far out of scope, I believe, but that could be my own limited understanding of its applicability to language learning!

But hey, future thinking. (I wish there was a better way to manage GitHub issues, the current manner of listing everything makes it hard to see real issues vs future ideas. I may tag this later as "wishful-thinking" :-) )

M-Biggles commented 7 months ago

I figured that these are perfectly in scope for Lute. Funny that!

Again, on this one, it could be forked as an advanced/linguistics mode and/or made into a plugin.

jamesdeluk commented 7 months ago

For the "core" left-only function, you can do it with CSS. I've made the following code into a Stylus script for simple toggling.

#read_pane_left {
    width: 70% !important;
    margin: auto;
}

#read_pane_right {
    display: none !important;
}