Skip to content

v0.5.0 – Refactor and QOL improvements for recent TiddlyWiki versions

Latest
Compare
Choose a tag to compare
@sobjornstad sobjornstad released this 25 Jul 21:33
· 1 commit to master since this release

New widgets

  • Add generic $m2.prevnext-navigation widget for adding previous/next buttons to any sequence of tiddlers. Pass filters that retrieve the previous and next item in the sequence given the current tiddler. The journal date navigation is implemented in terms of $m2.prevnext-navigation.
  • Change reference explorer into an $m2.reference-explorer widget, removing a lot of redundancy and potential bugginess.
  • Add $m2.x example widget, which lets you create a quasi-numbered list for listing entire paragraphs. Check out a reference section in Mosaic Muse like the one in https://mosmu.se/#PeopleDontKnowWhatTheyWant for an example.
  • Add $m2.float widget for floating images; the <<float-image>> macro is deprecated.

New conditionals

Feature flags and public/private status can now be introspected with functions using the conditional shortcut syntax, which is much more pleasant and easier to read:

<% if [m2.ff[FeatureFlagName]] %>
<!-- ... -->
<% endif %>

<% if [m2.public[]] %>
<!-- ... -->
<% endif %>

Other new features

  • Add new “Type” search results tab that allows filtering by tiddler type.
  • New edit button on private chunks when transcluded within a tiddler.
  • Add Ctrl+P as an additional sidebar search shortcut, to match Notion, RemNote, Obsidian, etc.
  • Show globe icons next to public tiddlers in the Recent tab to make it easy to see what you’ve recently published changes to.
  • Display the values of a pronouns field on a person tiddler in the subtitle, if present.
  • Display the value of a microlink field in the subtitle, if present. Microlinks are designed to allow you to create short, non-anchor aliases to pages (e.g., try https://mosmu.se/want). However, this is not really a feature of tzk since there is no way to compile it into the html file it creates on build -- you have to find some way to implement it in your hosting service. (I sync mine to a CloudFront redirect function.)
  • Add icons next to several new classes of links (mailto and websites of Soren)
  • Add handling for conferences and conference sessions via the <<conference-session>> display macro (which creates a stretchtext node) and change the default source template to a conference one if a conference field on a source is set to a publication.
  • Add More sidebar tab for journal entries.
  • In the person listing at the top of a journal entry, show the caption instead of the title if the person has one (e.g., a nickname).
  • Add more values to $:/sib/Tools/Statistics.
  • Add m2.separate-number and m2.separate-number-input functions for adding commas to arbitrary numbers for display.

Maintenance and fixes

  • Update Relink and Locator plugins
  • Update nearly all macros to procedures or functions.
  • All functions and widgets and some procedures are now namespaced within m2.. For instance, ff, having been converted to a function, is now m2.ff. This might break some customizations.
  • Change most conditional logic to <% shortcut syntax %>.
  • Add 2024 to the journal calendar.
  • Change references to “Soren’s Zettelkasten” to “Mosaic Muse”.
  • Add some fields to Relink config.
  • Show a warning in the sidebar when you tag a tiddler with $:/tags/SideBar but don’t create a visibility tiddler to control whether it is private/public -- previously it would just never appear unless you knew to create one.
  • Add palette ‘BlueZettel’. Some hard-coded colors have changed (these really should be added to the palette, but I haven’t gotten to that yet).
  • Remove a couple of plugins and config tiddlers that were not used anywhere.
  • Delete the <<iex>> macro, which was basically unused.
  • Clean up the handling of <storyTiddler>, <currentTiddler>, and <currentRecord> within the reference explorer.
  • Removed description tooltips from the reference explorer; these were redundant since the entire tiddler now pops up in a preview.
  • In said tiddler preview popup, show the title in small font for cases where the link hovered doesn’t show the name of the tiddler.
  • Update the 70/30 editor preview split so that it works with the new grid CSS (it went back to 50/50 on its own after a recent TiddlyWiki upgrade).
  • ...undoubtedly a few things I missed.