marcusolsson / obsidian-projects

Plain text project planning in Obsidian
Apache License 2.0
1.35k stars 53 forks source link

Add a Timeline view #6

Open marcusolsson opened 1 year ago

marcusolsson commented 1 year ago

Add a Timeline view to lay out long-spanning calendar items in parallel. Similar to a Gantt chart.

robynrbieber commented 1 year ago

This would be amazing1

marcusolsson commented 1 year ago

Since there seems to be quite some interest in this kind of view, I'm bumping the priority.

GamerGirlandCo commented 1 year ago

heads up: i'm working on implementing this! only problem is that the code i wrote is a total trashfire...

marcusolsson commented 1 year ago

heads up: i'm working on implementing this! only problem is that the code i wrote is a total trashfire...

Exciting! I imagine this require some time and effort, so please feel free to open a draft PR and post some screenshots to get some feedback.

At a minimum I imagine you'd pick two fields: Start and End dates. I was planning to look at the d3-scale which has a time scale for mapping a timestamp to a pixel, which would likely be useful here.

Let me know how it goes!

BlackScorp commented 1 year ago

obisidian has a built in mermaid support, which has a gantt chart https://mermaid.js.org/syntax/gantt.html so maybe you could create markdown files with the gantt chart?

marcusolsson commented 1 year ago

I'll give an update here, since this is the most requested feature in the backlog.

While I'd love to have a Timeline view for my own projects, I won't personally prioritize working on any new views for a while.

A few reasons:

This is also a reminder that anyone can develop a view without having to fork the Projects plugin. You can use the Custom View API to build your own Projects view from your own plugin. Since the core views use the same API, it should be pretty easy to merge it as a core view down the line.

viperbbb commented 1 year ago

I was looking for this future, now I know still on the way !!!!!!!! I have made a example that I prefer. tl

amglez commented 1 year ago

I would love to see it too <3

Ampa commented 1 year ago

Please please please add a timeline view. Would be so helpful to me. Thanks.

FREYA265 commented 1 year ago

Hello, first of all thank you for your work ^^ I love it! Secondly, I think this is a great idea! It's exactly what prompted me to create an account to exchange with you ^^ Yes, for example, I really like the Trello view! With the timeline. So I'm really happy that you're working on this project ^^

image

aiyou9 commented 1 year ago

an open source project of gantt: https://github.com/worktile/ngx-gantt

playground: http://gantt.ngnice.com/components/basic

image

roaldarbol commented 1 year ago

Just found Markwhen, which is an open source project that is also aiming at integrating with other IDEs/editors. They already have a VS Code extension, but importantly they also have Obsidian on the roadmap, which can be followed in https://github.com/mark-when/markwhen/issues/103! Might be worth keeping an eye on, as it could then hopefully be adapted to Projects down the line.

beatblender commented 1 year ago

I like your work very much! Thanks you very much! Can't wait to see your Gantt view 👍

briandbezerra commented 1 year ago

I can't imagine how hard it is to maintain, kills bugs, etc. However, this feature seems indispensable for, well, projects. I was surprised 'Projects' didn't have a 'spanning calendar' feature as it seems essential if one intends to use it for project management.

This plugin is superb and with this feature it would make it indispensable for me, and given the votes for this feature, a lot of other people. I wish this was prioritized (and that I actually knew what I was doing to help).

Shaddy-ElDesouky commented 1 year ago

upvote I'll try mermaid plugin @BlackScorp , and watch for Markwhen @roaldarbol , useful thread, thanks

HilkopterBob commented 1 month ago

Any Updates @Acylation ?

camilogarciabotero commented 1 month ago

There is a quite recent alternative plugin for timelines: markwhen

emendir commented 1 month ago

There is a quite recent alternative plugin for timelines: markwhen

The Markwhen plugin takes the approach of storing all data in a dedicated file, instead of using file properties in your notes like Projects. Could it be simple enough to make Projects use the Markwhen plugin as a view? That way we don't have to build a timeline-viewer from scratch here. The approach would be:

I haven't built any obsidian plugins yet, so I don't know how feasible this is.

What do you guys think?

HilkopterBob commented 1 month ago

From a user standpoint I would really like and appreciate this approach, as the handling of a timeline inside of a project would fall in line with other Views, like KanBan or Calendar, while reducing the strain on the user to setup and build the timeline from scratch with markwhen.

obstschale commented 1 month ago

@emendir I am using Markwhen for few weeks now and it works really nice. The WebUI is slightly better, but the obsidian plugin is currently under development.

I was also thinking about programming an obsidian plugin, which simply grabs frontmatter values and convert them to markwhen syntax. This seems not that difficult, however all files need to have the same frontmatter fields.

Unfortunately, I am currently not able to start (another) side project. :(

Acylation commented 1 month ago

Yeah I’m also on the markwhen thread. Feel free to find me there.

About the idea to grab front matter times to a single markwhen file, could templater help over this case?

Experimenting with some essential components to build timeline views for Projects. Still a long way to go.