List of Previous Conversations

I take copious notes on conversations I have with people. I like to be able to see at a quick glance all of my previous conversations with someone. So, I use the following code to create a table (NB: I title all of my call notes as “YYYY-MM-DD Name”)

dv.table(["Call Number", `Calls with ${dv.current().file.name.slice(11)}`, "Tags"], dv.pages("")
	.where(p => p.file.name
		.includes(dv.current().file.name.slice(11))
	)
		.sort((b, i) => -i)
		.map((b, i) => [i+1, b.file.link, b.tags])
		.sort((b, i) => -i)
)

It ends up looking like this:

Below is my template for calls with people:


participants: <% tp.file.title.slice(11) %>, Zack Ellis
organizations:
tags:
date: <% moment().format(“LLLL”) %>

<% tp.file.title %>

Action Items

if (dv.current().action) {
	dv.paragraph(dv.current().action)
}

Summary

summary::

Questions

if (dv.current().question) {
	dv.paragraph(dv.current().question)
}

Desired Outcome

Notes

References

  1. [[<% moment().format(“YYYY-MM-DD”) %>]]
dv.table(["Call Number", `Calls with ${dv.current().file.name.slice(11)}`, "Tags"], dv.pages("")
	.where(p => p.file.name
		.includes(dv.current().file.name.slice(11))
	)
		.sort((b, i) => -i)
		.map((b, i) => [i+1, b.file.link, b.tags])
		.sort((b, i) => -i)
)

4 Likes