Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dataview is not loaded, task won't be shown #326

Open
loky-lp opened this issue Nov 23, 2023 · 11 comments
Open

Dataview is not loaded, task won't be shown #326

loky-lp opened this issue Nov 23, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@loky-lp
Copy link

loky-lp commented Nov 23, 2023

Describe the bug
The weekly and daily views are not showing any events, the daily view show only the alert with the same text as the issue title.

To Reproduce
N/A

Expected behavior
To correctly see the events

Screenshots
Screenshot 2023-11-23 alle 14 55 53
Screenshot 2023-11-23 alle 14 56 24
Screenshot 2023-11-23 alle 14 56 57

Additional context
I've barely changed any settings, i simply opened the same files that were working on a previous version of the extension, v0.10.1 to be precise.

Current environment:

  • Obisian v1.4.16
  • Day Planner v0.15.3

File content:

# Notes

---
# Day planner
- [ ] 17:00 - 17:50 Test
@loky-lp loky-lp added the bug Something isn't working label Nov 23, 2023
@loky-lp
Copy link
Author

loky-lp commented Nov 23, 2023

Additional context
If i try to click in the timeline to add an event not from the file the hole view seems to freeze and crash, displaying the loading cursor indefinitely

@solenski
Copy link

+1 I have the same problem

@ivan-lednev
Copy link
Owner

See https://github.com/ivan-lednev/obsidian-day-planner/releases/tag/0.11.0

The plugin now collects tasks everywhere in the vault, and this requires Dataview to be installed and enabled.

Dataview is another plugin: https://github.com/blacksmithgu/obsidian-dataview

@loky-lp
Copy link
Author

loky-lp commented Nov 24, 2023

Thanks, that solved it.

Sorry, i've missed it from the readme.

@loky-lp loky-lp closed this as completed Nov 24, 2023
@loky-lp
Copy link
Author

loky-lp commented Nov 24, 2023

As a followup question, are there any plans/settings to allow the detection of list items (- 10:00 clean up)?

Otherwise to integrate the new plugin version i have to perform a massive rework of all my vaults.

@ivan-liadniou-epam
Copy link
Collaborator

There are some investigations to add this. The problem is that it hurts performance if list items are pulled all over the vault.

@Ann-Holmes
Copy link

I have the same issue. However, the differece is that the dataview is installed and enabled in my obsidian.
So I gusse this is related to the recent updates of obsidian.
image

Check this to get the release note of obsidian: https://obsidian.md/changelog/

For the startup performance, the obsidian only load plugins for the visible view.
I gusse the "Day Planner" is loaded before the dataview loaded. This way, the dataview is not detected by "Day Planner".

And another clue support thehypothesis.
That issue happened when I open my obsidian for the first time.
Once met this, I often restart my obsidian with the Timeline opened. And then the issue will be fixed after obsidian restarted.

Unfortunately, I am not an expert about javescript or dataview. So I can not fix that and give you a PR.
Hope this feadback can give you some inspiration and make "Day Planner" better.

Thank you!

@ivan-lednev ivan-lednev reopened this Nov 5, 2024
@kv13arm
Copy link

kv13arm commented Nov 18, 2024

I have the same issue as @Ann-Holmes

@coneos
Copy link

coneos commented Jan 3, 2025

I have the same issue. However, the differece is that the dataview is installed and enabled in my obsidian. So I gusse this is related to the recent updates of obsidian. image

Check this to get the release note of obsidian: https://obsidian.md/changelog/

For the startup performance, the obsidian only load plugins for the visible view. I gusse the "Day Planner" is loaded before the dataview loaded. This way, the dataview is not detected by "Day Planner".

And another clue support thehypothesis. That issue happened when I open my obsidian for the first time. Once met this, I often restart my obsidian with the Timeline opened. And then the issue will be fixed after obsidian restarted.

Unfortunately, I am not an expert about javescript or dataview. So I can not fix that and give you a PR. Hope this feadback can give you some inspiration and make "Day Planner" better.

Thank you!

Had the same issue and I fixed it with Lazy loader plugin : Dataview instant load and Day planer with 1s delay

@jessycormier
Copy link

While the original issue is resolved @coneos you bring up a good point, to the current issue #675 I Think using the additional plugin Lazy Plugin Loader will resolve the issues we're seeing.

If Obsidian doesn't allow devs to manually control load orders of things, maybe the Lazy Loader should be noted in the readme.md?

@Flatkat
Copy link

Flatkat commented Feb 9, 2025

Hey, wanted to add that at least for me, applying a 1s delay on loading Day Planner causes other issues both on Desktop and Android, multiplying the entries on the right sidebar every time I open the app over and over.

Image

(The "plugin not loaded" entries are also from day planner, and opening them fixes their name and converts them into another normal day planner entry)

On PC the icon to access Day Planner also gets duplied like these entries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants