marcusolsson / obsidian-projects

Plain text project planning in Obsidian
Apache License 2.0
1.49k stars 60 forks source link

Provide a link or command to each project view #216

Closed promethean closed 1 year ago

promethean commented 1 year ago

What would you like to be added?

A permanent link to each project, or a command to launch each individual project (like QuickAdd).

Why is this needed?

This plugin has great potential, and I respect the "leave no trace" philosophy but the limitation that it can only be launched via the ribbon or a command is deeply frustrating. Other similar plugins (like DB Folder) do create a file that can be linked to from other resources. This is far more usable, as you can search for it, link to it, and generally set it up in your workflow.

If the 'leave no trace' philosophy stays and files are not an option - a workaround would be to provide a command for each project (rather than the default project). We could then use this with Obsidian Advanced URI or otherwise to create our own links.

Currently I can't see how to use this excellent plugin in my own workflows.

Good luck !

marcusolsson commented 1 year ago

I don't see any problems with adding a command for projects, though I'm a little hesitant to add command for all projects by default. Instead, I imagine a switch in the project settings along the lines of "Add as command", "Create a command for this project". Would that work?

axelson commented 1 year ago

I'm not the originally poster but I have a similar request, and for me adding/enabling a per-view command via the settings would be great!

marcusolsson commented 1 year ago

Just to clarify, the command would be the same as "Projects: Show projects" command, with the difference that it selects a specific project?

I recently added the option to set a default project that will be opened first. Would that make it easier for you?

I'd like to know more about the use cases people have.

For example, are you frequently switching between two projects? If we had a command that shows the previously selected project, you could toggle between projects with a single command.

Or, is it the action of selecting a different project using the mouse? Would a command to cycle between projects work?

axelson commented 1 year ago

The option to set a default project isn't very useful for my workflow because I'm using two Projects (Projects and Books) roughly equally.

I currently have two projects with a few views in each:

So personally the two main commands I'd like to have are

Note: These names would match the name of the project and the name of the view that they were created for.

And I envision having more projects in the future so I'd like something more than just toggling between projects or views.

Or, is it the action of selecting a different project using the mouse? Would a command to cycle between projects work?

Yes it is true that I really don't like having to use the mouse to make these types of changes.

randomsnowflake commented 1 year ago

Another +1 from me.

Being able to link projects would allow for adding a project view to the starred documents - which is what I want to do, but it is not possible right now.

thecheesemo commented 1 year ago

I'd like to know more about the use cases people have.

For example, are you frequently switching between two projects? If we had a command that shows the previously selected project, you could toggle between projects with a single command.

Or, is it the action of selecting a different project using the mouse? Would a command to cycle between projects work?

I want to +1 this topic generally, but without the frustration. Your plugin does much of what I want, and it would only be made better with a command for each View in a Project

I would specifically love the ability to have a command for each View in a Project that I've created. My use case is likely a bit different from the original intention of the plugin. As I use it "zooming out one level". In other words I have a project to manage my set of Goals, another to manage my set of Projects, another to manage my set of Responsibilities(I call them Matters), and another to manage my set of Tasks.

Those first three, my Goals, Projects, and Matters track my overall commitments and responsibilities. The last one, Tasks is centered around action Items generally. Each note in the Tasks project contains a single obsidian task, using the Tasks plugin. And, vice versa: each Task in my vault is assigned to a single note. This way I can use plugins, like your Projects plugin, to help manage my time at the task level.

However, and there is where the commands for individual views becomes useful, I also use other tools outside of your Projects plugin to manage these concepts. And, I have markdown note dashboards to quickly navigate between these other tools. Specifically speaking:

2023-02-21_6-17-45

Thanks again for the work you've done. I can't do what you do, and what you've done has helped me a lot already.

HugoCastellanos commented 1 year ago

+1 on this request.

It is incredibly useful to be able to link to the default view of the default project via the Advanced URL plug-in Show projects

I'd like to be able to link to the 3 different projects I plan on having. 1 for GTD Projects, 1 is a content calendar and another one is a CRM/UX Interview tracker.

My workflow is mainly calendar-driven, so I regularly drop Obsidian links into the notes field of my calendar events. I'd block half a day with "Research for Podcast episodes" and add a link to my Content Calendar board so I can make progress on the pieces of content within it.

It would be incredible to be able to link to specific views by right clicking into them, and copying a particular link for that project + view into the clipboard.

I am not sure how the syntax works, but Ideally something like:

[ Show projects ] ( obsidian://advanced-uri?commandid=obsidian-projects%253Ashow-projects ) // To show me the default project, this one works great already.

[ Review Kanban for Project A ] (obsidian://advanced-uri?commandid=obsidian-projects%253Ashow-projectA##Kanban ) // To show me the Kanban for project A

[ Process Status of Current Work Projects ] ( obsidian://advanced-uri?commandid=obsidian-projects%253Ashow-projects-Work-Table ) // Would show me all my work projects in the table view.

Ideally I'd like to be able to grab these links pointing to the different views and use them in my calendar (Google Cal) or drop them as links within Obsidian for my Weekly Review Checklist.

Currently I have to write reminders inside my Weekly / Daily Notes listing the project I have to review and which view to check, and it's not as elegant as a link would be.

Thank you for all the great work you do. It's an incredibly useful plug-in.

marcusolsson commented 1 year ago

Here are some work-in-progress screenshots so far. I was initially thinking of mimicking the Pinned commands under the Command palette settings, but instead of dropdowns, I figured that the toggles makes for a less complicated UI. Let me know what you think!

I still have some work to do. The commands don't actually do anything right now.

Screenshot 2023-03-18 at 10 58 21 Screenshot 2023-03-18 at 10 58 35
whdmike commented 1 month ago

Here are some work-in-progress screenshots so far. I was initially thinking of mimicking the Pinned commands under the Command palette settings, but instead of dropdowns, I figured that the toggles makes for a less complicated UI. Let me know what you think!

I still have some work to do. The commands don't actually do anything right now.

Screenshot 2023-03-18 at 10 58 21 Screenshot 2023-03-18 at 10 58 35

I have a situation. I mark my projects as shown above (under commends) but somehow they switch off (I have them around 20) when I close settings, and they are not shown inside command pallete.