maelchiotti / LocalMaterialNotes

Simple, local, material design notes
https://play.google.com/store/apps/details?id=com.maelchiotti.localmaterialnotes
GNU Affero General Public License v3.0
98 stars 7 forks source link

Add images to the notes #104

Open super-lurker opened 3 months ago

super-lurker commented 3 months ago

Most modern note-taking apps give you the ability to add audio recordings and images to your notes. I hope to see this feature in the app someday. Otherwise, it's a solid note-taking app. :)

maelchiotti commented 3 months ago

Hi @super-lurker, thank you, I'm glad you like the app!

The editor library I use does support embedding images, so it shouldn't be hard to support this.

For audio recordings, I would need to develop the embeds myself, along with UI to record them, delete them etc., so I can't say if I'll ever give it a try.

super-lurker commented 3 months ago

I'll take what i can get, thanks :)

maelchiotti commented 2 months ago

Hi @super-lurker. I've looked into it and here are my troubles with adding images support:

To sum it up, it's not as straightforward as I initially thought. So I don't plan on adding this anytime soon, this will remain a text-based note taking app for now. I will however leave the issue opened in case I ever feel like tackling this issues!

super-lurker commented 2 months ago

local file is what most ppl will ever need, the rest is just bonus. fleather sounds like a pain to work with :)

maelchiotti commented 2 months ago

Yes, I agree. If I work on it I will just begin with local files. I guess I could display all images at full width (with a max width for landscape or tablets). And if I manage to compress the images, maybe they won't be too heavy to store as base64. I'll take a second look soon if I find the time!

And fleather is actually really great! I tested like 3-4 editors before settling on this one. The maintainers are very nice as well. I just believe they don't have the time or resources to support more complex features out of the box. Maybe I'll switch to super_editor when they publish the promising new version of their editor if it makes this app more capable.