Skip to content

Instantly share code, notes, and snippets.

@Wultyc
Last active October 9, 2025 19:12
Show Gist options
  • Save Wultyc/b9375113581c509bd4f78d16e81976f7 to your computer and use it in GitHub Desktop.
Save Wultyc/b9375113581c509bd4f78d16e81976f7 to your computer and use it in GitHub Desktop.
Kanban board using Obsidian Bases
<%*
const taskType = await tp.system.suggester(["Homelab Task", "Generic Task", "Legacy Task", "Test Task"], ["HLB", "TSK", "KBD", "TST"])
const title = await tp.user.auto_note_rename(tp, "Nova Tarefa", taskType)
console.log(title)
const file = tp.file.find_tfile(tp.file.path(true))
await tp.app.fileManager.processFrontMatter(file, (frontmatter) => {
delete frontmatter["Created At"]
frontmatter["title"] = title.taskTitle
if(title.taskId != null) frontmatter["task id"] = title.taskId
frontmatter["priority"] = "medium"
frontmatter["created at"] = tp.date.now()
frontmatter["due date"] = tp.date.now()
frontmatter["parent task"] = ""
frontmatter["depends on"] = []
})
_%>
# Context
*Context for the project*
# Problem to solve
*What problem to solve*
# Proposed Solution
1. *Steps to solve the problem*
2.
# Benefits
1. *How it benefits the project*
2.
# Implementation plan
- [ ] Task 1
- [ ] Task 2
# Comments
-
`````col
````col-md
# πŸ“œ Backlog
![[Tasks Base.base#Backlog]]
````
````col-md
# πŸ“‹ To Do
![[Tasks Base.base#To Do]]
````
````col-md
# πŸ’» In Progress
![[Tasks Base.base#In Progress]]
````
````col-md
# πŸ§ͺ In Review
![[Tasks Base.base#In Review]]
````
````col-md
# ❗ Blocked
![[Tasks Base.base#Blocked]]
````
````col-md
# βœ… Done
![[Tasks Base.base#Done]]
````
````col-md
# πŸ’€ Legacy
![[Tasks Base.base#Legacy]]
````
`````
filters:
and:
- file.inFolder("Recursos/Tarefas")
- or:
- type == "task"
- file.name.startsWith("(KBD")
properties:
note.Created At:
displayName: created at
views:
- type: table
name: All Tasks
filters:
and:
- status != "archive"
order:
- file.name
- created at
- due date
- status
- priority
- parent task
- depends on
- tags
columnSize:
file.name: 442
note.status: 86
- type: cards
name: Backlog
filters:
and:
- status == "backlog"
order:
- title
- task id
- created at
- due date
- priority
- status
- tags
columnSize:
file.name: 442
note.status: 86
- type: cards
name: To Do
filters:
and:
- status == "todo"
order:
- title
- task id
- created at
- due date
- priority
- status
- tags
columnSize:
file.name: 442
note.status: 86
- type: cards
name: In Progress
filters:
and:
- status == "in progress"
order:
- title
- task id
- created at
- due date
- priority
- status
- tags
columnSize:
file.name: 442
note.status: 86
- type: cards
name: In Review
filters:
and:
- status == "in review"
order:
- title
- task id
- created at
- due date
- priority
- status
- tags
columnSize:
file.name: 442
note.status: 86
- type: cards
name: Blocked
filters:
and:
- status == "blocked"
order:
- title
- task id
- created at
- due date
- priority
- status
- tags
columnSize:
file.name: 442
note.status: 86
- type: cards
name: Done
filters:
and:
- status == "done"
order:
- title
- task id
- created at
- due date
- priority
- status
- tags
columnSize:
file.name: 442
note.status: 86
- type: cards
name: Archive
filters:
and:
- status == "archive"
order:
- title
- task id
- created at
- due date
- priority
- status
- tags
columnSize:
file.name: 442
note.status: 86
- type: cards
name: Cancelled
filters:
and:
- status == "cancelled"
order:
- title
- task id
- created at
- due date
- priority
- status
- tags
columnSize:
file.name: 442
note.status: 86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment