piazzatron / anki-smart-notes

Superchange your anki flashcards with ✨AI✨
GNU General Public License v3.0
18 stars 4 forks source link

If there are too many fields in the note template, the Prompt input box will be obscured #39

Closed libukai closed 3 weeks ago

libukai commented 1 month ago

CleanShot 2024-10-10 at 16 48 15@2x

piazzatron commented 1 month ago

Wow, that's a lot of fields 🤯

Will fix

jhhr commented 4 weeks ago

How about making the note fields accessible from a right click menu in the QTextEdit? That is, you place the cursor where you want to add a note field reference, then right click and select the field to paste in the cursor position. That way, even dozens of fields will be easily accessible and they take no space in the editor view.

I made a custom QTextEdit component that works like that in my personal addon: https://github.com/jhhr/custom-fetch-template-field/blob/main/ui/pasteable_text_edit.py

piazzatron commented 4 weeks ago

@jhhr fantastic idea. Will definitely add this 👍

piazzatron commented 3 weeks ago

@libukai fixed this in 2.4.0 just now. Going to close this out but took note of @jhhr's suggestion and will get around to it in time.