zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
3.68k stars 202 forks source link

FR: update Metadata by moving a card / sticky note automatically #1765

Open lightningRalf opened 1 month ago

lightningRalf commented 1 month ago

Describe the solution you'd like I draw a Kanbanboard / swimlanes for example. So there are columns and rows with a description or the naming of the whole axis with increasing numbers on the axis as 'columns' When I move a card on this around, I want the properties to be updated on 'save'

Additional context relates to: https://ptb.discord.com/channels/1026825302900494357/1166093804659556422/1195318994702442597 you mentioned fileOnSave hook as a possible implementation solution.

edit: 2024-06-06 As an example: the numbers inside the squares doesnt matter (it was just for me to get a better overview where to set the do / decide / delete boxes) More thoughts on this: And probably a seperate issue - just for having this in the back of the mind: The numbers in the box could be used to create another property with the 'name of the template' and then get assigned the value of the frame. image

lightningRalf commented 1 month ago

Because I stumbled upon this again in my thoughts. It would be nice, if the placement could be done with an end of an arrow. when the fields are too tight. like in the above graphic. Example: image

And when thinking about it some more - the following would be awesome - but I guess it is a how different beast. But maybe these could serve as an extended thought when designing it.

  1. When adding multiple cards via a dataview query script. If they have properties already they will be placed inside the specific 'frames'.
  2. When dragging them outside of the frame the arrow appears with the point inside the field and has a connection to the link. - see image above.
  3. As bonus points go: When editing the status inside the card. the card / arrow gets automatically switched - this would be important for data consistancy.