Virtual notes for Bases

Use case or problem

BASES only work with notes.
It is logical for a database, but actualy usecase and functional of BASES is not exactly like that.

They lack support for Nested properties for complex data strucutres.
Its main purpuce is organisation and catalogue of notes.
But use of bases liberaly would produce endless notes.

As one note, can hold only very small amount of data.

Proposed solution

Using Virtual notes, would solve all of it, in an incredibly easy way:
The idea is very simple:
Form perspective of bases, note is just a number of yaml properties.
It means Nested Yaml property, by Itself, also matches that definition.

By virtualsing nested properties with a specific keyword.
A single note can hold many data entris.

---
Book1:
  Author: Author 1
  Rating: 2
  test: nya
Book2:
  Author: Author 2
  Rating: 4
  test: nya
---

Is a simple example of that, albeit not very needed as books can fit nicely with one-note per book.

But not everything is like that.

Having a note per Event be it for a story, timeline or so one, gets out of hand quickly.
Or rather, it forces to make compromise, and compress data in less usefull strucutre.
Undermining the point of using a data driven sturcutre in the first place.

Another way to utilise that, is ability to add micro notes for information usefull, but otherwise overcrouding the note. For example this way, you can add data for characters in a book you read, without having to add a whole separate note for that.
At the same time, as it is still effectively a part of the book note, it allows to use formulas to sort and filter based on that!

Another example are location markers, and it is the main reason i belive this should be added as a feature into the core plugin of bases, rather then added as plugin on top.
While it makes perfect sence to have a note per marker at the largest scale.
For a map of the dungeon, or a small city. It makes much more sence to use single note, divided by headings. That how it was done with Leaflet. (Or if you need one note to have multiple makers…)

After i through of that, my conclusion is that ANY base view can benefit from such functionality. Witch is why i belive it should be added to the Bases core plugin rather then left alone to plugin authors to impliment.

Nice side effect, is that it effectively adds a way to manage nested yaml, something that was requested for a long time.

Execution proposal:

A new tab near “Filter”
“Virtual notes”
It has a toggle, and a space for filter formula to set whitch of the nested properties should be virtualised.

For a simplest implementation, all the “file.” do not change due to virtualisation
as it is the same file after all.
Still, for better compatibility - it is great to have an ability to select a property name that would substitute the link.
(It can be a subsitition with a full on markdown link, or it can be limited to heading in the note only)
This way, map markers for example would link to different places.

I don’t actually know where map marker takes its link, so possibly ability to select propertis to act as aliases for file.name and such, in general, is actually a better solution.

Current workaround

Is a test plugin with some from of such functionality added on top.
But it is mostly just an experiment site.

5 Likes

Hello, I liked your idea about “virtual notes” and i also need this type of bases plugin functionality. I plan on using on browser bookmarks. After switching form different browsers and different browser accounts (work account and personal account) i decided to make a list out of them. I put my bookmarks in one md file with headings to separate the topics of the browser bookmarks. However I have around 100-150 bookmarks and putting them in one single md file makes a pretty big list and i do plan on updating my list and this will make a much bigger list thus searching, navigating and managing will be hard. Bases Is a nice place to visualize and sort them really nice and makes it like a “database” however, just like @Mistmage said (if i understood correctly) to use obsidian Bases i need to create a new note for each and every bookmark which is in an actual database structure is unnecessary furthermore, it is time consuming and not functional. I am creating an empty note for just to use the bases plugin. A virtual note idea is very nice. I am not saying we shouldn’t create a note for each base row, there are times it is useful like in the book example. However there are times it is not. I am simply saying there should be function for both.

I also somewhat tested the plugin that you created but as you write it on readme, it makes the file names columns and file properties rows which i didn’t understand why you needed to do that. Also starting from virtual notes idea to transitioning to map location is confusing. I first thought it was for the “virtual notes” but after realizing the plugin is odd I re-read the post and plugin readme i understand that you transition to a map sort a thing. Also can you add how to use section or some use cases on the readme.

P.S. English is my second language.

1 Like

I must say, different versions of “my plugin” do different things, and it is 100% AI made.
So it is more or less a test site, rather then anything else.
To put it bluntly - it is not really to be used by people, and is provided as an example.
I also have no idea what horrible problems it may cause.

It was also originally created for “it makes the file names columns and file properties rows” and only later as an experiment i tried to add virtual note, and to my surprise AI was able to do it first try.
That made me realize that it should be relatively easy thing to add to the base view itself, and the reason for this Feature request