Principles plugin - an alternative layout to record life principles as tiddlers and review them

Demo: 原则 — 记人生原则为诸条目,时习之 (with English translation)
Github: GitHub - tiddly-gittly/principles: Record life principles as tiddlers and review them as needed.
CPL: linonetwo/principles

As I’m running a quant trading organization, I’d like to learn things from Ray Dalio, from his https://www.principles.com and other books.

And I find Streams plugin from @saqimtiaz is good at writing my life principles, so I create this plugin for a better user interface when I doing input-output with TiddlyWiki. A compact UI that maximize the I/O speed for certain task, I guess this is what alternative layout is about, it is obscure in the doc, but I like this mechanism.

This plugin allows you to record your life principles in the form of an outline, and engrave them in your brain like a mental steel stamp through spaced repetition technique, so that you can program yourself, learn from mistakes, and keep improving.

4 Likes

I have had this exact thought, @linonetwo, right down to the name! :grin:

Excited to check it out. Are you content with where it is, or do you have significant plans for developing it in the future?

edit: Wow! Just checked out the demo page and I love the interface. I haven’t looked at the code yet, but it looks like the layout only works with one Tiddler at a time?

I would actually really love to use this as a streams-text-editor layout for longer writing projects generally.

It would be pretty simple to adapt that layout to open any tiddler in it, perhaps by means of a toolbar button on tiddlers in the story, or by adding a search bar at the top of the new layout.

2 Likes

I’m actually having trouble making it work outside of your demo, I tried creating a new tiddler, placed that tiddler title in $:/plugins/linonetwo/principles/config, and then tried clicking the button on $:/plugins/linonetwo/principles/language/en-GB/Readme – it seems to be opening a blank interface I can’t interact with except to go back to standard view:


Do you mean $:/plugins/linonetwo/principles/configs/RootTiddler? I just find it not working, and pushed a fix. It will allow you to use custom tiddler to store outline.

It basically means this layout is capable for editing any Streams outline tiddler. But this plugin have many features around Principles usage, so it should only be used to record principles, otherwise it will be strange to have a “Principles” Tidme deck to review things under other topics. But you can fork the code to make UIs for other topics.

And yes, have a plugin providing full screen outline editor is a good idea, that can be another plugin. Alternative layout mechanism make TW possible to mimic any other note products.

Yes, layout only show one tiddler. But plugin author is free to add a story view on that tiddler, or add tabs, or add Evernote style note list. A tiddler can contain any UI.

2 Likes

After downloading and importing the new files, I find that the title displays on the UI, but the content of the streams-list is not displaying.


I may be missing something or doing something wrong, will take another look later on.

What does this mean? Did you drag the whole HTML to your wiki? Usually it is an one-click install in CPL, or you could drag all its dependency plugins to your wiki.

And I haven’t see the error on your screenshot before, that maybe from other plugins.


Oh, I see, I am using a patch from reverted PR feat: t macro and docs by linonetwo · Pull Request #7821 · TiddlyWiki/TiddlyWiki5 · GitHub

This is included in TidGi app by a plugin itonnote-plugin, so most of new users have this, I almost forget it. This explains why it works on my wiki and demo wiki, but not your wiki.

I have to use this patch, until feat: i18n framework based on extracting translations from plugin's /languages/ to /language/ by linonetwo · Pull Request #8435 · TiddlyWiki/TiddlyWiki5 · GitHub gets attention and merged. Otherwise there is no good way to do i18n in plugins.

Let me include this patch also in the principles plugin for now…Updated in v0.2.0