Add Button in Timeline

Hi All,
I want to add Button in Timeline for that paticular doc in timeline

Example


I want to add a button, Under Copy link button to Open this event Doc
image

Aslo
image
Want to add a Button that can take me to this todo doctype

ERPNext: v15.25.0 (version-15)
Frappe Framework: v15.28.0 (version-15)
Custom: v0.0.1 (master)

If you want, then you have to play with js. so learn it and develop it.

yes, I have tried the same.
I was thinking in this way.

I will extend it through html, it has data

So from this If i get the doctype and aslo the id then i can trigger a js function that can take to to that doc, as communication has all the details.

Let me know if this is right or any improvement is needed
Also Please help me how can i extend/override html with help of custom app

learn the hooks concept.

Can you give me a high level overview which hooks will, help me to solve my issue

Specially how can I extend the html template