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

Can cycle task status include an entry for a plain (non-task) bullet? #71

Open
fredcallaway opened this issue May 22, 2023 · 4 comments
Labels
status to do Issue to address

Comments

@fredcallaway
Copy link

I would like to use the the "cycle task status" command as a drop-in replacement for the built-in "cycle bullet/checkbox" command, but it seems that this isn't currently possible.

For full feature parity with the built-in command, we would also mark a line as the first task type (which could be bullet) when calling the command on a non-bullet line (currently this is treated as an error).

@wenlzhang wenlzhang added the status to do Issue to address label Aug 9, 2023
@wenlzhang
Copy link
Owner

This is supported in the following commit and will be released after I test it for a few days.
168251b

A toggle is added to allow users to select whether to include the list item as the first cycled status or not.

@wenlzhang
Copy link
Owner

A new version is released for this feature. Besides, the way of retaining cursor location is adjusted when switching among list and task items.
https://github.com/wenlzhang/obsidian-task-marker/releases/tag/0.5.1

@wenlzhang wenlzhang added status done and removed status to do Issue to address labels Nov 16, 2023
@FabianUntermoser
Copy link

Thanks! There's still something missing for me though.

The standard "Cycle bullet/checklist" also turns a simple line of text the cursor is on into a bullet list item.
Using the "Task Marker: cycle bullet" with the newly added option to support list items will fail on a regular line of text.
Turning the text if it's not already a bullet item into one would be a great addition IMHO.

@wenlzhang wenlzhang reopened this Nov 16, 2023
@wenlzhang
Copy link
Owner

Turning the text if it's not already a bullet item into one would be a great addition IMHO.

Thanks for the feedback. I can think about adding a toggle for this.

@wenlzhang wenlzhang added status to do Issue to address and removed status done labels Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status to do Issue to address
Projects
None yet
Development

No branches or pull requests

3 participants