Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for other metadata in the markdown #531

Closed
shelper opened this issue Mar 15, 2021 · 4 comments
Closed

Add support for other metadata in the markdown #531

shelper opened this issue Mar 15, 2021 · 4 comments

Comments

@shelper
Copy link

shelper commented Mar 15, 2021

right now, foam supports only tags in the metadata at the start of markdown file
if we can add extra properties in addition to tags, that would be very useful for organizing and navigating the notes.
e.g.:,

---
tags: tag1, tag2
status: todo, started, wait, ...
date: 2021-03-14 
...
---

it would be even greater if we can make this list configurable, so that users can define his/her own metadata/properties for customized use case.

@riccardoferretti
Copy link
Collaborator

In what way were you thinking this metadata could be exposed to organize and navigate notes?

@shelper
Copy link
Author

shelper commented Mar 17, 2021

the first thing i can think of is to make it like tags, but just a different class, and can be used for filtering docs
the second is we can rank the docs, e.g, by date or by status

@riccardoferretti
Copy link
Collaborator

Sorry, I am not sure I am following.
You can have properties in your YAML file, which get attached to the notes. That's already possible.
What I think you are describing are other ways to "surface" those properties, the same way e.g. tags are surfaced via the Tag Explorer.
Can you share some example of ways in which these properties can be surfaced and for what use cases?
(could be panel, graph, search, .. not sure..)

@shelper
Copy link
Author

shelper commented Mar 18, 2021

i was thinking of something like the software notion
say we added a property called status. the simplest way is to surface it as tag but can be sorted
one more step further, we can surface the property in a panel like below and then under each status is the list of notes with that property value.
image

To make it more generalized, maybe we can have a dedicated panel for all properties, then we can add or remove properties as columns, and sort, filter by each column as needed, e.g, something like below, which is the file explorer in detailed view on windows
image

@riccardoferretti riccardoferretti closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants