Macavity / siyuan-database-properties-panel

MIT License
7 stars 1 forks source link

Add a fold and expand button at the top of the document #14

Open 5kyfkr opened 1 month ago

5kyfkr commented 1 month ago

Describe the idea The plugin is very useful. I hope to add the function 2 in the following link, which can fold and expand the view. This link also contains the final optimization plan for the property panel that I discussed at that time. You can refer to it to see how much can be completed. Now the developers of siyuan are really not energetic enough. It would be great if you can do it here. https://github.com/siyuan-note/siyuan/issues/11371#issuecomment-2115626285

[Function point 2] Add a fold and expand button at the top of the document (alternative solution), or integrate the fold and expand button into the database logo at the top of the existing document (recommended solution). Click the database logo at the top of the document to expand or collapse the database property interface, and provide setting options to set the default expansion or default folding

Macavity commented 1 month ago

There is a lot of different discussion going on in the linked issue and I'll be honest, it's too much too read for me.

I think there is a reasonable use case to allow to fold/expand the database properties, especially when someone has a lot of them. For my personal use-case though, it's not something I think is required or necessary. At least it doesn't have a priority right now, as I will focus on editing first and foremost.

If you have an idea what it could look like and we come to an agreement, I would be very happy to see this contribution being added to the plugin 😁

5kyfkr commented 1 month ago

Yes, the most important thing at present is to make the editing function available. Another thing is to switch between groups to display the properties of different databases, which can reduce the space occupied by the property view at the top of the note. The hiding function can make it easier for people to decide which documents do not display database properties, so as to maintain the current usage habits to a greater extent. Of course, this function has a lower priority.