breadcrumbs icon indicating copy to clipboard operation
breadcrumbs copied to clipboard

Why can't I get Date Note to work?

Open SkepticMystic opened this issue 2 years ago • 11 comments

Discussed in https://github.com/SkepticMystic/breadcrumbs/discussions/374

Originally posted by Gattomarino April 18, 2022 Hi, I've been loving the plugin since I discovered it (yesterday!) but I have trouble understanding how to use the Date Notes feature. Simple scenario:

  • Daily Notes all in one giant folder, title for the notes is YYYY-MM-DD
  • I set Date Notes to the required format, which I think should be: YYYY-MM-dd
  • I don't get any result out of this. I tried some other formats to no avail. Note: My real-usage scenario would be more complicated with year and month subfolders, like so: Journals/YYYY/MM/DD MMM YY and the "Override locale" Calendar option should be set to my locale (specifically, "it"), returning e.g. Journals/2022/01/01 Gen 22 Right now I don't understand if it's just me not understanding what format to use or there's something more to it. (I don't know anything about programming and I couldn't really follow your info on debugging, sorry). Thanks for any help!

SkepticMystic avatar Apr 18 '22 16:04 SkepticMystic

Hey @Gattomarino! Thanks for the post.

I think the date format you've entered is slightly off. Give this a try and let me know yyyy-MM-dd :) And be sure to Refresh Index to make it update

SkepticMystic avatar Apr 18 '22 16:04 SkepticMystic

Currently, the folder method of months and years won't work, but that's maybe something to be added in future

SkepticMystic avatar Apr 18 '22 16:04 SkepticMystic

Thanks; still not working tho... I managed to open the Console and I got an error upon loading the plugin in a new vault. Something about a broken promise... very poetic :) (It's actually "Uncaught (in promise) TypeError: Cannot destructure property 'basename' of 'app.workspace.getActiveFile(...)' as it is null etc. etc.") Let me know if it's ok to post it here or elsewhere. It repeats identically when I change the date format in the Date Notes settings. I forgot to mention my Mac is ancient... I'm on 10.12.6.

Il giorno lun 18 apr 2022 alle ore 18:02 SkepticMystic < @.***> ha scritto:

Currently, the folder method of months and years won't work, but that's maybe something to be added in future

— Reply to this email directly, view it on GitHub https://github.com/SkepticMystic/breadcrumbs/issues/376#issuecomment-1101523948, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASZH4EPEPFNBKYPH5RST2I3VFWBSHANCNFSM5TWGNLAQ . You are receiving this because you were mentioned.Message ID: @.***>

Gattomarino avatar Apr 18 '22 16:04 Gattomarino

Haha it is kinda poetic :p

I don't think it will work in an empty vault. Can you try adding some regular notes, and some dated notes using the date format specified.

SkepticMystic avatar Apr 18 '22 18:04 SkepticMystic

It still won't work on any of my vaults; and I'm also experiencing new issues! For example, two new notes created today with a up: statement refuse to show in the matrix or list view. The old ones still do... My graph view also is not displaying properly all of a sudden. Something else must have gone wrong along the way...

Il giorno lun 18 apr 2022 alle ore 20:55 SkepticMystic < @.***> ha scritto:

Haha it is kinda poetic :p

I don't think it will work in an empty vault. Can you try adding some regular notes, and some dated notes using the date format specified.

— Reply to this email directly, view it on GitHub https://github.com/SkepticMystic/breadcrumbs/issues/376#issuecomment-1101659218, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASZH4ELB6QSQX7V2HB7MLBTVFWVZ5ANCNFSM5TWGNLAQ . You are receiving this because you were mentioned.Message ID: @.***>

Gattomarino avatar Apr 20 '22 10:04 Gattomarino

@SkepticMystic It doesn't work on my side either, I verified everything. Still the links doesn't show up. Do you have any idea why ?

haoadoreorange avatar Aug 12 '22 18:08 haoadoreorange

It's not able to link to prev/next when there are missing daily notes.

Expected

Given these two notes [[2024-01-06]], [[2024-01-08]], these two pages should be linked.

Actual

It either doesn't link anything or links to a non-existing note.

charleshan avatar Jan 08 '24 19:01 charleshan

@charleshan I don't think that's how it was written to work. Date notes only point to the next day, not the next daily note that exists.

SkepticMystic avatar Jan 09 '24 06:01 SkepticMystic

@SkepticMystic I see... but isn't that the expected behavior? "Daily notes: open previous/next daily note" commands do this.

charleshan avatar Jan 09 '24 06:01 charleshan

@charleshan yeah, that does make sense. At the moment, that's not how it behaves though. I'm really not promising anything (as I haven't worked on this project in ages), but you can open a FR for this

SkepticMystic avatar Jan 09 '24 06:01 SkepticMystic

@SkepticMystic I understand

charleshan avatar Jan 09 '24 07:01 charleshan

I'm going to consider the original issue closed, as I've rewritten the plugin in V4. Date Notes should work more consistently now. See the first link in the README for more info about updating to the V4 beta

SkepticMystic avatar Mar 21 '24 16:03 SkepticMystic

@charleshan this is now possible in V4 :) See here for more info: https://github.com/SkepticMystic/breadcrumbs#date-notes

SkepticMystic avatar Mar 30 '24 16:03 SkepticMystic