seanlowe / obsidian-timelines

Create a timeline view of all notes with the specified combination of tags
https://seanlowe.github.io/obsidian-timelines/
MIT License
39 stars 2 forks source link

[Feature Request] Timeline-arrow #44

Open ReconVirus opened 1 month ago

ReconVirus commented 1 month ago

Integration with timeline arrows,

Use case would be to "link" events together, or show a connections between them as a cause and effect

https://github.com/javdome/timeline-arrows

a playtest demo of it working

https://gistpreview.github.io/?b5a7a48e51d0b5d62aee718e10039e16

seanlowe commented 1 month ago

This is pretty cool. I'll add it to the to-do list

seanlowe commented 3 weeks ago

Looking into this, actually implementing the arrows should be fairly simple. I'm more wondering how I would be able to let the end user make those connections themselves. From the timeline-arrows README, each connection has to be have the ID of start and finish.

Right now I generate an ID for each event from the normalized start date of an event, so perhaps I could add a field on events for successor, arrow-to, points-to, next-event or some such?

Events would probably look like:

<div class="ob-timelines"
  data-title="First Event"
  data-start-date="2024-5-24"
  data-points-to="2024-6-11"
>
  Event Number One
</div>
<div class="ob-timelines"
  data-title="Second Event"
  data-start-date="2024-6-11"
>
  Event Number Two
</div>

Does this seem an acceptable way to add this? What are your thoughts?

ReconVirus commented 1 week ago

Sorry for the long wait as im just seeing this now, didnt expect youll get to it this fast, and yeah actually that pretty much sums up how i figure it to work or a simple connects-to : (name of event) as a simpler way