Kara Plugin: First Public Release

I also noticed Kara plugin is conflicted with projectify plugin.

The checkboxes in the viewer toolbar and to do list in each project are disappearing after enable Kara

image

It is caused by style in $:/plugins/kookma/kara/styles/main

/* todo section ------------*/
.todo{
	display:none;
}

Might be better to use alternative name for .todo

There are two missing comma in plugin.info
I will correct and push an update, by that time use the below plugin.info

{
	"title": "$:/plugins/kookma/kara",
	"name": "Kara",
	"description": "Small plain checklist and interstitial journaling",
	"author": "Mohammad Rahmani",
	"version": "0.5.1",
	"parent-plugin": "$:/plugins/kookma/thinkup",
	"core-version": ">=5.2.1",
	"source": "https://github.com/kookma/TW-Kara",
	"list": "readme history license",
	"dependents": "",
	"plugin-type": "plugin"
}

Thank you for reporting this conflict. Would you please tell me where those classes in Projectify are used?

If they are only on view toolbar the fix is easy, if they are used inside tiddler body then, I need to change substantial part of code.

By the way, if you use a full-fledged task manager like Projectify, what is the use case of Kara in that wiki?

Can she speak Persian? :wink:

1 Like

Thank you Tony! Nice and useful comments.

You know there are some powerful Task manager plugin out there. Proectify is one of them. Kookma Todolist (with time stamp, priority, clear all checkbox, archive items, …) and Shiraz Task manager (each task in a Tiddler) and also the Mehregan Task Explorer (each task in a tiddler) are few examples out there …

So why Kara? The objective was to have the simplest plain checklist and interstitial notes.
The plain here means, you can open the tiddler with checklist/interstitial in a simple text editor.

I kept everything minimal. But the plugin is very simple and can be extended.

The idea of a daily tiddler is great! I use the Journal tiddler for storing interstitial notes. So, these is good to store daily tasks.

Thank you to TW transclusion feature, checklist with daily tiddler can be called everywhere you like!

Good idea! also, adding an editor shortcut to insert the macro at the bottom of tiddler.

Sidenote: Kara actually was developed as a child plugin to be used in Mehregan edition (now uses Todolist). Kara will replace Todolist in Mehregan. The below image shows the old design

I found another bug with RefNotes plugin.

Step to reproduce this bug:

  1. Install Kara plugin into Refnotes 1.8.3 — references, citations, footnotes and abbreviations in Tiddlywiki
  2. Create a new tiddler with content below.

@@.todo
[ ]  <<ref "bosse-2018">>
[ ] An undone item, a task item
[x] A done item, a finished task
@@

<<checklist>>

  1. The result look like

The Reference is rendered in the wrong place.

The same behaviour in the interstitial

PS: Not test for other macro in the check list.

It happens to all check boxes defined by projectify, e.g. viewer toolbar and list of task in each project.

I don’t know the details of css of two plugins.

I quickly test to change .todo to .todos in $:/plugins/kookma/kara/macros/checklist and $:/plugins/kookma/kara/styles/main.

It seems all problems are fixed.

@Zheng_Bangyou

I will add a note to documentation that: The interstitial notes and checklists only accept simple wikitexts. So I warn using objects and custom macro calls in checklist/interstitial-notes entry.

Thank you! I will investigate, but your solution looks fine to me.

1 Like

@Zheng_Bangyou

Would you please check this? Does this resolve the issue with hidden checkboxes?

/* todo section ------------*/
.tc-tiddler-body .todo{
	display:none;
}
1 Like

Yes it is working now

1 Like

So I use this last solution. Thank you @Zheng_Bangyou

1 Like

@Zheng_Bangyou
This issue has been addressed in 0.5.1
Kara works with Refnotes and Projectify!

1 Like

Great it is working now. Just a tiny bug to render the checked item for RefNotes (no strikethrough).

I thought I may answer this question myself as I am interested in using a todo list within tiddlers along with Projectify.

  • Reoccurring task lists can be placed into a daily journal template to do the same thing over an over
    • In this case it is perhaps overkill to have a tiddler for each task
  • One may have a “set of steps” to follow multiple times, again we need not have seperate tiddlers for this
  • A “todo list” inside a “todo task” is a form of nesting or hierarchical tree of todo items with a list of leaves.

As these are special cases, they need custom treatments!
To address your raised issue

create a tiddler tagged with $:/tags/Stylesheet with below content

.kk-kara-done-item .refcls{
text-decoration: line-through;
}

Note that the links are active!

1 Like

For me Kara is suitable for single line few words todos like the one we use for daily shopping with Google Keep!

@Mohammad,

I was wondering if it were possible without too much effort to allow the default text field to be overridden with another fieldname?

We could then have a tasks or journal field on any tiddler in which the todo’s or journaling was placed. This allows either the todos or the text field be separately addressable and transcludable.

  • It seems like a rich source of possibilities but all it needs is the ability to nominate a different field.

Cool stuff, @Mohammad!
If you still would like to improve the styling, maybe you could get some inspiration from https://github.com/tgrosinger/tw5-checklist

All the best
Thomas