Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Make it more obvious that $:/DefaultTiddlers setting can handle filter-expressions #8729

Open
wants to merge 1 commit into
base: tiddlywiki-com
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions editions/tw5.com/tiddlers/concepts/DefaultTiddlers.tid
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
created: 20180306113011255
modified: 20180306161225140
modified: 20241116210134914
tags: Concepts
title: DefaultTiddlers
type: text/vnd.tiddlywiki

"Default tiddlers" refers to the list of tiddlers that is opened at startup in the browser if the address bar does not include a [[permalink|PermaLinks]]).
"Default tiddlers" refers to the list of tiddlers that are opened at startup in the browser if the address bar does not include a [[permalink|PermaLinks]].

There are two ways default tiddlers can be defined:

* A [[title-list|Title List]] eg: `TiddlerTitles` and `[[Titles with spaces]]`
* Filter expressions, using [[filter operators|Filter Operators]] eg: `[tag[HelloThere]]`
pmario marked this conversation as resolved.
Show resolved Hide resolved

At startup, the text of the system tiddler [[$:/DefaultTiddlers]] is retrieved and evaluated as a [[filter expression|Filter Expression]]. The resulting list of titles is then inserted into the [[story river|Story River]].
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel that we already explain here that a filter expression can be used to specify the default tiddlers. Perhaps we should consider rewriting this paragraph to further emphasize that, rather than add the paragraph above?

Copy link
Member Author

@pmario pmario Nov 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should consider rewriting this paragraph to further emphasize that, rather than add the paragraph above?

The paragraph has been there for years and extracting the information that DefaultTiddlers can handle filter expressions is not obvious and hard to find, as can be seen at the discussion at Talk

A bullet-list attracts attention to the points that are important. I did not want to remove the paragraph, because I think its OK to explain functions in different ways for different users.

But English is not my main language. So I would be happy for an example.


The [[control panel|$:/ControlPanel]] ''info/basics'' tab includes a text box for direct access to [[$:/DefaultTiddlers]].
The [[control panel|$:/ControlPanel]] ''-> Info -> Basics -> Default tiddler'' setting includes a text box for direct access to ~$:/DefaultTiddlers.

Loading