Code Monkey home page Code Monkey logo

joplin-inline-todo's People

Contributors

alondmnt avatar calebjohn avatar psfinal9 avatar septemberhx avatar sothawo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

joplin-inline-todo's Issues

[Feature Request] Per-notebook summary note

Hi @psfinal9 and @CalebJohn

we use the really well done plugin in a team on shared notebooks. In addition to the option to also display completed tasks, which I would find very useful, I would also like to see an option that only displays tasks from a specific notebook (and all notebooks below it). Especially if I'm sharing my screen in a meeting, I might not want all my open ToDos to be displayed.

But for this I would have to have an option that I don't select generally in the settings, but specifically for a todo summary or do I have a thinking error here?

What do you think about the two functions? Could this also be helpful for other users?

Originally posted by @feuermandel in #12 (comment)

I am trying to customize your plugin to support some features

Hi @CableJohn,

Thanks for your excellent plugin, first of all, to me, inline plugin is one of my favorite feature in Joplin ๐Ÿ‘
Additionally, I am customizing inline-todo to support the following features with my hands.

1. Shows only assignee (no folder name) because it is more straight forward to see what is todo for.

because inline todo will be place in any note where folder name (including note name) is irrelevant to that todo
(for me, i am using Joplin as my diary and when some idea hit me, i add todo in my diary so folder/note name doesn't have any meaning to me)
but, i will let user can choose shows folder name/note name or not

2. Shows "COMPLETED" todo item as well

because sometimes I need to review/check completed todo as well to see what i did & what i missed.

If you think it is good feature, let me submit PR after some testing with my real notes.

of course, if you have any advice, please, let me know that.

thanks!!!

Plugin not working?

Testing on Joplin 2.8.7 (prod, darwin) mac.

I have a note named TODO list with the following
<!-- inline-todo-plugin -->

I have a test note with a name and the content
- [ ] @TODO this is a todo

I turned the refresh to 1 min for testing.

Even after waiting a bit, the TODO list note never updates. I see these errors in the console:

index.html:1 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'body')
    at /Users/<directory>/.config/joplin-desktop/tmp/plugin_plugin.calebjohn.todo.js:1
    at Generator.next (<anonymous>)
    at s (/Users/<directory>/.config/joplin-desktop/tmp/plugin_plugin.calebjohn.todo.js:1)
index.html:1 Uncaught (in promise) Error: Not Found
    at defaultAction.ts:16
    at Generator.next (<anonymous>)
    at fulfilled (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/rest/utils/defaultAction.js:5)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95)

Request: Subitems in the Todo list

Hi there,

It would be nice to have have subitem in the list;

  • [ ] @todo //2022-05-30 Head Item --> Shown
    • @todo //2022-05-05 Second Item --> Not shown in current version
    • @todo //2022-05-07 Third Item --> Not shown in current version

[Feature Request] Display subnotebooks (a.k.a. descendents) as sub headings below

This is related to some other issues in here, such as #18.

