I wrote this to figure out where most my space is going for my joplin notes since my notes are near 1gb in size. Thanks to this, I've been able to find and delete notes that consume space that I don't really care about
it creates a note with resources consumed. because I usually delete the note after, and there's no quick way to do this, I added a delete button on the note too. The delete button can be toggled in the settings.
Thanks for the plugin and sharing.
If you don't mind some constructive feedback.
Clicking on it did not react at all, I thought it wasn't working or doing anything, so I switched notebooks and kept on clicking and trying different things to see if it would work. I have thousands of notes by the way, perhaps because of that it takes long.
I ended up with 8 reports so far and still ongoing, so some feedback or a progress indicator would be extremely useful.
Like I said, I have many thousand notes, so unless the disk usage is reverse sorted by size or there is some kind of summary it is impossible to go over the long list and try to spot the big disk consumers. in fact even scrolling through the note stutters, that's because it is so long.
Please don't take this negatively and keep up the good work.
Thanks
I don't perhaps show a dialog, disable the button until the note is created ...
Anything to indicate that something is happening and not to be clicked again.
Thanks for putting in the work for this project. When the Joplin Android app started stalling during syncs I thought of searching the database to see if I'd inadvertently created a freakishly large note that was gumming up the works. But then I got distracted by a shiny object and, well, you know...
Two design suggestions: On the progress meter request perhaps the easiest approach would be to initially create a dummy report with simply "Now searching through the notes..." as its contents and then updating the note once the processing is complete. I don't personally see this as a high priority request, as once someone has used the plugin they'll know what to expect in the future. The slight delay before results appear could also be described in the plugin's description -- useful for those rare individuals who bother to read the instructions before using something.
As to the sorted results issue, I too was somewhat flummoxed by a generated TOC of notebooks that was sorted neither by size nor by name. It wasn't until I read through this thread that I realized the results were sorted by note size within each notebook. The TOC wouldn't have been confusing if I'd only had a few notebooks, but I had 60. I wound up copying the TOC as text, pasting it into an external editor, and then manually looking through the results for the largest notebooks. As someone who regularly monitors disk storage however I'm used to seeing a pie chart with the big picture and then drilling down into the details. So, yeah, a TOC sorted by notebook size would be nice improvement.
All that said, I must reiterate my thanks for creating this plugin. It is a useful addition to the plugin library.
UPDATE: Well, you sure addressed the notebook sorting issue quickly -- while I was composing the response. Nice one!
I'm doing this in an annoying way, but Joplin is a bit lacking when it comes to refreshing. So there's a flicker as I create a temp note, delete it, and switch back to the current note after the update. But now you can see some waiting text in the next update
Thank you for this very nice plugin and the work it took to create it.
I can be a bit thick at times so to mention some things I eventually realized
it's the pie chart icon at the top of the right panel that you click on
I found it easiest to position myself in a sub-Notebook I call "Meta Joplin Notes" where I keep my tips on how to use Joplin, etc.
I then rename the Joplin Disk Usage Report to have a colon and the date/time created at the end (if I want to keep before/after reports for reference)
I have a lot of notes and notebooks but not as many as some users I think, so it didn't take long for the report to be created for me. My largest notebook is 32.60 MB
I installed and am using your plugin version 1.3.1
THANKS AGAIN!!!