Kin69 / EasyNotes

EasyNotes: Jetpack Compose MVVM for seamless note-taking. Effortless creation, editing, and organization.
GNU General Public License v3.0
332 stars 26 forks source link

[BUG]: Widget rendering #118

Open derei opened 2 months ago

derei commented 2 months ago

Required Information

Steps to Reproduce the Bug

  1. Create a note
  2. Add the EasyNote Widget on the home screen and attach the note to it.
  3. Depending on the variety of markdown elements in the note, observe how some of them render adequately, others don't.
  4. For a better understanding, see the attachments.

Expected Behavior

The widget to display the note the same way it appears in preview panel, in the app.

Strongly Recommended Information

Smartphone Information

Additional Information (Optional)

There is also a Bonus section at the end, about attached images. If I may, I'd like to make some suggestions:

  1. the app to embed and resize the attached image (so if the source is gone, it doesn't disappear from the note). Resize to the max acceptable value for embedding, of course. Why: . to avoid issues where image is too large. It can be frustrating to have to deal with resizing just because the app can't do it automatically.

  2. to allow tags for displaying the image smaller than it's been attached, and tapping on the scaled-down image, to open the true-size image. Why: . to be able to attach images for various notes, without occupying too much note space, when is not necessary. For example if the note contains a lot of text and images. . and the scaled-down preview to be just for in-line displaying, and the true size (the one embedded), to be available when tapping/clicking on the preview. . the tag can be as simple as adding a value before the ![...], for example: 0.5x![my_image](img-location), would scale down the displayed preview to half of the actual image. This is just a proof-of-concept idea. I am sure it can be done in more elegant ways.

Screenshots

  1. The note in raw format SmartSelect_20240721_012000_Easy Notes

  2. The EasyNote Preview SmartSelect_20240721_011931_Easy Notes

  3. The Widget Rendering SmartSelect_20240721_011849_One UI Home

BONUS (because I like you):

aRandomMenno commented 2 months ago

I was about to make a report for this, XD. You were faster.

derei commented 2 months ago

I was about to make a report for this, XD. You were faster.

Yeah, I couldn't sleep... too much energy drinks abuse šŸ˜†.

aRandomMenno commented 2 months ago

I was about to make a report for this, XD. You were faster.

Yeah, I couldn't sleep... too much energy drinks abuse šŸ˜†.

You should not drink energy drink like less than 2 hrs before going to bed. šŸ˜†