obsidian-community / obsidian-full-calendar

Keep events and manage your calendar alongside all your other notes in your Obsidian Vault.
https://davish.github.io/obsidian-full-calendar/
MIT License
787 stars 105 forks source link

Events not showing in calendar if frontmatter is added #549

Open mattie152 opened 7 months ago

mattie152 commented 7 months ago

Please check that this issue hasn't been reported before.

Expected Behavior

It should be possible to add frontmatter content to a full calendar note, so that you can organize calendar notes with the same properties that you use for the rest of your pages.

Current behaviour

If a property called 'type' is added to the frontmatter of an event, the event disappears from the calendar view. If the property is deleted again, it comes back. When the property is added inline, it doesn't cause any issues. The event disappears from both timeline and list views of the calendar; it just looks like it is no longer recognized as a calendar event. A property called 'Type' with a capital is also not a problem.

JavaScript console output

No response

Steps to reproduce

create an event in full calendar for a 'Full note' calendar. Navigate to the note and add a property in the frontmatter called 'type'.

Calendar information

I have a bunch of different 'Full note' calendars, and also one 'Daily note' calendar.

Which Operating Systems are you using?

Obsidian Version

1.5.8

Full Calendar Plugin Version

0.10.7

Checks

Possible solution

My guess would be that the 'type' property conflicts with an already present element in the code?

Comments

No response

tit1 commented 6 months ago

I can confirm this issue. My setup:

Which Operating Systems are you using?

Obsidian Version 1.5.10

Full Calendar Plugin Version 0.10.7

As a text i downgraded to 10.6 with the same results.