Open duiliuliu opened 11 months ago
The attachment manager is a good idea. However, Logseq's plugin API doesn't seem to be able to handle attachments very well. If I can find an implementation idea that might work, I will consider it.
Share my ideas.
how to read assets files? You can refer to this project (https://github.com/xyhp915/logseq-assets-plus/blob/main/src/index.tsx#L252), which demonstrates the implementation method for reading assets files.
how to display assets files First of all, we support file classification management, as shown in the picture below, which includes the ability to filter and process files by their types. Secondly, the display order of files can be based on a general file management approach, supporting sorting by the update time. Lastly, for individual files, we would like to have two different display options. The list mode will show the file names and other key attributes (such as update time and type) in a list format. The shelf mode will display the files as book cards, laid out in a flat manner.
assets management Which file operations need to be supported
file type filter example:
the list mode example:
The shelf mode example:
related reference: https://github.com/sosuisen/logseq-cardbox https://github.com/stdword/logseq13-full-house-plugin/discussions/9 https://github.com/xyhp915/logseq-assets-plus
Thank you for the beneficial information. Indeed, Logseq still needs more asset management functions.
The CardBox plugin does not aim to be a file manager as its primary purpose. Therefore, it may be the role of other plugins.
Shelf mode matches CardBox's aim.
futurized has an idea on Logseq's Discord channel. This may be part of what you want. https://discord.com/channels/725182569297215569/775936939638652948/1181654923344093305 He would like feedback on his idea.
I have tried to implement this plugin on my own, thank you for your feedback and repository.
This is a great plugin! Thank you for reaching out!
Please enhance the file management capability of Logseq with this plugin. It would be great if the plugin can support cardBox display for attachment files and filter different types of files, such as filtering PDF files or PNG files.