Page layouts as Wikiviews, or Wikimodes?

Folks,

I have seen lot of interesting Layouts for tiddlywiki over the years. Just recently I used the layout switch to toggle in a linkcatcher for An invention you may be interested in, focused tiddler types and setting current Focus.

This has led me to think of the layout as a mechanism rather than a user interface style.

  • I think there may be room to add additional hackability to the PageTemplate rather than using layouts, but that is another conversation.

The Idea of layouts as a mechanism controlling the PageTemplate has led me to ask is this a good way to handle alternative views of the same content?. I raise this to seek comments and any existing examples or ideas;

For example lets say I had a book authorship wiki, what if we had the following layouts and page elements?;

Author layout

  • Providing composition and content management, editors and references
  • Access to supporting information such as character or location information
  • Anything that may support the writing and structure of a book

Author minimalist

  • For writing with little distraction, just the essential interface

Online reader

  • Hide access to any of the Authors tools but include smart rereading tools for online and interactive readers
  • Bookmarks, position tracking, sidebar notes and highlighters etc…

Print view

  • All the current content in a printable draft form
    • Hide links options etc…
  • Maybe for a simple, serial, reading experience

Each of the above may allow you to

  • lock out other views, maintain a seperate story list, history etc…
    • Provide buttons, links or shortcuts to change views
  • Other options may be to
    • include multiple short stories and have a layout for each story, with a Index layout perhaps.
    • Layout showing reviews and other resources for the reader.

What are your thoughts?

I can live with this usage, each layout is a slice of the wiki (or a input for the wiki), let us read from or write to an aspect of the wiki.

I thought the Theme was about beautifying the layout using CSS (although we can’t limit it on this), and Palette was about changing variables in the CSS of the theme, and the Layout can be a total change of layout using HTML.
I’m treating layout manager as a way to mimic https://heptabase.com/ , notion and https://affine.pro/ , you can see my recent plugins are all about this. (https://github.com/tiddly-gittly/tiddlywiki-whiteboard and https://github.com/tiddly-gittly/tiddlywiki-calendar)
https://github.com/Jermolene/TiddlyWiki5/pull/7076#issuecomment-1335053114

Also Do you want your wiki to have 3-10 different layouts?

I may create a launch-pad layout that can be used to open other layouts, looks like Square Home launcher

1 Like

I hope there can be more metadata on pagelayout, so its easier to create launcher.

For example icon or layout.

And maybe page layouts can have tags, which means it is in a folder, so I will group layouts with the same tag together in the launcher. For example, 3-day-view and month-view can be two page layouts, and grouped together, so a user knows they come from the same plugin $:/plugins/linonetwo/tw-calendar.

2 Likes