-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
Don't want an automatic checkbox #282
Comments
Hello, @jimbdeath, It's explained in the release notes: https://github.com/ivan-lednev/obsidian-day-planner/releases The plugin now pulls tasks from Dataview cache, and including list items would make this very slow on large vaults or in vaults where everything is a list item (I personally write everything as list items) |
Could it be a good compromise to only allow list items to be parsed in daily notes? |
@Rhydderch, I don't see a way to do this, because Dataview works like this:
And it's at step 1 that you pay the performance penalty. In big vaults this might mean Obsidian freezing for a couple of seconds after each file update. If there is some better way to do this, please let me know. |
Isn't it possible to apply 2 methods below optionally?
|
Frankly, I have gone back to v0.10.1 in order to get rid of the check boxes. (Which is sad because I really like the weekly planner). Would it be a solution to have an option to choose whether to use the checklist item or list item? I might out myself as stupid, but I don't quite understand the performance issue. Why would you want to get all list items from the whole vault when only daily notes are relevant? |
@Jagdfalke, as written in the release notes, now tasks are gathered in all the files, not just in daily notes, that's why it might hurt performance: https://github.com/ivan-lednev/obsidian-day-planner/releases/tag/0.11.0 |
@ivan-lednev Thank you. I've seen the release notes, but I think I am still missing something. With the way the planner works at the moment, why do you want to pull from the whole vault? Do you plan some cross Integration e.g. with the Tasks plugin? That would make a whole lot of sense and I would totally buy into that idea. |
I'm not just planning it, it has already been done :) It's integrated with Dataview, since it exposes its API to other plugins. Just read the relevant section in the docs: https://github.com/ivan-lednev/obsidian-day-planner#dataview-integration On the first demo in README you can see it in action: BTW, It would be awesome if you could point out how I could make this feature more easily discoverable, because I'm getting the impression that people can't easily notice it from the docs. |
Haha, okay - I AM stupid. I totally missed the point of this change. This makes day planner more powerful, especially for those who are already invested in Tasks (like I am). This is awesome. I just tried it and this is what I think was still lacking. I actually remember scanning through this part of the documentation, but I didn't realize it was what I actually wanted until you just pointed it out to me. Me personally, I didn't understand it because of the way I use Tasks (Tasks query in my daily note) and how Day Planner has worked so far (with a dedicated section within a daily note). Maybe the documentation needs to be slightly more elaborate on how Day Planner works now. I can try to write somthing up and send you a pull request. |
I have no use for the checkbox either, and the extra tasks create clutter that I don't want. No offense, @ivan-lednev - I see that tasks are valuable for many people, and I understand the performance considerations. I just want to emphasize that @jimbdeath is not alone in his opinion. The best option would be to allow both, and I'm positive there are efficient ways to do this. I might give it a shot and submit a PR. Any chance you have a demo vault to share that showcases the performance penalty of the old implementation, @ivan-lednev ? |
An alternative suggestion for the checkboxes: would performance still be impacted if we're able to specify a specific task status? My use caseI would like to use the day planner purely for tracking my time logs, not specific scheduled tasks. I use various types of checkboxes, and it would be useful if I could allocate a specific checkbox type for the day planner. Example- [:] 10:00 - 12:00 Some event
- [ ] Non-event-related task
- [ ] With a subtask, both invisible to the day planner
- [:] 12:00 Another open-ended event
- [:] 14:00 Event Or would that completely defeat the purpose? Or still be unfeasible due to performance issues? |
I finally had some time to dabble around with the old release that still supported regular list items. I created a vault with about 50,000 daily notes and, indeed, browsing the weekly planner was very slow. However, after some profiling I discovered that this was mainly due to some costly operations done repeatedly. After adding some caching, I was able to get the data retrieval from 1500 ms down to 0.3 ms. That said, there's more work to be done. Hopefully, I'll have some time on the weekend. |
@weph, I don't think there was an old release that supported both Dataview and plain list items. |
No, there isn't @ivan-lednev |
@weph, to save you time, the only thing you need to do is to add obsidian-day-planner/src/main.ts Line 82 in 0a399fa
After that you only need to make TypeScript happy and probably a couple of other small adjustments, like making sure that scheduled sub-bullets don't show up in the original block, but get into a separate block instead. |
@ivan-lednev Regarding the challenges in reading 'list items' within a large vault due to performance concerns, I was curious if you might have considered some alternative approaches. For instance, perhaps not parsing the entire vault, or adopting a strategy similar to the 'Tasks' plugin, where only lines containing a specific tag (e.g., '#tasks') are read? Additionally, in reference to issue #324 (which aligns with my initial understanding), another possibility could be to parse only the sections following a designated title, unless a setting dictates the parsing of the entire vault. While I fully recognize the convenience and utility of being able to access the entire vault's checklist, exploring these alternative methods could potentially offer additional functionalities and benefits. I would greatly appreciate your thoughts on these suggestions. Thank you once again for your incredible work and for considering my ideas |
@ivan-lednev |
Thank you for this plugin, it solves a real struggle for simple and efficient time-blocking and planification. I'm quite bothered by the checklist style, visually though : it is quite "noisy" to see tasks and timeblocks all with the same checkbox. Intuitively I would like to set time blocks (that I can put in a template for my daily note : 2h-long worktime blocks, and pauses) and, when I plan my day and as the day goes by, I put tasks and notes in these blocks. |
Id also really like the possibility to just place down things into the dayplanner that arent checkboxes ... For me It could also just be the possibility to set them in the settings or something I just dont want to clutter my vault with even more reacurring tasks and such that I need to filter out At best It would also look for normal list items with a date in the dayplanner section of the daily view only |
Also very interested in this functionality. I'd love to block off times of the day and have tasks nested within those blocks (similar to the original screenshots of this plugin under the Basic editing: create, move, resize (click to expand) section). |
Just to add my voice and say:
Many thanks, |
Since 0.17.0, plain list items are recognized in daily notes and added to the timeline. |
As always, there's more than one camp of people and preferences. I would like to exclude list items, and only include tasks. Is that possible currently? |
Hey this is great, but dailyplanner is still automatically adding a checkbox instead of a bullet point. It would be great if there would be a setting to change this to your preferred list item (checkbox or bullet point). The biggest pain it's causing me now is that I'm having a lot of unchecked check boxes that clutter my tasks views where I pull in all my tasks from my vault. I need to uncheck all the events now by hand to not have them show up there. I would really appreciate if this could be a setting to change. |
Following the most recent update, it appears impossible to add an item in the timeline without it becoming a "task" with a corresponding checkbox. Is this the designed behavior? I personally don't want to add additional tasks to my task list without manually adding the checkbox myself.
The text was updated successfully, but these errors were encountered: