fonol / anki-search-inside-add-card

An add-on providing full-text-search and PDF reading functionality to Anki's Add card dialog
https://ankiweb.net/shared/info/1781298089
GNU Affero General Public License v3.0
178 stars 24 forks source link

Feature request: More Area for PDF Reading and Vertical Scroll #305

Open Junyu25 opened 2 years ago

Junyu25 commented 2 years ago

I transferred my incremental reading platform from Polar PDF reader and found out the SIAC is more helpful since it's integrated into Anki. There are two features I would absolutely call for increasing the using experience for SIAC.

  1. More Area for PDF Reading. It's great I can add any card in the Anki Add Dialog when I'm reading. But the default UI is actually not that fancy and took too much place in the reading mode. That would be perfect if we can move it to other areas like this:

    Snipaste_2021-12-11_12-41-46
  2. Vertical Scroll It's related to the first request. That can be also achieved by adding vertical scroll to save space and increase the reading experience.

Thank you for your great effort in developing this awesome addon @fonol

fonol commented 2 years ago

Hi, thanks for the suggestion, but I fear that's not possible. The areas you highlighted are outside the main webview (where the pdf reader lives), and are not even web-based in some parts.

kvn1351 commented 2 years ago
Snipaste_2021-12-11_12-41-46

I came here to kindly request this very change!

It's a pitty that they have made it that way. I suppose that the bar would have to be remade scratch. But that wouldn't play nice with other addons and such.

I suggest adding some basic buttons for styling + cloze + maybe fieldtype and nothing more. That would make it much better for the users who keep the fields on the right. And make the native bar collapsable/hideable. What do you think @fonol?

Either way, thanks a lot for this amazing addon :)

Edit: I've made a vertical scrolling prototype #326

kvn1351 commented 2 years ago

If there are many web-views, why doesn't the inspector show it that way? I just moved the div and added some padding. It works great. Could you please add support for this @fonol?

image

Edit: I've made a prototype for this too #327