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

New service: Logseq #1052

Merged
merged 12 commits into from
Aug 17, 2024
Merged

Conversation

scross01
Copy link
Contributor

New service to pull tasks from Logseq

This integration works with the local HTTP APIs server provided by the Logseq application to query Tasks from the active Logseq graph

Copy link
Collaborator

@ryneeverett ryneeverett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting this! I've played around with Logseq from time to time but hadn't even considered integrating it with my taskwarrior workflow.

bugwarrior/docs/services/logseq.rst Outdated Show resolved Hide resolved
bugwarrior/services/logseq.py Show resolved Hide resolved
bugwarrior/docs/services/logseq.rst Show resolved Hide resolved
bugwarrior/docs/services/logseq.rst Outdated Show resolved Hide resolved
bugwarrior/docs/services/logseq.rst Outdated Show resolved Hide resolved
bugwarrior/services/logseq.py Outdated Show resolved Hide resolved
bugwarrior/services/logseq.py Outdated Show resolved Hide resolved
bugwarrior/services/logseq.py Outdated Show resolved Hide resolved
bugwarrior/services/logseq.py Outdated Show resolved Hide resolved
bugwarrior/services/logseq.py Outdated Show resolved Hide resolved

``WAITING`` and ``WAIT`` are dynamically mapped to either ``pending`` or ``waiting`` states based on
the ``wait`` date. The ``SCHEDULED:`` date or ``DEADLINE`` date is used to set the ``wait`` date on the
task. If no scheduled or deadlines date is available then the wait date is set to ``someday``
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
task. If no scheduled or deadlines date is available then the wait date is set to ``someday``
task. If no scheduled or deadline date is available then the wait date is set to ``someday``

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

r"(#[^" + self.config.char_open_link + r"^\s]+)",
self.get_formated_title()
)
# and this add teh #[[multi word]] formated tags
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# and this add teh #[[multi word]] formated tags
# and this add the #[[multi word]] formatted tags

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

)

# get an optimized and formatted title
def get_formated_title(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def get_formated_title(self):
def get_formatted_title(self):

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@scross01
Copy link
Contributor Author

Anything else needed to merge this PR?

@ryneeverett ryneeverett merged commit da88cbb into GothenburgBitFactory:develop Aug 17, 2024
36 checks passed
@ryneeverett
Copy link
Collaborator

Just for somebody to hit the button. :)

NexAdn pushed a commit to NexAdn/bugwarrior that referenced this pull request Sep 19, 2024
* logseq: WIP new service

* bracket replacement config options

* inline_links option, handle waiting tasks

* fix doc format issues

* Fix line length

* README.rst updates from code review

Batch suggested updates

Co-authored-by: ryneeverett <[email protected]>

* Apply suggestions from code review

Batch suggested changes

Co-authored-by: ryneeverett <[email protected]>

* Address more code review comments

* Fix broken test

* Add note about taskw character escaping issue

* Improved tag support for #[[mutli word]] style tags

* Address remaining review comments

---------

Co-authored-by: ryneeverett <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants