makemd icon indicating copy to clipboard operation
makemd copied to clipboard

Date Metadata in Folder Context View

Open TomSpoct opened this issue 2 years ago • 8 comments

In the folder context view the default context is created. This is "ctime" data or the creation date of the .md note. I tried to insert the "created" metadata and "updated" metadata which includes these dates which are modifiable within the note. The file date is difficult to modify whilst metadata dates are and it would be useful to include that.

TomSpoct avatar Dec 14 '23 15:12 TomSpoct

Those dates are not modifiable because they're read from the filesystem and the default fields use the Lookup type which is non-editable. Is there something specific you're trying to achieve?

jp-cen avatar Dec 14 '23 16:12 jp-cen

I would like to include my own metadata in the folder table view. I have created and modified metadata that is different from the filesystem data. I can include articles that have dates different from the file system data for example

TomSpoct avatar Dec 14 '23 16:12 TomSpoct

You can add a field that has the same property name as the one in your notes (ctime for example) and it will directly sync. Use the date type if you want it to be editable

jp-cen avatar Dec 14 '23 16:12 jp-cen

This will create a new metadata item in the note called Created when in all my notes the "created" metadata already exists. I would like to access that metadata as a collum in the table view

TomSpoct avatar Dec 14 '23 16:12 TomSpoct

That's not the expected behavior when you create a metadata property with the same name, it should be importing your created metadata. When you create the column, it doesn't sync in the value?

jp-cen avatar Dec 14 '23 16:12 jp-cen

it does not. The "created" metadata which is a date in all my notes will not appear in the collum. The error message si "duplicate" as it assumes that I want to create the "Created" collumn with capital C which is the filesystem created date and not the metadata created date. The same happens with "updated" when I create it as a date it picks un the "Updated" capital U from the filesystem

TomSpoct avatar Dec 14 '23 16:12 TomSpoct

Delete the original created column first or rename it. The capitalization is a CSS rule, it may be confusing and will be added as a setting to turn off.

jp-cen avatar Dec 14 '23 16:12 jp-cen

Worked thanks

TomSpoct avatar Dec 14 '23 16:12 TomSpoct