avatarNuno Campos

Summary

Nuno Campos has updated his Obsidian setup to streamline project management by enhancing the QuickAdd New Project macro to create a project home page, Kanban view, Tasks Due Date Calendar, and a DBFolder view, along with a navigation menu.

Abstract

In a recent update to his Obsidian setup, Nuno Campos has refined his project management workflow by improving the QuickAdd New Project macro. This enhancement automatically generates a comprehensive project environment within Obsidian, including a project home page that serves as a central hub. It features a navigation menu for easy access to various project aspects, a Kanban board for task management, a calendar view for due dates, and a DBFolder view for organizing project-related files. Campos details the process of setting up these features using Obsidian plugins and templates, emphasizing the integration of automation to streamline project creation and tracking.

Opinions

  • Campos values efficiency and organization in project management, as evidenced by his focus on automating the creation of project components.
  • He appreciates the flexibility of Obsidian's plugins, particularly the Kanban, Tasks Calendar, and DBFolder plugins, which he leverages to enhance his workflow.
  • Campos finds the QuickAdd macro essential for his setup, highlighting its importance in his project creation process.
  • He acknowledges the limitations of the current setup, such as the inability to add a navigation menu to the Kanban and DBFolder views, but remains committed to refining his system.
  • Campos is community-oriented, providing detailed instructions and sharing his knowledge with others interested in optimizing their Obsidian experience.

My Obsidian Setup (Part 30) — Projects Update

In the previous article, I’ve shown an update that I’ve made to My Dashboard. It happens that today I’ve also updated my QuickAdd New Project macro.

Project Home page. Image by Nuno Campos

So, in part 19 of this series, I’ve already explained how I’m building the project’s home page.

Now I’ve modified the QuickAdd macro to also create a Kanban file for the tasks, a Tasks Due Date Calendar view, a project files DBFolder view, and a top menu to navigate between them. Unfortunately, I was not able to add this menu to the Kanban and DBFolder views.

Project Tasks Kanban view

Kanban view. Image by Nuno Campos

The Kanban view is created using the Kanban plugin with predefined list names (todo, doing, done, long term). To have it automatically created with our QuickAdd macro, create a new kanban page with the list names that you want, and save it to your templates folder.

Now you just need to go to QuickAdd settings, configure macros, select your + Project macro, and add a new Templatestep.

QuickAdd step. Image by Nuno Campos
QuickAdd step. Image by Nuno Campos

Template Path: the path to the Kanban file created as a template. File Name: use the {{VALUE:Project Name}} that we’re already using from a macro’s previous step, and add “-Kanban”, so the file is named <Project-Name>-Kanban. Create in Folder: add the folder path also using {{VALUE:Project Name}}, so the path is /path-to-projects-folder/project-name.

Project Tasks Calendar

For this, I’ll be using Obsidian-Tasks-Calendar. I’ve already written about it in the previous part of this series, including how to install it:

Tasks Calendar view. Image by Nuno Campos

To add the Tasks Calendar view, create a new template file and insert the following code:

```dataviewjs
await dv.view("Resources/tasksCalendar", {pages: '"Projects/{{VALUE:Project Name}}/{{VALUE:Project Name}}-Kanban"', view: "week", firstDayOfWeek: 1, options: "style3"})
```

Replace Resources/tasksCalendar with the path where you stored tasksCalendar files from GitHub (check previous part); pages: Projects/with your project's path; for the view, firstDayOfWeek, and optionsalso check here.

Now, in QuickAdd, follow the same steps as for Kanban to create the new step for the Tasks Calendar view: create a new Template step, and the settings are almost the same. Just change the template path to the template we created for Tasks Calendar, and for the file name use {{VALUE:Project Name}}-TasksCalendar.

Project Files DB View

DBFolder view. Image by Nuno Campos

For this view, I’m using DBFolder plugin.

So, as with the other views, first, we will create the template file: open the command palette and run DBFolder: Create a new database table.

Now open the created DBFolder note as Markdown and change the following:

name: {{VALUE:Project Name}}-DB
description: {{VALUE:Project Name}}
source_form_result: "FROM \"<path-to-projects-folder>/{{VALUE:Project Name}}/{{VALUE:Project Name}}-Files\""
source_destination_path: <path-to-projects-folder>/{{VALUE:Project Name}}/{{VALUE:Project Name}}-Files

Change the paths according to your setup and the remaining settings as you please. Notice that I’m appending a -Filesin the end of source_form_resultand source_destination_path. This is because I want to create a folder <project-name>-Fileswhere I’m storing the project’s auxiliary notes, and those are the ones I want to show in the DB view.

Now that we have the DB View template, let’s do the same as for the other views: go to QuickAdd settings, New Project Macro, and add a new Templatestep. Once again, change the template path, the File Name Formatshould be {{VALUE:Project Name}}-Files and Create in foldershould be <path-to-projects>/{{VALUE:Project Name}}/{{VALUE:Project Name}}-Files.

That’s it. Now to recap the full workflow, when running the QuickAdd action +New Project:

  • We are prompt for the project name, start date, due date, and description
  • A new folder is created in the projects folder, with the project name that we inserted
  • A new project home page is created with the following areas:
Navigation. Image by Nuno Campos
Project details, tasks completion progress bar (tasks from the Kanban), and a Links area to be added manually. Image by Nuno Campos
Project Activity History. Image by Nuno Campos
Tasks to do from the Kanban page, Tasks done and files from the Files folder. Image by Nuno Campos
Activities relevant to the project. The first, project created, is created automatically. Then I have a QuickAdd prompt to add new ones. Image by Nuno Campos
  • A Kanban view page is created automatically.
Project Kanban view. Image by Nuno Campos
  • A Tasks Calendar page is also created automatically, with a button to switch between month and week views.
Tasks Calendar weekly view. Image by Nuno Campos
Tasks Calendar monthly view. Image by Nuno Campos
  • A DBFolder page is created, in the <project-name>-Filesfolder where we will store project auxiliary notes.
DBFolder view. Image by Nuno Campos

You can read the previous parts of My Obsidian Setup series here:

Click here to be notified every time I publish a new story 😉.

If you’re not a Medium member yet and wish to support me or get access to all my stories, click here.

Programming
Obsidian
Notetaking
Tech
Illumination
Recommended from ReadMedium