lute-v3 icon indicating copy to clipboard operation
lute-v3 copied to clipboard

Feature request: Add status to read page

Open jamesdeluk opened this issue 1 year ago • 6 comments

A picture says 1000 words:

image

This was hacked together with HTML copy-paste so it doesn't actually update (and the padding/margins are a bit off) - so no useful code to be taken from this demo :)

jamesdeluk avatar Mar 11 '24 18:03 jamesdeluk

:-) Hi @jamesdeluk, thanks for the issue.

Is this status bar to be for just the terms on this page?

Personally, I'd find this distracting: the page already has enough colors on it, adding a summary status bar at the top adds more of the same, so this should be hide-able behind a user option with the default as "turned off".

jzohrab avatar Mar 12 '24 02:03 jzohrab

Is this status bar to be for just the terms on this page?

I'd probably prefer it to be terms for the book - in other words, a way of showing completion. For the page could also work though.

this should be hide-able behind a user option with the default as "turned off".

That would be fine.

jamesdeluk avatar Mar 12 '24 07:03 jamesdeluk

fyi: Currently the status bar (shown on the first page) is only a sample of the next few pages, it's not a stats bar for the full book. There are other issues about full book stats.

jzohrab avatar Mar 12 '24 15:03 jzohrab

Dev size estimate info:

  • add bar graph - perhaps see if there's a way to extract the bar graph info from the book listing on the first page (?)
  • add user option to show graph, default to false, add to "behaviour" UI (???) -- optionally, add to the default styling .css, and add a note to the custom styling page about how to show the chart.

jzohrab avatar Mar 12 '24 15:03 jzohrab

I'm back with another hacking workaround 😂 https://greasyfork.org/en/scripts/493338-lute-current-page-statuses-alert-button

jamesdeluk avatar Apr 24 '24 08:04 jamesdeluk

Ha script hacks are always great! I have one too for opening all books.

jzohrab avatar Apr 25 '24 19:04 jzohrab