YukiGasai / obsidian-google-calendar

Add Google Calendar inside Obsidian
https://yukigasai.github.io/obsidian-google-calendar/
GNU General Public License v3.0
387 stars 27 forks source link

In Note block empty even after re login #111

Closed Rikubyakko closed 1 year ago

Rikubyakko commented 1 year ago

Hey, after more than a week of Obsidian Google Calendar working well, everything stopped working when i opened obsidian today. I had LOADING on my gCal pannels and my in note gEvent blocks were empty. I remembered someone said he encountered auth issue so i logged out and re logged and my pannel went back to normal, but all my in note gEvent remains empty.

image

YukiGasai commented 1 year ago

Hi, first of all, your theme looks gorgeous. Please show me your code block, so I can reproduce the problem.

Rikubyakko commented 1 year ago

Thank you for this fast answer ! It's AnuPpuccin theme, really customizable :)

Here is the code for the timeline view of the screenshot :

> [!today]+ ‎‎ Planning
>> [!multi-column]
>>> [!yesterday|min-0|align-left] ‎ Hier
>>> ```gEvent
>>> date: yesterday
>>> type: day
>>> hourRange: [7, 24]
>>> ```
>>> 
>> 
>>> [!today|min-0|align-center] ‎ Aujourd'hui
>>> ```gEvent
>>> date: today
>>> type: day
>>> hourRange: [7, 24]
>>> ```
>>> 
>> 
>>> [!tomorrow|min-0|align-right] ‎ Demain
>>> ```gEvent
>>> date: tomorrow
>>> type: day
>>> hourRange: [7, 24]
>>> ```

(it worked well until today)

And here is another block that also worked before :

> [!today]+ # Planning
> ```gEvent
> type: [schedule]
> date: today
> timespan: 0
> ```

Btw it display nothing even outside callouts ;)

image image

YukiGasai commented 1 year ago

Ah I see, I accidentally killed the support for the today, yesterday, tomorrow dates. I will fix this.

Rikubyakko commented 1 year ago

Thank you for the quick support, and for this useful plugin !

YukiGasai commented 1 year ago

It should work again + I added chrono for parsing the text input. Options like next week or two days ago should work now as well. Please test it and close the issue if it works for you ^^

Rikubyakko commented 1 year ago

Nice improvement thanks, will be useful for my weekly notes !

Sadly it seems like only my timeline blocks are back :

image

My schedules are still empty :

image

image

YukiGasai commented 1 year ago

@Rikubyakko Please set the timespan to 1.

Rikubyakko commented 1 year ago

It worked thanks !

Thank you :)