sytone / obsidian-tasks-x Goto Github PK
View Code? Open in Web Editor NEWTask management for the Obsidian knowledge base.
Home Page: https://sytone.github.io/obsidian-tasks-x/
License: MIT License
Task management for the Obsidian knowledge base.
Home Page: https://sytone.github.io/obsidian-tasks-x/
License: MIT License
Issue tracker is ONLY used for reporting bugs. New feature ideas should be discussed in the ideas section. Please use the Q&A section for supporting issues. Please use the search function.
If you encountered the issue after you installed, updated, or reloaded the tasks plugin, please try restarting obsidian before reporting the bug.
If you want to report a bug, please follow the guide lines below to help me resolve it.
cmd-p should open the command palette
command-p seems to freeze the entire app for about a minute and spikes the cpu to 100%. When it finally comes back the console logs this:
[20220530 08:43:33][SILLY] [Command:debug-export-tasks] Checking if command is available.,[object Object],[object Object] plugin:obsidian-tasks-x-plugin:176
In my current setup it's just hitting cmd-p or clicking the command palette.
In my vault with lots of plugins this was happening every time. In a new vault with only BRAT, this plugin, and minimal theme it seemed ok. Not too sure what could be conflicting with it, but the regular tasks plugin works fine in my vault. Let me know if there's anything I can do to help narrow it down. I'm super excited to try your version out.
Task
in your fork (like date created) ...tasks
code blocks (and probably SQL code blocks) in any active files will not be refreshed.More info below.
This is to expand on my message in Discord on 2022-07-18
@sytone please don’t merge 1.9.0 to your fork yet. I need to generalise one of the performance fixes so that it works when there are more values in a Task (like your Added field). Will let you know when it’s ready.
If you merge now, user task blocks won’t be updated if they edit or add Added values…
The context is PR #894 in obsidian-tasks.
That PR describes thoroughly the intention of the change.
And these new chunks of code:
Task.identicalTo()
:
Task.test.ts - 'identicalTo'
Task.identicalTo()
needs to be edited to add checks (and tests, of course) for any new fields you have addedTask.identicalTo()
needs to re-implemented so that it checks all fields in Task
, recognises their type, and applies the correct identity-check.Reasoning: as schemar
noted in this code review comment:
The challenge with this implementation (
Task.identicalTo()
) is that you now need to remember to update it if you change the structure of a task. For example when you add a new field to it.It's especially difficult to remember, as all the date fields are declared further down and not necessarily visible when looking at the function head.
Is there good documentation on what to do to add a new field to
Task
? (or possibly other modifications)
Could there be a way where you iterate over the properties of the objects (e.g.Object.keys()
) and compare based on the type of the value at runtime (e.g.instanceof
)?If this is not possible, maybe document here why it isn't possible.
thanks for the work/effort on moving this into the tasks plugin. I had a thought about a derivative of the code you have. You've figured out how to get the sql code into obsidian, but what if you allowed it to work on queries of an sqlite database in the vault. Idea is that I have an sqlite database and want to be able to access / do queries in obsidian.
Example: I have a csv file that I exported from outlook that is an address book. I have it converted to an sqlite database and can use a python program called visidata to access. But I'd love to be able to use SQL in obsidian to handle this as an embedded address book
Create/edit task modal should work
Currently the modal opens, but the date fields aren't parsing and the task can't be saved. The modal can only be dismissed by clicking the close icon or hitting escape.
Open the modal using the command to create/edit a task. When creating a new task the form can be tabbed through, but the fields don't seem to be active. The date fields don't parse when typing, clicking the apply button doesn't do anything, hitting return does nothing.
Tasks status types should save when changed/added
Changing the "next status symbol" field is not saving.
x
Fix updateStatusSetting()
In case you aren't aware...
Plugin can be installed from BRAT
Error message about 'main.js missing from release'
Ask BRAT to load sytone/obsidian-tasks-x
v2.0.13
Issue tracker is ONLY used for reporting bugs. New feature ideas should be discussed in the ideas section. Please use the Q&A section for supporting issues. Please use the search function.
If you encountered the issue after you installed, updated, or reloaded the tasks plugin, please try restarting obsidian before reporting the bug.
If you want to report a bug, please follow the guide lines below to help me resolve it.
The ➕DATE should appear only once when this date is added
In the case a task does not have a created date (pre-existing ones), then the current date is shows.
When a task already had a created date (added manually before installing the plugin) then two dates are shown (as in the screenshot)
https://github.com/sytone/obsidian-tasks-x/releases/tag/2.7.0 should contain links to files with 2.7.0
in their names.
Issue tracker is ONLY used for reporting bugs. New feature ideas should be discussed in the ideas section. Please use the Q&A section for supporting issues. Please use the search function.
If you encountered the issue after you installed, updated, or reloaded the tasks plugin, please try restarting obsidian before reporting the bug.
If you want to report a bug, please follow the guide lines below to help me resolve it.
Original Tasks plugin hides comments in reading view and enables tags as normal
tags and comments are displayed as normal text
n/a
Is it possible that it can check the task as done after it passes the due date? I have some recurring tasks that I wanna do at a specific time but if the time passes then that task becomes irrelevant to me even if I haven't done the task. So I am looking for an option for some specific tasks (if possible) to set as auto-complete if the due date passes. And thanks for making this amazing plugin.
Looking forward to your reply😊
I was excited to try out the new Tasks Status Types. Thank you for working on these.
Installing this plugin and accepting its default settings, I would expect that clicking in the Task's checkbox would mark the task as done and add the Done date.
Instead of change [ ]
to [x]
it changes to [/]
, which the settings say is 'In Progress'. And it therefore does not add the Done date, regardless of whether the user enabled that field or not.
It looks like it is a completed task, but it actually is not.
Problems with this behaviour include:
- [ ] Do stuff
Result is: - [/] Do Stuff
[ ]
and [x]
onlyAll Markdown in task lines is rendered in Reading mode.
Only task lines that contain both [[
and ]]
are rendered in Reading mode.
Create the following tasks
- [ ] I link to [[README]]
- [ ] I link to a web page [BBC](https://www.bbc.co.uk)
- [ ] I have some **formatting** and *more formatting*
View them in Reading mode the original Tasks plugin and you see:
View them in Reading mode in Tasks-x and you see:
I was prompted to test this out after reading this code:
Lines 521 to 526 in e0d7ef2
It looks to me like it makes the assumption that only wiki links need to be rendered, which is consistent with the behaviour noted above.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.