Suppose I have a notebook "Project 1" with a subnotebook "Todos" and another notebook "Project 2" with a subnotebook "Todos". Each subnotebook has different Notes with several checklists

  • Issue 1: Both the notebooks and the subnotebooks appear as Heading 2 (i.e., with ## in front). It would be nice if each subnotebook appeared had a heading bellow of its parent (for instance ### for a subnotebook, #### for a subsubnotebook, etc).
  • Issue 2: If there is no note in the main notebooks (i.e., Project 1, Project 2) with a checklist then their headings do not appear. So, currently the plugin would display ##Todos and ##Todos as notebooks, without differentiating that they come from different notebooks. It would be nice for the parent notebook Heading to always appear, even if there is no checklist.

I understand that you do this in your free time. I do not have skills in .js to help implement either #18 or this feature. Would you be interested in some sort of "feature sponsoring" to get these done?

Filtering with sub-notebooks

I have multiple notebooks, for every of them I have a TODO Summary filtered by the new feature you introduced. Very neat by the way, thank you very much.
But it seems to me, that it does not include child notebooks, is that true? Is there a way to filter recursively? I think that would be very helpful.

Not listed in Plugins

Hi

The doc says to search for Inline TODOS to install it but I do not see that this is listed in the plugins.

Display upcoming / due / overdue tasks in different colors

Hi, thank you for the nice and simple to use plugin!
Right now, the assigned Date (e.g. //2023-10-10) gets a light blue background color in its note of origin and is not colored at all in the summary.
It would be super useful if depending on whether a task is upcoming / due / overdue this background color could be different, e.g. green / blue / orange.
In a perfect implementation this background color would be visible in both the origin of the ToDo and the summary.

Add tag filters in addition to notebook filters

From the forum

since I keep all notes in one notebook (I only work with linked notes with --Note Link System + NoteOverview) I can't filter my TodoSummerys unfortunately.
So it would be cool, if you could filter by tags in addition to notebooks.

Filtering by notebooks currently looks like this .
Filtering by notebooks and tags might look something like this

Another example (like NoteOverview):

<!-- inline-todo-plugin
notebook:nb1
tag:tag1 tag:tag2 (incl.) -tag:tag3 (excl.)
-->

Option to switch sorting

I still love this plugin.
How difficult is it to add some option in sorting.

Now the list is sorted by Due @Myself -> Notebook -> Task
For me (and maybe more users) it would be nice to change it to:
Notebook - Due -> @whom -> task

And no is also on answer ;-)
Keep up the great work.

[Feature Request] Sync TODOs between summary and origin

I've been looking at a lot of note apps this week to replace OneNote. Other than AmpleNote, this Joplin plugin is the only way I have discovered how to do to-do scanning/summation. You've given Joplin the edge and now it's my primary note taking-app at work. Thank you!

I do have a feature request. Now that I'm relying on the Todo Summary page to collect all my tasks from different workbooks, can you add something that allows sync between the two? If I change the task in summary, I'd like to see it reflected in the original note. This would include closing the task.

FYI, during testing the parameters of the plugin, I did manage to get it to stop updating the ToDo Summary page. Not sure what the breaking change was, but it was necessary to disable the plugin, delete the Todo Summary page, then restart, re-enable and recreate the page.

Clarify License

Can you clarify the license this project is licensed under? There's no LICENSE file in the project, but I see in the package.json that "license": "MIT", is set.

Is it intended that this project is treated as MIT licensed? If so, can you please add a LICENSE file with your MIT license text? The MIT license requires downstream projects include a copy of your license text and without having your own license text it's not possible for downstream projects to comply.

Thanks!

Make inline notes compatible with other todo-management plugins

HI,

thanks for the awesome work on this plugin! I have played around with it recently and wanted to discuss an idea.

Could an additional summary type be implemented that creates inline todos as "real" todos (as Joplin understands it) in a separate notebook? That way, other plugins that extend Joplins todo management capabilities (for example joplin-agenda and joplin-note-overview) could be used in conjunction with inline-todos.

This combination of plugins would help me to resemble the todo management system used in emacs org-mode more closely, which would be a huge plus for me.

To clarify, lets assume a notebook "Notebook A" with a note "Note A" that contains a couple inline todos. Instead of listing the inline todos in an overview note, this new summary type would create a notebook called something like "Notebook A_inlineNotes" (or maybe one notebook per assignee in confluence style) that contains a todo-type note for each inline notes. Tags used in the inline notation can just be added to the todo note, as well as due dates.

I would be happy to help this with a pull request if any help is needed.

Add a functionality that quickly creates a new note for an open todo

For every open TODO, there might be a quick link or something in it, that you can click and it automatically creates a note with the TODO text as its preliminary title. This note is then automatically linked to that TODO, replacing the link for creating the note.
This would allow to access the progress of open todos easily.

Todo summaries require explicit access; they do not get updated in background

Hello,

First of all, thank you for the great plugin! I had been searching for this feature for a long time, and seeing that you implemented it in Joplin is wonderful because this increases the app's potential as a fluent todo list manager, too.

In this issue note, I wanted to share something I noticed, which could make the plugin actually work for mobile devices if Joplin is self-hosted. Here is my point:

I have Nextcloud installed on my VPS; I use it to sync Joplin folder across my laptop and iPad. After installing the plugin and wrote some inline todos in the desktop app, I saw that the plugin was working. Then, I tried to create some inline todos on the iOS app, but related the todo summary created earlier was not updated, of course.

I thought there might be a simple workaround to this: installing Joplin desktop app and the inline todo plugin on the VPS, enabling sync through Nextcloud, and then creating todo summaries in the notebooks I want. Once these are created on the desktop, everytime I write an inline todo in the iOS app, the relevant todo summary created earlier should be updated when the Joplin mobile app and then the VPS desktop app syncs. And good news: I found out that this workaround actually works!

However, there is one minor problem, and that is why I am writing this issue note: todo summaries on the desktop app get updated only when you click on them. At least, this is my experience. If todo summaries get updated in background when you type in an inline note somewhere else, then this would enable the plugin to work in a way also on the mobile devices for those who self-host Joplin/cloud solution to sync files. In other words, the iOS app users would see todo summaries updated once their app syncs to the latest folder state of the desktop app on VPS.

Do you think it would be possible for you to enable todo summaries to get updated in background (that is, without explicitly clicking on or accessing them in the desktop app) so that the plugin could be also used on mobile devices?

Best regards,
Ahmet

Confluence Style and Assignee/Notebook List: assignee is ignored if there is a date

In my notebook "00 SCRATCH and UNFILED" I edited my "!!!SCRATCH" note โ€ฆ

- [ ] Testing confluence format. +Joplin Testing things.
- [ ] @jim //2023-10-19 What the heck? +someLabel
- [ ] Testing a 3rd todo. @todd

Produces a "Todo Summary" of โ€ฆ

# DUE
- [!!!SCRATCH](:/6a95fc8e8ff44368adf3ebd422cd6878): 2023-10-19 What the heck? +someLabel

## 00 SCRATCH and UNFILED
- [!!!SCRATCH](:/6a95fc8e8ff44368adf3ebd422cd6878): Testing confluence format. Testing things. +Joplin

# TODD
## 00 SCRATCH and UNFILED
- [!!!SCRATCH](:/6a95fc8e8ff44368adf3ebd422cd6878): Testing a 3rd todo.

Shouldn't @jim be acknowledged? Or have that item be in it's own named category?

Thanks. -t

How to activate the table view

The instructions show that there is a table view but, there is no indication how to make use of it.

It would be great if the instructions showed how to switch between the table view and summary view. Or at least gave an indication on when either would be used if its dependent on the TODO type.

Am I missing something because I can not see anything related to this in the instructions?

Feature Request: using existing Todo Summary note instead of always creating a new one

Hello,

Thanks for your hardworking! I like this plugin very much! ๐Ÿ‘

Currently, I use Joplin on multiple computers and sync them with the Joplin server. Though I installed this plugin on all my Joplin clients, it needs to create a new Todo Summary on each client even though a note exists with the name Todo Summary.

Once this plugin can reuse the existing Todo Summary note, the users can sync it between all the clients!

Support for filtering on notebooks and all descendants

I have two top-level notebooks, "Personal" and "Work" to keep things separated. I want to have a Todo Summary note in each that just lists the todo's from those. I can just do <!-- inline-todo-plugin Work --> to get everything out of the work notebook but todos from any sub-notebooks are not included. I could of course list every notebook explicitly but it would be nice to not have to maintain this and instead have some form like <!-- inline-todo-plugin Work+ --> that included all todos from Work and every descendant notebook of Work.

[Feature Request] Sorting (date, assignee, etc)

ref

Having all the todos in a sortable table is awesome, but having to re-sort the table everytime the Todo summary note is opened is a pain point. Imagine the use case of using this note to manage one's todos and referencing the note throughout the day, and having to manually resort to one's preferred sort every time the note is opened.

I'd guess that most people would have a preferred default view - for many, it may be the due date, for others it may be the @assignee field. Since your plugin is collecting all the '- @' todos, would it be much more work to sort them (according to a user option available in Tools > Options > Inline Todo along with the existing todo style and summary note format options) prior to writing them to the summary note? If that is doable, then table sorting plugin would only be needed to perform a sort that differs from the default sort. And most importantly, most times the user opens the note, they will not need to perform a sort, since the table is already sorted per their default preference.

Link directly to TODO or closest subheading

Hi,

I just started using the inline-todo plugin for Joplin. I notice that the todo links automatically created in the summary page point to the note without using any anchors. This means that when I click on the link Joplin opens the note at the top of the page, and not where the todo is.

I think it would be a useful enhancement to create the links so that they point directly to do todo, if possible. Alternatively, the links could point to the closest anchor (e.g., closest section heading).

Adding icon to quickly create todo in WYSIWYG editor view

Currently, there is no way to add any TODOs while in the WYSIWYG editor mode. Adding a button in the icon bar to create one would be very helpful. I mostly use this view to write my notes, and must switch to the markdown viewer to add the todo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.