14 changes: 14 additions & 0 deletions core/ui/PageControls/unfold-all.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
title: $:/core/ui/Buttons/unfold-all
tags: $:/tags/PageControls
caption: {{$:/core/images/unfold-all-button}} {{$:/language/Buttons/UnfoldAll/Caption}}
description: {{$:/language/Buttons/UnfoldAll/Hint}}

<$button tooltip={{$:/language/Buttons/UnfoldAll/Hint}} aria-label={{$:/language/Buttons/UnfoldAll/Caption}} class=<<tv-config-toolbar-class>>>
<$action-sendmessage $message="tm-unfold-all-tiddlers" $param=<<currentTiddler>> foldedStatePrefix="$:/state/folded/"/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
{{$:/core/images/unfold-all-button}}
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text text={{$:/language/Buttons/UnfoldAll/Caption}}/></span>
</$list>
</$button>
2 changes: 1 addition & 1 deletion core/ui/PageTemplate/sidebar.tid
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tags: $:/tags/PageTemplate

<div class="tc-sidebar-header">

<$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes">
<$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes" animate="yes">

<h1 class="tc-site-title">

Expand Down
2 changes: 2 additions & 0 deletions core/ui/SearchResults.tid
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ title: $:/core/ui/SearchResults
<$transclude mode="block"/>
</$list>
""">

<$macrocall $name="tabs" tabsList="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]" default={{$:/config/SearchResults/Default}}/>

</$list>

</div>
20 changes: 13 additions & 7 deletions core/ui/SideBarLists.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ title: $:/core/ui/SideBarLists

<div class="tc-sidebar-lists">

<$set name="searchTiddler" value="$:/temp/search">
<div class="tc-search">
<$edit-text tiddler="$:/temp/search" type="search" tag="input" focus={{$:/config/Search/AutoFocus}}/>
<$edit-text tiddler="$:/temp/search" type="search" tag="input" focus={{$:/config/Search/AutoFocus}} focusPopup=<<qualify "$:/state/popup/search-dropdown">> class="tc-popup-handle"/>
<$reveal state="$:/temp/search" type="nomatch" text="">
<$button tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class="tc-btn-invisible">
<$action-setfield $tiddler="$:/temp/advancedsearch" text={{$:/temp/search}}/>
Expand All @@ -15,6 +16,11 @@ title: $:/core/ui/SideBarLists
<$action-setfield $tiddler="$:/temp/search" text="" />
{{$:/core/images/close-button}}
</$button>
<$button popup=<<qualify "$:/state/popup/search-dropdown">> class="tc-btn-invisible">
<$set name="resultCount" value="""<$count filter="[!is[system]search{$(searchTiddler)$}]"/>""">
{{$:/core/images/down-arrow}} {{$:/language/Search/Matches}}
</$set>
</$button>
</$reveal>
<$reveal state="$:/temp/search" type="match" text="">
<$button to="$:/AdvancedSearch" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class="tc-btn-invisible">
Expand All @@ -23,18 +29,18 @@ title: $:/core/ui/SideBarLists
</$reveal>
</div>

<$reveal state="$:/temp/search" type="nomatch" text="">
<$reveal tag="div" class="tc-block-dropdown-wrapper" state="$:/temp/search" type="nomatch" text="">

<$reveal tag="div" class="tc-block-dropdown tc-search-drop-down tc-popup-handle" state=<<qualify "$:/state/popup/search-dropdown">> type="nomatch" text="" default="">

<$set name="searchTiddler" value="$:/temp/search">
{{$:/core/ui/SearchResults}}
</$set>

</$reveal>

<$reveal state="$:/temp/search" type="match" text="">
</$reveal>

<$macrocall $name="tabs" tabsList="[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]" default={{$:/config/DefaultSidebarTab}} state="$:/state/tab/sidebar" />
</$set>

</$reveal>
<$macrocall $name="tabs" tabsList="[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]" default={{$:/config/DefaultSidebarTab}} state="$:/state/tab/sidebar" />

</div>
2 changes: 1 addition & 1 deletion core/ui/TagTemplate.tid
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ color:$(foregroundColor)$;
</span>
\end

<$macrocall $name="tag-body" colour={{!!color}} palette={{$:/palette}}/>
<$macrocall $name="tag-body" colour={{!!color}} palette={{$:/palette}}/>
3 changes: 3 additions & 0 deletions core/ui/ViewTemplate.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ title: $:/core/ui/ViewTemplate
\define frame-classes()
tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$
\end
\define folded-state()
$:/state/folded/$(currentTiddler)$
\end
<$set name="storyTiddler" value=<<currentTiddler>>><$set name="tiddlerInfoState" value=<<qualify "$:/state/popup/tiddler-info">>><$tiddler tiddler=<<currentTiddler>>><div class=<<frame-classes>>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
</div>
</$tiddler></$set></$set>
4 changes: 2 additions & 2 deletions core/ui/ViewTemplate/body.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: $:/core/ui/ViewTemplate/body
tags: $:/tags/ViewTemplate

<div class="tc-tiddler-body">
<$reveal tag="div" class="tc-tiddler-body" type="nomatch" state=<<folded-state>> text="hide" retain="yes" animate="yes">

<$list filter="[all[current]!has[plugin-type]!field:hide-body[yes]]">

Expand All @@ -13,4 +13,4 @@ tags: $:/tags/ViewTemplate

</$list>

</div>
</$reveal>
3 changes: 3 additions & 0 deletions core/ui/ViewTemplate/import.tid
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ tags: $:/tags/ViewTemplate

<<lingo Listing/Hint>>

<$button message="tm-delete-tiddler" param=<<currentTiddler>>><<lingo Listing/Cancel/Caption>></$button>
<$button message="tm-perform-import" param=<<currentTiddler>>><<lingo Listing/Import/Caption>></$button>

{{||$:/core/ui/ImportListing}}

<$button message="tm-delete-tiddler" param=<<currentTiddler>>><<lingo Listing/Cancel/Caption>></$button>
Expand Down
4 changes: 3 additions & 1 deletion core/ui/ViewTemplate/subtitle.tid
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
title: $:/core/ui/ViewTemplate/subtitle
tags: $:/tags/ViewTemplate

<$reveal type="nomatch" state=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes">
<div class="tc-subtitle">
<$link to={{!!modifier}}>
<$view field="modifier"/>
</$link> <$view field="modified" format="relativedate"/>
</$link> <$view field="modified" format="date" template={{$:/language/Tiddler/DateFormat}}/>
</div>
</$reveal>
2 changes: 2 additions & 0 deletions core/ui/ViewTemplate/tags.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
title: $:/core/ui/ViewTemplate/tags
tags: $:/tags/ViewTemplate

<$reveal type="nomatch" state=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes">
<div class="tc-tags-wrapper"><$list filter="[all[current]tags[]sort[title]]" template="$:/core/ui/TagTemplate" storyview="pop"/></div>
</$reveal>
17 changes: 17 additions & 0 deletions core/ui/ViewTemplate/unfold.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
title: $:/core/ui/ViewTemplate/unfold
tags: $:/tags/ViewTemplate

<$reveal tag="div" type="nomatch" state="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar" text="hide">
<$reveal tag="div" type="nomatch" state=<<folded-state>> text="hide" default="show" retain="yes" animate="yes">
<$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class="tc-fold-banner">
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
{{$:/core/images/chevron-up}}
</$button>
</$reveal>
<$reveal tag="div" type="nomatch" state=<<folded-state>> text="show" default="show" retain="yes" animate="yes">
<$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class="tc-unfold-banner">
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
{{$:/core/images/chevron-down}}
</$button>
</$reveal>
</$reveal>
6 changes: 6 additions & 0 deletions core/ui/ViewToolbar/fold-bar.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: $:/core/ui/Buttons/fold-bar
tags: $:/tags/ViewToolbar
caption: {{$:/language/Buttons/Fold/FoldBar/Caption}}
description: {{$:/language/Buttons/Fold/FoldBar/Hint}}

<!-- This dummy toolbar button is here to allow visibility of the fold-bar to be controlled as if it were a toolbar button -->
14 changes: 14 additions & 0 deletions core/ui/ViewToolbar/fold-others.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
title: $:/core/ui/Buttons/fold-others
tags: $:/tags/ViewToolbar
caption: {{$:/core/images/fold-others-button}} {{$:/language/Buttons/FoldOthers/Caption}}
description: {{$:/language/Buttons/FoldOthers/Hint}}

<$button tooltip={{$:/language/Buttons/FoldOthers/Hint}} aria-label={{$:/language/Buttons/FoldOthers/Caption}} class=<<tv-config-toolbar-class>>>
<$action-sendmessage $message="tm-fold-other-tiddlers" $param=<<currentTiddler>> foldedStatePrefix="$:/state/folded/"/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
{{$:/core/images/fold-others-button}}
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text text={{$:/language/Buttons/FoldOthers/Caption}}/></span>
</$list>
</$button>
26 changes: 26 additions & 0 deletions core/ui/ViewToolbar/fold.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
title: $:/core/ui/Buttons/fold
tags: $:/tags/ViewToolbar
caption: {{$:/core/images/fold-button}} {{$:/language/Buttons/Fold/Caption}}
description: {{$:/language/Buttons/Fold/Hint}}

<$reveal type="nomatch" state=<<folded-state>> text="hide" default="show"><$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class=<<tv-config-toolbar-class>>>
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
{{$:/core/images/fold-button}}
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text">
<$text text={{$:/language/Buttons/Fold/Caption}}/>
</span>
</$list>
</$button></$reveal><$reveal type="match" state=<<folded-state>> text="hide" default="show"><$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class=<<tv-config-toolbar-class>>>
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
{{$:/core/images/unfold-button}}
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text">
<$text text={{$:/language/Buttons/Unfold/Caption}}/>
</span>
</$list>
</$button></$reveal>
2 changes: 1 addition & 1 deletion core/wiki/config/OfficialPluginLibrary.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ tags: $:/tags/PluginLibrary
url: http://tiddlywiki.com/library/v5.1.9/index.html
caption: {{$:/language/OfficialPluginLibrary}}

The official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team.
{{$:/language/OfficialPluginLibrary/Hint}}
2 changes: 2 additions & 0 deletions core/wiki/config/PageControlButtons.multids
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ core/ui/Buttons/advanced-search: hide
core/ui/Buttons/close-all: hide
core/ui/Buttons/encryption: hide
core/ui/Buttons/export-page: hide
core/ui/Buttons/fold-all: hide
core/ui/Buttons/full-screen: hide
core/ui/Buttons/home: hide
core/ui/Buttons/refresh: hide
Expand All @@ -16,3 +17,4 @@ core/ui/Buttons/palette: hide
core/ui/Buttons/permaview: hide
core/ui/Buttons/storyview: hide
core/ui/Buttons/theme: hide
core/ui/Buttons/unfold-all: hide
2 changes: 2 additions & 0 deletions core/wiki/config/PerformanceInstrumentation.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
title: $:/config/Performance/Instrumentation
text: no
2 changes: 1 addition & 1 deletion core/wiki/config/SaverFilter.tid
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: $:/config/SaverFilter

[all[]] -[[$:/HistoryList]] -[[$:/StoryList]] -[[$:/Import]] -[[$:/isEncrypted]] -[[$:/UploadName]] -[prefix[$:/state]] -[prefix[$:/temp]]
[all[]] -[[$:/HistoryList]] -[[$:/StoryList]] -[[$:/Import]] -[[$:/isEncrypted]] -[[$:/UploadName]] -[prefix[$:/state/]] -[prefix[$:/temp/]]
2 changes: 1 addition & 1 deletion core/wiki/config/SyncFilter.tid
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: $:/config/SyncFilter

[is[tiddler]] -[[$:/HistoryList]] -[[$:/Import]] -[[$:/isEncrypted]] -[prefix[$:/status]] -[prefix[$:/state]] -[prefix[$:/temp]]
[is[tiddler]] -[[$:/HistoryList]] -[[$:/Import]] -[[$:/isEncrypted]] -[prefix[$:/status/]] -[prefix[$:/state/]] -[prefix[$:/temp/]]
4 changes: 4 additions & 0 deletions core/wiki/config/ViewToolbarButtons.multids
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ core/ui/Buttons/new-journal-here: hide
core/ui/Buttons/open-window: hide
core/ui/Buttons/permalink: hide
core/ui/Buttons/permaview: hide
core/ui/Buttons/delete: hide
core/ui/Buttons/fold: hide
core/ui/Buttons/fold-bar: hide
core/ui/Buttons/fold-others: hide
3 changes: 3 additions & 0 deletions core/wiki/config/shortcuts/cancel-edit-tiddler.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/config/shortcuts/cancel-edit-tiddler

escape
3 changes: 3 additions & 0 deletions core/wiki/config/shortcuts/save-tiddler.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/config/shortcuts/save-tiddler

ctrl+enter
3 changes: 3 additions & 0 deletions core/wiki/config/wikilink.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/config/WikiParserRules/Inline/wikilink

enable
12 changes: 6 additions & 6 deletions core/wiki/macros/tabs.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ tags: $:/tags/Macro
\define tabs(tabsList,default,state:"$:/state/tab",class,template)
<div class="tc-tab-set $class$">
<div class="tc-tab-buttons $class$">
<$list filter="$tabsList$" variable="currentTab">
<$button set=<<qualify "$state$">> setTo=<<currentTab>> default="$default$" selectedClass="tc-tab-selected">
<$list filter="$tabsList$" variable="currentTab"><$set name="save-currentTiddler" value=<<currentTiddler>>><$tiddler tiddler=<<currentTab>>><$button set=<<qualify "$state$">> setTo=<<currentTab>> default="$default$" selectedClass="tc-tab-selected" tooltip={{!!tooltip}}>
<$tiddler tiddler=<<save-currentTiddler>>>
<$set name="tv-wikilinks" value="no">
<$transclude tiddler=<<currentTab>> field="caption">
<$macrocall $name="currentTab" $type="text/plain" $output="text/plain"/>
</$transclude>
</$set>
</$button>
</$list>
</div><div class="tc-tab-divider $class$"/><div class="tc-tab-content $class$">
</$set></$tiddler></$button></$tiddler></$set></$list>
</div>
<div class="tc-tab-divider $class$"/>
<div class="tc-tab-content $class$">
<$list filter="$tabsList$" variable="currentTab">

<$reveal type="match" state=<<qualify "$state$">> text=<<currentTab>> default="$default$">
Expand Down
5 changes: 3 additions & 2 deletions core/wiki/macros/thumbnails.tid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: $:/core/macros/thumbails
title: $:/core/macros/thumbnails
tags: $:/tags/Macro

\define thumbnail(link,icon,color,background-color,image,caption,width:"280",height:"157")
Expand All @@ -9,7 +9,8 @@ tags: $:/tags/Macro
$icon$
</div><div class="tc-thumbnail-caption">
$caption$
</div></div></$link>
</div>
</div></$link>
\end

\define thumbnail-right(link,icon,color,background-color,image,caption,width:"280",height:"157")
Expand Down
2 changes: 1 addition & 1 deletion core/wiki/tags/PageControls.tid
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
title: $:/tags/PageControls
list: [[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/new-journal]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/export-page]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/advanced-search]] [[$:/core/ui/Buttons/tag-manager]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/palette]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/refresh]] [[$:/core/ui/Buttons/more-page-actions]]
list: [[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/fold-all]] [[$:/core/ui/Buttons/unfold-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/new-journal]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/export-page]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/advanced-search]] [[$:/core/ui/Buttons/tag-manager]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/palette]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/refresh]] [[$:/core/ui/Buttons/more-page-actions]]
2 changes: 1 addition & 1 deletion core/wiki/tags/ViewTemplate.tid
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
title: $:/tags/ViewTemplate
list: [[$:/core/ui/ViewTemplate/title]] [[$:/core/ui/ViewTemplate/subtitle]] [[$:/core/ui/ViewTemplate/tags]] [[$:/core/ui/ViewTemplate/classic]] [[$:/core/ui/ViewTemplate/body]]
list: [[$:/core/ui/ViewTemplate/title]] [[$:/core/ui/ViewTemplate/unfold]] [[$:/core/ui/ViewTemplate/subtitle]] [[$:/core/ui/ViewTemplate/tags]] [[$:/core/ui/ViewTemplate/classic]] [[$:/core/ui/ViewTemplate/body]]
2 changes: 1 addition & 1 deletion core/wiki/tags/ViewToolbar.tid
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
title: $:/tags/ViewToolbar
list: [[$:/core/ui/Buttons/more-tiddler-actions]] [[$:/core/ui/Buttons/info]] [[$:/core/ui/Buttons/new-here]] [[$:/core/ui/Buttons/new-journal-here]] [[$:/core/ui/Buttons/clone]] [[$:/core/ui/Buttons/export-tiddler]] [[$:/core/ui/Buttons/edit]] [[$:/core/ui/Buttons/permalink]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/open-window]] [[$:/core/ui/Buttons/close-others]] [[$:/core/ui/Buttons/close]]
list: [[$:/core/ui/Buttons/more-tiddler-actions]] [[$:/core/ui/Buttons/info]] [[$:/core/ui/Buttons/new-here]] [[$:/core/ui/Buttons/new-journal-here]] [[$:/core/ui/Buttons/clone]] [[$:/core/ui/Buttons/export-tiddler]] [[$:/core/ui/Buttons/edit]] [[$:/core/ui/Buttons/delete]] [[$:/core/ui/Buttons/permalink]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/open-window]] [[$:/core/ui/Buttons/close-others]] [[$:/core/ui/Buttons/close]] [[$:/core/ui/Buttons/fold-others]] [[$:/core/ui/Buttons/fold]]
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
title: Releasing a new version of TiddlyWiki

# Move the latest release note from the prerelease edition into the tw5.com edition
# Adjust the release date of the latest release tiddler (eg, [[Release 5.1.3]])
# Ensure [[Releases]] has the new version as the default tab
# Adjust the release date and the ''released'' field of the latest release tiddler (eg, [[Release 5.1.3]])
# Ensure [[TiddlyWiki Releases]] has the new version as the default tab
# Adjust the modified time of HelloThere
# Make sure ''Jermolene/TiddlyWiki5'' is fully committed
# Edit `package.json` to the new version number
Expand All @@ -24,4 +24,4 @@ title: Releasing a new version of TiddlyWiki

# Preparation for the next release:
## Adjust version number in [[$:/config/OfficialPluginLibrary]]
## Adjust version number in https://github.com/Jermolene/build.jermolene.github.io in `bld.sh` and `make-library-bld.sh`
## Adjust version number in https://github.com/Jermolene/build.jermolene.github.io in `prerelease-bld.sh`, `bld.sh` and `make-library-bld.sh`
4 changes: 2 additions & 2 deletions editions/dev/tiddlers/from Heigele and Jurke/Parser.tid
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The parse-tree consists of nested nodes like
```js
{type: "element", tag: <string>, attributes: {}, children: []} - an HTML element
{type: "text", text: <string>} - a text node
{type: "entity", value: <string>} - an HTML entity like &copy; for a copyright symbol
{type: "entity", entity: <string>} - an HTML entity like &copy; for a copyright symbol
{type: "raw", html: <string>} - raw HTML
```

Expand All @@ -37,4 +37,4 @@ Attributes in the parse-tree are not stored as simple strings but they are nodes
```js
{type: "string", value: <string>} - literal string
{type: "indirect", textReference: <textReference>} - indirect through a text reference
```
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
96 changes: 96 additions & 0 deletions editions/dev/tiddlers/new/Filter Operators.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
tags: dev
title: Filter Operators
type: text/vnd.tiddlywiki

! Overview

Filter operators are modules (tiddlers of type `application/javascript`) with their `module-type` field set to `filteroperator`, exporting one or more functions implementing a filter.

Each function will be called with three arguments:

* A [[tiddler iterator|Tiddler Iterators]] representing the results of the previous filter step (or all tiddlers, if this filter appears first in an expression), conventionally named `source`.
* An object, conventionally called `operator`, representing the arguments for this filter step, with the following keys:
** //operator//: the name of the filter operator specified in the WikiText;
** //operand//: the operand for the filter step (as a string; if the filter specified it in angle brackets or braces, the text reference or variable name will have already been resolved);
** //prefix//: (optional) a string containing a single exclamation mark if the filter operator is to be negated;
** //suffix//: (optional) a string containing an additional filter argument (typically a tiddler field name) following the filter name (separated by a colon in the filter syntax);
** //regexp//: (optional, deprecated) used instead of //operand// if the filter operand is a regexp.
* An object, conventionally called `options`, with the following keys:
** //wiki//: The `$tw.Wiki` object;
** //widget//: (optional) a widget node.

The function should return either a new [[tiddler iterator|Tiddler Iterators]], or else an array of tiddler titles (as strings). The underlying filter mechanism will convert back and forth between iterators and arrays as needed.

! References

There are several filter operators built into the core which can serve as a jumping off point for your own filter operators:

https://github.com/Jermolene/TiddlyWiki5/tree/master/core/modules/filters

! Example

Suppose we want to make a filter operator that returns every other tiddler from the input list. A typical invocation might look like `[tags[interesting]everyother[]]`.

We make a new tiddler, set its `type` and `module-type` appropriately, and begin writing the code:

```
(function(){
"use strict";

exports.everyother = function(source, operator, options) {
// TODO
}
})();
```

For the example filter syntax, our function will be called with

* source: an iterator over all the tiddlers tagged as `interesting`
* operator: an object `{operator: "everyother", operand: ""}`
* options: an object with the current Wiki object and a widget object, neither of which we need

As is usually the case, we don't care about `operator.operator` here (since that information has already been used to look up our function); we also don't care about `operator.operand`, since there is no meaningful operand for this operation.

We could implement the operator by iterating over the input tiddlers and explicitly building a result array of titles:

```
(function(){
"use strict";

exports.everyother = function(source, operator, options) {
var result = [];
var include = true;
source(function(tiddler, title) {
if (include) { result.push(title); }
include = !include;
});
return result;
}
})();
```

That is, we supply a callback to `source` that negates `include` each time through (in order to grab every other result) and pushes the `title` of every other tiddler onto the result.

Alternatively, we can return our own iterator, by returning a function that accepts a similar callback and only calls it on every other tiddler:

```
(function(){
"use strict";

exports.everyother = function(source, operator, options) {
return function(callback) {
var include = true;
source(function(tiddler, title) {
if (include) { callback(tiddler, title); }
include = !include;
});
};
}
})();
```

Either way, we could interpret the `!` flag on the filter, if present, to mean that we want the //other// half of the tiddlers, by using it to set the initial value of `include`: `var include = operator.prefix !== "!";`

! Filter Behaviour

As with [[JavaScript Macros]], filter operators should not make modifications to tiddlers, but only return a list of tiddlers or a tiddler iterator.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20141122200310516
modified: 20141122200310516
title: Hook: tc-opening-default-tiddlers-list
title: Hook: th-opening-default-tiddlers-list
type: text/vnd.tiddlywiki

This hook allows plugins to add to or remove from the list of tiddlers that are opened when the wiki is first loaded or the home button is clicked.
Expand Down
22 changes: 22 additions & 0 deletions editions/dev/tiddlers/new/th-saving-tiddler.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
created: 20150908150314994
modified: 20150908150314994
title: Hook: th-saving-tiddler
type: text/vnd.tiddlywiki

This hook allows plugins to modify tiddlers before they are saved via the ''confirm'' toolbar button; the hook is not invoked for tiddlers that are saved through other means, such as state tiddlers created by the ActionSetFieldWidget.

Hook function parameters:

* ''tiddler'': tiddler object about to be saved

Return value:

* tiddler object to be saved

The original tiddler object can be returned unmodified by the hook. If the hook needs to modify the tiddler then it should return a new tiddler object, for example:

```
return new $tw.Tiddler(tiddler,{"my-field": value});
```

Hooks must not change the ''title'' field but can freely modify any other field of the tiddler.
1 change: 1 addition & 0 deletions editions/dev/tiddlywiki.info
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"tiddlywiki/starlight",
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
],
"languages": [
Expand Down
4 changes: 4 additions & 0 deletions editions/full/tiddlywiki.info
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"tiddlywiki/nodewebkitsaver",
"tiddlywiki/railroad",
"tiddlywiki/stacked-view",
"tiddlywiki/text-slicer",
"tiddlywiki/powered-by-tiddlywiki"
],
"languages": [
Expand All @@ -32,16 +33,19 @@
"ia-IA",
"it-IT",
"ja-JP",
"ko-KR",
"nl-NL",
"pa-IN",
"pt-PT",
"ru-RU",
"sk-SK",
"sv-SE",
"zh-Hans",
"zh-Hant"
],
"themes": [
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly",
"tiddlywiki/seamless",
"tiddlywiki/snowwhite",
Expand Down
7 changes: 6 additions & 1 deletion editions/highlightdemo/tiddlywiki.info
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
],
"build": {
"index": [
"--rendertiddler","$:/core/save/all","highlightdemo.html","text/plain"]
"--rendertiddler","$:/core/save/all","highlightdemo.html","text/plain"],
"static": [
"--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain",
"--rendertiddler","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
"--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain",
"--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"]
}
}
4 changes: 2 additions & 2 deletions editions/introduction/tiddlers/slides/Translations.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ title: Translations
$(languagePluginTitle)$/icon
\end

The following plugin translations are currently available:
TiddlyWiki is currently available in <$count filter="[[$:/languages/en-GB]] [plugin-type[language]sort[title]] -[[$:/languages/de-AT]]"/> languages:

<div class="tc-drop-down-language-chooser" style="font-size: 16px; line-height: 20px;">
<div class="tc-drop-down-language-chooser" style="font-size: 10px; line-height: 12px; -moz-columns:2; -webkit-columns:2; columns:2;">
<$list filter="[[$:/languages/en-GB]] [plugin-type[language]sort[title]] -[[$:/languages/de-AT]]">
<div class="tc-language-list">
<span class="tc-language-list-greeting">
Expand Down
24 changes: 17 additions & 7 deletions editions/introduction/tiddlywiki.info
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,33 @@
"tiddlywiki/starlight",
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
],
"languages": [
"ca-ES",
"cs-CZ",
"da-DK",
"el-GR",
"en-US",
"en-GB",
"de-AT",
"de-DE",
"el-GR",
"en-GB",
"en-US",
"es-ES",
"fr-FR",
"zh-Hans",
"zh-Hant",
"hi-IN",
"ia-IA",
"it-IT",
"ja-JP",
"cs-CZ",
"ru-RU"
"ko-KR",
"nl-NL",
"pa-IN",
"pt-PT",
"ru-RU",
"sk-SK",
"sv-SE",
"zh-Hans",
"zh-Hant"
],
"build": {
"index": [
Expand Down
51 changes: 26 additions & 25 deletions editions/katexdemo/tiddlers/HelloThere.tid
Original file line number Diff line number Diff line change
Expand Up @@ -22,59 +22,60 @@ These examples are taken from http://khan.github.io/KaTeX/

!! Example 1

If the text between `$$` contains newlines it will rendered in display mode:

```
$$\displaystyle f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi$$
$$
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
$$
```

$$\displaystyle f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi$$
$$
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
$$

!! Example 2

```
$$\displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }$$
$$
\frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }
$$
```

$$\displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }$$

!! Example 3

Use a wrapper element with the class `katex-display` to render math in display mode, centred on a single line in display style.
$$
\frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }
$$

```
<div class="katex-display">
$$\displaystyle \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
</div>
```

<div class="katex-display">
$$\displaystyle \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
</div>

!! Example 4
!! Example 3

```
$$\displaystyle 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, \quad\quad \text{for }\lvert q\rvert<1.$$
$$
1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, \quad\quad \text{for }\lvert q\rvert<1.
$$
```

$$\displaystyle 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, \quad\quad \text{for }\lvert q\rvert<1.$$
$$
1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, \quad\quad \text{for }\lvert q\rvert<1.
$$

!! Widget Example

For more flexibility the KaTeX widget can also be used via the full widget syntax:

```
<$latex text="\displaystyle f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi"></$latex>
<$latex text="f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi" displayMode="true"></$latex>
```

<$latex text="\displaystyle f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi"></$latex>
<$latex text="f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi" displayMode="true"></$latex>

! Error Handling

An warning message is displayed if KaTeX detects a problem with the ~LaTeX syntax. For example:
Any LaTeX syntax errors are flagged with the problematic syntax highlighted. For example:

```
$$\displaystyle f(x) = \int_{-\infty}^\infinity\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi$$
$$ f(x) = \int_{-\infty}^\infinity\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi $$
```

$$\displaystyle f(x) = \int_{-\infty}^\infinity\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi$$
$$ f(x) = \int_{-\infty}^\infinity\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi $$

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: $:/config/LocalPluginLibrary
tags: $:/tags/PluginLibrary
url: http://127.0.0.1:8080/prerelease/library/v5.1.9/index.html
url: http://127.0.0.1:8080/prerelease/library/v5.1.10/index.html
caption: {{$:/language/OfficialPluginLibrary}} (Prerelease Local)

A locally installed version of the official ~TiddlyWiki plugin library at tiddlywiki.com for testing and debugging. //Requires a local web server to share the library//
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: $:/config/OfficialPluginLibrary
tags: $:/tags/PluginLibrary
url: http://tiddlywiki.com/prerelease/library/v5.1.9/index.html
url: http://tiddlywiki.com/prerelease/library/v5.1.10/index.html
caption: {{$:/language/OfficialPluginLibrary}} (Prerelease)

The prerelease version of the official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ modified: 20150428204930183
<$edit-text tiddler="""$tiddler$""" index="""$colour$""" type="color" tag="input"/>
\end

This is a pre-release build of TiddlyWiki.

It is provided for testing purposes. Please don't try to use it for anything important -- you should use the latest official release from http://tiddlywiki.com.
This is a pre-release build of TiddlyWiki. It is provided for testing purposes. ''Please don't try to use it for anything important'' -- you should use the latest official release from http://tiddlywiki.com.

<$list filter="[tag[ReleaseNotes]!has[released]!sort[created]]">
<h1><$text text=<<currentTiddler>>/></h1>
Expand Down
1 change: 1 addition & 0 deletions editions/prerelease/tiddlywiki.info
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"tiddlywiki/nighttime",
"tiddlywiki/starlight",
"tiddlywiki/seamless",
"tiddlywiki/tight",
"tiddlywiki/centralised",
"tiddlywiki/readonly"
],
Expand Down
16 changes: 16 additions & 0 deletions editions/resumebuilder/tiddlers/Edit Existing Items.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
created: 20150719182943383
modified: 20150719182947178
tags:
title: Edit Existing Items

\define thisMakeTabs()
<<tabs '[prefix[$:/settings/$(ThisResume)$/]show[true]get[template]get[input_tiddler]]' default:[[Contact Information]]>>
\end

Each tab lets you edit the contents of that section. Click on the `Preview and Set Options` button to see a preview of the finished resume and for layout options.

<$vars ThisResume={{$:/settings/Global!!selected_resume}}>
<<thisMakeTabs>>
</$vars>

<!--<$button to="Preview and Set Options">Open Preview and Options</$button>-->
10 changes: 10 additions & 0 deletions editions/resumebuilder/tiddlers/Preview and Set Options.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
tags:
title: Preview and Set Options

<$transclude tiddler='Resume Options' mode=block/>

---

---

<$transclude tiddler='Preview' mode=block/>
10 changes: 10 additions & 0 deletions editions/resumebuilder/tiddlers/Preview.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
created: 20150720171244344
modified: 20150720171304274
tags: $:/tags/SideBar
title: Preview

<div class='tc-tiddly-frame' style='background:white;max-width:700px;border:solid black 1px;color:black'>
<div style='max-width:689px;margin-left:20px'>
<$transclude tiddler='Print Version' mode=block/>
</div>
</div>
16 changes: 16 additions & 0 deletions editions/resumebuilder/tiddlers/Print Version.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
created: 20150720171146515
modified: 20150720171221769
tags:
title: Print Version

\define thisMakePreview()
<$list filter='[tag[Section Display]removeprefix[$:/display/]addprefix[$:/settings/$(ThisResume)$/]sort[order]!show[false]removeprefix[$:/settings/$(ThisResume)$/]addprefix[$:/display/]]'>
<$transclude mode=block/>
</$list>
\end

<div style='max-width:689px;margin-left:20px'>
<$vars ThisResume={{$:/settings/Global!!selected_resume}}>
<<thisMakePreview>>
</$vars>
</div>
6 changes: 6 additions & 0 deletions editions/resumebuilder/tiddlers/Resume Options.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
created: 20150719183128695
modified: 20150720163126223
tags:
title: Résumé Options

<<tabs "[[Layout Options]][tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]!show[false]sort[order]get[template]get[options_tiddler]]" [[Layout Options]]>>
150 changes: 150 additions & 0 deletions editions/resumebuilder/tiddlers/Resume Wizard.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
created: 20150719173441992
modified: 20150720171426440
tags:
title: Résumé Wizard

\define CurrentResume() {{$:/settings/Global!!selected_resume}}

\define thisDisplayInputTiddler()
<$list filter='[[$:/settings/$(ThisResume)$/$(CurrentSection)$]get[template]]'>
<$transclude tiddler={{!!input_tiddler}}/>
</$list>
\end

\define thisResumeWizardTiddlerEmptyMessage()
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]last[]]'>
<$reveal type='match' state='$:/state/ResumeWizardState' text=<<currentTiddler>>>
<$button>
Continue to Options
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value="Resume Options"/>
</$button>
</$reveal>

<$reveal type='match' state='$:/state/ResumeWizardState' text="Resume Options">
<$button>
Go to Preview
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value="Preview"/>
</$button>
</$reveal>
<$reveal type='match' state='$:/state/ResumeWizardState' text="Preview">
<$tiddler tiddler='Preview'>
<$button message="tm-open-window">
Print
</$button>
</$tiddler>
</$reveal>
</$list>
\end

\define thisAddResumeButton()
<$button>
Add Résumé
<$action-setfield $tiddler='$:/data/ResumeList' $index={{$:/temp/NewResumeName!!resume_name}} $value=true/>
<$action-setfield $tiddler='$:/temp/NewResumeName' resume_name=''/>
<$action-setfield $tiddler='$:/settings/$(ResumeName)$/Resume Title Display' order=1 show=true template='$:/template/ResumeTitleTemplate'/>
<$action-setfield $tiddler='$:/settings/$(ResumeName)$/Contact Information Display' order=2 show=true template='$:/template/ContactInformationTemplate'/>
<$action-setfield $tiddler='$:/settings/$(ResumeName)$/Objective Display' order=3 show=true template='$:/template/ObjectiveTemplate'/>
<$action-setfield $tiddler='$:/settings/$(ResumeName)$/Skills and Expertise Display' order=4 show=true template='$:/template/SkillsAndExpertiseTemplate'/>
<$action-setfield $tiddler='$:/settings/$(ResumeName)$/Previous Employment Display' order=5 show=true template='$:/template/PreviousEmploymentTemplate'/>
<$action-setfield $tiddler='$:/settings/$(ResumeName)$/Education Display' order=6 show=true template='$:/template/EducationTemplate'/>
<$action-setfield $tiddler='$:/settings/$(ResumeName)$/ResumeTitle' text=Resume/>
</$button>
\end

<!-- If the user hasn't started the wizard yet display the interface to add or select a résumé and the button to start the wizard -->
<$reveal type='match' state='$:/state/ResumeWizardState' text=''>
<!-- User can select an existing résumé -->
Select résumé to work on:
<$select tiddler='$:/settings/Global' field='selected_resume'>
<$list filter='[[$:/data/ResumeList]indexes[]]'>
<option><$view field='title'/></option>
</$list>
</$select>
<br>
<!-- User can add a new résumé. Creating a new résumé automatically populates some of the settings, namely setting all default résumé sections to visible using the first template and in the default order. -->
You can add a résumé to the list:
<$edit-text tiddler='$:/temp/NewResumeName' field='resume_name' class='tc-edit-texteditor' placeholder='Name of new résumé'/>
<$vars ResumeName={{$:/temp/NewResumeName!!resume_name}}>
<<thisAddResumeButton>>
</$vars>
<br>
<br>

<!-- The layout options. This is so that the user can set up which sections they want to see before starting the résumé wizard. -->
The preview is displayed to the right. The options below let you set which sections are visible and the section order. Only sections that are visible will be included in the wizard. You will be able to change these options later also.

<$transclude tiddler='Layout Options' mode=block/>

<!-- The button that starts the wizard -->
<$button>
Click here to get started
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]first[]]'>
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=<<currentTiddler>>/>
</$list>
</$button>
</$reveal>

<!-- Once the wizard is started display the current input tiddler with forward and back buttons. There is also a 'back to start' button. -->
<$reveal type='nomatch' state='$:/state/ResumeWizardState' text=''>
<!-- Display the current section title. -->
<h1>
<$transclude tiddler={{$:/state/ResumeWizardState}} field='section' mode=block/>
</h1>

<!-- Display the correct input tiddler. -->
<$list filter='[{$:/state/ResumeWizardState}removeprefix[$:/display/]]' variable=CurrentSection>
<$vars ThisResume={{$:/settings/Global!!selected_resume}}>
<<thisDisplayInputTiddler>>
</$vars>
</$list>
<!-- Display the résumé options if that is the current section. -->
<$reveal type='match' state='$:/state/ResumeWizardState' text='Resume Options'>
Here you can change the order of sections (or of items in each section) on your résumé as well as set other options. Click on 'Print' to open the résumé in a new window to save or print it.<br>

<$transclude tiddler='Résumé Options' mode=block/><br>
</$reveal>

<!-- If the user hasn't reached options section yet, make and display the back and next buttons. -->
<$reveal type='nomatch' state='$:/state/ResumeWizardState' text='Resume Options'>
<!-- This makes the back button. If the user is on the first section this doesn't display anything. -->
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]before{$:/state/ResumeWizardState}]' emptyMessage="" variable=PreviousTiddler>
<$button>
Back (<$view tiddler=<<PreviousTiddler>> field='section'/>)
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=<<PreviousTiddler>>/>
</$button>
</$list>
<!-- This Makes the next button. If the user is on the last section this is a button that opens the options section. -->
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]after{$:/state/ResumeWizardState}]' emptyMessage=<<thisResumeWizardTiddlerEmptyMessage>> variable=NextTiddler>
<$button>
Next Section (<$view tiddler=<<NextTiddler>> field='section'/>)
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=<<NextTiddler>>/>
</$button>
</$list>
</$reveal>

<!-- If the user has reached the options section display the print button (and the back button, this is a special case). -->
<$reveal type='match' state='$:/state/ResumeWizardState' text='Resume Options'>
<!-- Magic to make the back button. -->
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]last[]]' emptyMessage="" variable=PreviousTiddler>
<$button>
Back (<$view tiddler=<<PreviousTiddler>> field='section'/>)
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=<<PreviousTiddler>>/>
</$button>
</$list>
<!-- Open résumé in new window for saving/printing. -->
<$tiddler tiddler='Print Version'>
<$button message="tm-open-window">
Print
</$button>
</$tiddler>
<br>
</$reveal>

<hr>
<hr>

<$button>
Back to start
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=''/>
</$button>
</$reveal>
14 changes: 14 additions & 0 deletions editions/resumebuilder/tiddlers/Top Bar Buttons.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
created: 20150719172021101
modified: 20150720172257267
tags: $:/tags/TopLeftBar
title: Top Bar Buttons

<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' to="Résumé Wizard">Résumé Wizard</$button>
<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' to="Edit Existing Items">Edit Existing Items</$button>
<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' to="Résumé Options">Résumé Options</$button>
<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' to="Preview">Preview</$button>
<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' to="Help">Help</$button>
<$tiddler tiddler='Print Version'>
<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' message="tm-open-window">Print</$button>
</$tiddler>
<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' message='tm-save-wiki'>Save</$button>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
address: 111 some st
city: Albuquerque
country: USA
email_address: nothing@nowhere.com
entered_date: October 16th 20XD6
name: Jedediah Carty
phone_number: 5555555555
state: NM
street:
street_address: 111 Some St.
title: $:/data/Personal Information
zip_code: 87110

6 changes: 6 additions & 0 deletions editions/resumebuilder/tiddlers/data/$__data_ResumeList.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: $:/data/ResumeList
type: application/json

{
"Default": "true"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resume_title: Resume
title: $:/data/ResumeTitle/Resume

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
created: 20150720164801633
modified: 20150720164806249
resume_title: Résumé
title: $:/data/ResumeTitle/Résumé

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
section: Contact Information
tags: [[Section Display]]
template: $:/template/ContactInformationTemplate
title: $:/display/Contact Information Display

<$transclude tiddler=GenericSectionDisplayTemplate mode=block/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
section: Education
tags: [[Section Display]]
title: $:/display/Education Display

<$transclude tiddler=GenericSectionDisplayTemplate mode=block/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
section: Objective
tags: [[Section Display]]
template: $:/template/ObjectiveTemplate
title: $:/display/Objective Display

<$transclude tiddler=GenericSectionDisplayTemplate mode=block/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
section: Previous Employment
tags: [[Section Display]]
template: $:/template/PreviousEmploymentTemplate
title: $:/display/Previous Employment Display

\define ThisTiddler() $:/display/Previous Employment Display

<$transclude tiddler=GenericSectionDisplayTemplate mode=block/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
created: 20150720164501834
modified: 20150720164522750
section: Résumé Title
tags: [[Section Display]]
template: $:/template/ResumeTitleTemplate
title: $:/display/Resume Title Display

<$transclude tiddler=GenericSectionDisplayTemplate mode=block/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
section: Skills and Expertise
tags: [[Section Display]]
template: $:/template/SkillsAndExpertiseTemplate
title: $:/display/Skills and Expertise Display

<$transclude tiddler=GenericSectionDisplayTemplate mode=block/>
25 changes: 25 additions & 0 deletions editions/resumebuilder/tiddlers/documentation/Help.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
created: 20150719184941848
modified: 20150720163457716
tags:
title: Help

Clicking on [[Résumé Wizard]] at the top is a good place to start.

To save your work, either click on the {{$:/core/ui/Buttons/save-wiki}} button to the right or the Save button at the top of the screen. The button to the right will turn red when there are unsaved changes.

How it works:

There are buttons along the top that bring you to the different things you can do with the résumé builder. To the right you should see a preview of the completed résumé.

*Résumé Wizard - A wizard that guides you through a sequence of steps to create a résumé.
*Edit Existing Items - An interface to edit already entered information
*Layout Options - Options for changing the order of the sections, which sections are visible, and the templates used for each section.
*Résumé Options - Available options for the résumé output. The `Layout Options` tab has options for which sections are included in the résumé as well as their order and the templates used, the other tabs are for configuring each section individually.
*Preview - Shows a preview of the result, this is also shown on the right side of the screen by default.
*Help - Displays this information.
*Print - Open the résumé by itself in a new window for printing.
*Save - saves your changes

Other documentation:

[[Making a new section]]
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
created: 20150719191225198
modified: 20150720163929573
title: Making a new section

There is a [[New Section Creation Tool]] to help with creating new résumé sections.

Each section needs the following tiddlers:

#A display tiddler
#A template tiddler (possibly more than one)
#An input tiddler (at least one, up to one per template tiddler)
#An options tiddler (optional and recommended, up to one per template tiddler)

You can have multiple template tiddlers that use the same input and options tiddlers.

!!Display tiddler

This is the container used to display the section in the résumé itself, there isn't any customization here.

''Required tags'': `Section Display`<br>
''Required name format'': `$:/display/(section name) Display`<br>
''Additional fields'':

*'section' - the section name, something like 'Résumé Title' or 'Objective'.
''Examples'': [[$:/display/Resume Title Display]] and [[$:/display/Objective Display]].<br>

''Other things'':

In the text field put

```
<$transclude tiddler=GenericSectionDisplayTemplate mode=block/>
```

and nothing else.

This tiddler should have only what is listed above.

!!Template tiddler(s)

These tiddlers determine how the section is displayed on the résumé. This sets the look of the final result.

''Required tags'': `DisplayTemplate`<br>
''Required name format'': `$:/template/(template name)`<br>
''Additional fields'':

*`section_name` - the name of the section that the template is for, this must be the same as the value in the `section` field of the section display template you made.
*`input_tiddler` - the name of the tiddler that has the form to take input for this section.
*`template_name` - an optional field containing a more convenient name for the template than the tiddler title. If it exists this will be displayed for the template selection.
*`options_tiddler` - The name of the options tiddler for this template, if any.

''Examples'': [[$:/template/ResumeTitleTemplate]] or [[$:/template/EducationTemplate]], or any of the other tiddlers that start with `$:/template/` for examples.

The data displayed by the templates will be from tiddlers named in the form `$:/data/(section name)/(section item)`.

!!Input Tiddler

A tiddler that contains the input from for adding entries to the section, and if desired options for the section.

''Required tags'': none<br>
''Required name format'': `$:/input/(template name)`<br>
''Additional fields'':

*`caption` - The contents of this field will be displayed as the section name in the [[Résumé Wizard]].
''Examples'': [[$:/input/Resume Title]], [[$:/input/Education]]

The data taken from the input tiddler should be stored in the fields of a tiddler named in the form `$:/data/(SectionName)/(ItemName)`.

I don't have any real help for this one, what you do will be dependent on what you want in the section. Look at the examples. If you have any questions please feel free to ask on the group (https://groups.google.com/forum/#!forum/tiddlywiki).

!!Options tiddler

A tiddler used to set options for a section.

''Required tags'': `Options`<br>
''Required name format'': `$:/options/(template name)`<br>
''Additional fields'':

*`caption` - a caption field, it should have something like `(section name) Options`. This is what appears on the tabs in the [[Résumé Options]] tiddler.
''Examples'': [[$:/options/Education Options]], [[$:/options/Previous Employment Options]].

You would use this tiddler to change the fonts used and list types and similar things here.
All settings and state information about each section should be stored in a tiddler named in the form `$:/settings/(ResumeName)/(SectionName)`.
For each item within a section all state and configuration information should be kept in a tiddler with a name in the form `$:/settings/(ResumeName)/(SectionName)/(ItemName)`.
The options tiddler must only change fields in these tiddlers.

These tiddlers hold the information about which items/sections are visible in each résumé. See the list of system tiddlers for many examples. You don't need to make those tiddlers, you just need to make your input and settings tiddlers create or modify the correct tiddler name and they will be created. See the examples.

''Important note:''

If you are going to make your own section, in order to allow the items to be in different orders in different résumés you will need to use this wonderful filter
(Thanks to Eric for pointing out that my original version could be shortened):

`[prefix[$:/data/(SectionName)/]removeprefix[$:/data/]addprefix[$:/settings/$(ThisResumeName)$/]!show[false]sort[order]removeprefix[$:/settings/$(ThisResumeName)$/]addprefix[$:/data/]]`

you need to manually replace `(SectionName)` with the name of the section you are adding, and you need to put `<$vars ThisResumeName={{$:/settings/Global!!selected_resume}}>` and `</$vars>` around the macro that contains the list widget with the above filter. Look at the examples and it will hopefully make more sense.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
caption: Contact Information
created: 20150720164912365
modified: 20150720164948543
tags: Section
title: $:/input/Contact Information

This is contact information to be included in your résumé.<br><br>

Name: <$edit-text tiddler='$:/data/Personal Information' field='name' placeholder='Your Name' class='tc-edit-texteditor'/>

Street Address: <$edit-text tiddler='$:/data/Personal Information' field='street_address' placeholder='Street Address' class='tc-edit-texteditor'/>
City: <$edit-text tiddler='$:/data/Personal Information' field='city' placeholder='City' class='tc-edit-texteditor'/>
State/Provence: <$edit-text tiddler='$:/data/Personal Information' field='state' placeholder='State/Provence' class='tc-edit-texteditor'/>
Zip Code: <$edit-text tiddler='$:/data/Personal Information' field='zip_code' placeholder='Zip Code' class='tc-edit-texteditor'/>
Country: <$edit-text tiddler='$:/data/Personal Information' field='country' placeholder='Country' class='tc-edit-texteditor'/>

Phone Number: <$edit-text tiddler='$:/data/Personal Information' field='phone_number' placeholder='Phone Number' class='tc-edit-texteditor'/>
Email Address: <$edit-text tiddler='$:/data/Personal Information' field='email_address' placeholder='Email Address' class='tc-edit-texteditor'/>
72 changes: 72 additions & 0 deletions editions/resumebuilder/tiddlers/input/$__input_Education.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
caption: Education
tags: Section
title: $:/input/Education

\define thisAddEducation()
<$action-setfield $tiddler='$:/temp/Education' $field='title' $value="""$:/data/Education/$(AwardingInstitution)$ - $(Degree)$"""/>
\end

\define thisMakeCheckbox()
<$list filter='[is[current]removeprefix[$:/data/Education/]addprefix[$:/settings/$(ThisResume)$/Education/]]'>
<$checkbox tiddler=<<currentTiddler>> field=show checked='true' unchecked=false default=true/>
</$list>
\end

\define thisSetOrder()
<$list filter='[is[current]removeprefix[$:/data/Education/]addprefix[$:/settings/$(ThisResume)$/Education/]]'>
<$edit-text field=order size=2/>
</$list>
\end

Here you list any relevant education. If you haven't finished but want to list something anyway you can put 'Unfinished' or 'Expected Graduation Date 5/5/5' in the `Graduation Date` field (replace 5/5/5 with the appropriate date). After you add an entry it is listed at the bottom, to delete an existing entry click on the <$button class='tc-btn-invisible'>{{$:/core/images/delete-button}}</$button> icon next to the entry on the list.

Degree/Certificate/Level:
<$edit-text tiddler='$:/temp/Education' field='degree_level' placeholder='BS, BA, MS, PhD, Highschool, etc.' class='tc-edit-texteditor'/>

Major or Concentration (if any):
<$edit-text tiddler='$:/temp/Education' field='major' placeholder='Major or Concentration' class='tc-edit-texteditor'/>

Awarding Institution:
<$edit-text tiddler='$:/temp/Education' field='institution' placeholder='Institution' class='tc-edit-texteditor'/>

Institution Address:
<$edit-text tiddler='$:/temp/Education' field='address' placeholder='Institution Address' class='tc-edit-texteditor'/>

<$checkbox tiddler='$:/temp/Education' field='ongoing' checked='true' unchecked='false'>Check this if you are currently working on this degree/whatever</$checkbox>

<$reveal type='match' state='$:/temp/Education!!ongoing' text='true'>Expected</$reveal> Graduation Date (this doesn't need to be exact, it could just be something like 'Spring 1910', or even just '1910'):
<$edit-text tiddler='$:/temp/Education' field='graduation_date' placeholder='Graduation Date' class='tc-edit-texteditor'/>

<$checkbox tiddler='$:/temp/Education' field='show_gpa' checked='true' unchecked='false'>Show GPA</$checkbox>

GPA (if desired):
<$edit-text tiddler='$:/temp/Education' field='gpa' placeholder='gpa' class='tc-edit-texteditor'/>

<$set name=AwardingInstitution value={{$:/temp/Education!!institution}}>
<$set name=Degree value={{$:/temp/Education!!degree_level}}>
<$button>
Add Education
<<thisAddEducation>>
<$action-setfield $tiddler='$:/temp/Education' degree_level='' major='' institution='' address='' graduation_date='' gpa=''/>
</$button>
</$set>
</$set>

<h2>Current list:</h2>

<$vars ThisResume={{$:/settings/Global!!selected_resume}}>
<table style='width:100%'>
<tr><th></th><th>Visible</th><th>Entry</th><th>Order</th></tr>
<$list filter='[prefix[$:/data/Education/]sort[order]]'>
<tr><td><$button class='tc-btn-invisible' message='tm-delete-tiddler' param=<<currentTiddler>>>{{$:/core/images/delete-button}}</$button></td>
<td>
<<thisMakeCheckbox>>
</td>
<td><$view field='degree_level'/><$reveal type='nomatch' state='!!ongoing' text='true'>, </$reveal><$reveal type='match' state='!!ongoing' text='true'> (Ongoing), </$reveal><$view field='major'/>, <$view field='institution'/>, <$view field='address'/>, <$reveal type='match' state='!!ongoing' text='true'>Expected Graduation Date: </$reveal> <$view field='graduation_date'/><$reveal type='match' state='!!show_gpa' text='true'>, GPA: <$view field='gpa'/></$reveal></td>
<td>
<<thisSetOrder>>
</td>
</tr>
</$list>
</table>
</$vars>
40 changes: 40 additions & 0 deletions editions/resumebuilder/tiddlers/input/$__input_ObjectiveInput1.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
caption: Objective
created: 20150720165104821
modified: 20150720165123543
tags: Section
title: $:/input/ObjectiveInput1

\define thisAddObjectiveButton()
<$button>Add Objective<$action-setfield $tiddler='$:/temp/Objective' title='$:/data/Objective/$(ObjectiveName)$'/><$action-setfield $tiddler='$:/temp/Objective' name='' text=''/></$button>
\end

\define thisSelectObjective()
<$radio tiddler='$:/settings/$(ThisResume)$/Objective' value={{!!name}}/>
\end

Your objective should very briefly describe the sort of job you are looking for and be phrased in a way that flatters the company you are applying to. Something like 'To gain professional experience with a leader in the field of underwater basket weaving.'
<br>
<br>
You can enter multiple possible objectives and then select the one you want to use on the current resume.
You can add a new objective or select one that you have already entered (if you have previously entered any).
<br>
<br>
Name:
<$edit-text tiddler='$:/temp/Objective' field=name class='tc-edit-texteditor' placeholder='Short Name'/>

Objective:
<$edit-text tiddler='$:/temp/Objective' class='tc-edit-texteditor' placeholder='Objective'/>

<$vars ThisResume={{$:/settings/Global!!selected_resume}} ObjectiveName={{$:/temp/Objective!!name}}>
<<thisAddObjectiveButton>>

<br>
Select objective to use:

<table>
<tr><th>Select</th><th>Objective Name</th><th>Objective</th></tr>
<$list filter='[prefix[$:/data/Objective/]]'>
<tr><td><<thisSelectObjective>></td><td><$view field='name'/></td><td><$view field='text'/></td></tr>
</$list>
</table>
</$vars>
31 changes: 31 additions & 0 deletions editions/resumebuilder/tiddlers/input/$__input_ObjectiveInput2.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
caption: Objective
tags: Section
title: $:/input/ObjectiveInput2

\define thisAddObjectiveButton()
<$button>Add Objective<$action-setfield $tiddler='$:/temp/Objective' title='$:/data/Objective/$(ObjectiveName)$'/><$action-setfield $tiddler='$:/temp/Objective' name='' text=''/></$button>
\end

\define thisSelectObjective()
<$radio tiddler='$:/settings/$(ThisResume)$/Objective' value={{!!name}}/>
\end

Name:
<$edit-text tiddler='$:/temp/Objective' field=name class='tc-edit-texteditor' placeholder='Short Name'/>

Objective:
<$edit-text tiddler='$:/temp/Objective' class='tc-edit-texteditor' placeholder='Objective'/>

<$vars ThisResume={{$:/settings/Global!!selected_resume}} ObjectiveName={{$:/temp/Objective!!name}}>
<<thisAddObjectiveButton>>

<br>
Select objective to use:

<table>
<tr><th>Select</th><th>Objective Name</th><th>Objective</th></tr>
<$list filter='[prefix[$:/data/Objective/]]'>
<tr><td><<thisSelectObjective>></td><td><$view field='name'/></td><td><$view field='text'/></td></tr>
</$list>
</table>
</$vars>
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
caption: Previous Employment
created: 20150719182555935
modified: 20150719182603681
tags: Section
title: $:/input/Previous Employment

\define thisAddEmployment()
<$action-setfield $tiddler='$:/temp/Previous Employment' $field='title' $value="""$:/data/Previous Employment/$(Employer)$/$(JobTitle)$"""/>
\end

This is a listing of any previous employment you have had, if any.

Job Title:
<$edit-text tiddler='$:/temp/Previous Employment' field='job_title' class='tc-edit-texteditor' placeholder='Job Title'/>

Employer:
<$edit-text tiddler='$:/temp/Previous Employment' field='employer' class='tc-edit-texteditor' placeholder='Employer'/>

Dates:
<$edit-text tiddler='$:/temp/Previous Employment' field='dates' class='tc-edit-texteditor' placeholder='Dates'/>

<$set name=JobTitle value={{$:/temp/Previous Employment!!job_title}}>
<$set name=Employer value={{$:/temp/Previous Employment!!employer}}>
<$button>
Add Employment
<<thisAddEmployment>>
<$action-setfield $tiddler='$:/temp/Previous Employment' job_title='' employer='' dates=''/>
</$button>
</$set>
</$set>

<h2>Current Listing:</h2>

<table style='width:100%'>
<tr><th></th><th>Visible</th><th>Entry</th><th>Order</th></tr>
<$list filter='[prefix[$:/data/Previous Employment/]sort[order]]'>
<tr><td><$button class='tc-btn-invisible' message='tm-delete-tiddler' param=<<currentTiddler>>>{{$:/core/images/delete-button}}</$button></td><td><$checkbox tiddler=<<currentTiddler>> field=show checked='true' unchecked=false default=true/></td><td><$view field='job_title'/>, <$view field='employer'/>, <$view field='dates'/></td><td><$edit-text field=order size=2/></td></tr>
</$list>
</table>
23 changes: 23 additions & 0 deletions editions/resumebuilder/tiddlers/input/$__input_Resume Title.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
created: 20150720170603658
modified: 20150720170624801
tags: Section
title: $:/input/Resume Title

\define thisResumeTitleInput()
<$button>Add Title<$action-setfield $tiddler='$:/temp/ResumeTitle' title='$:/data/ResumeTitle/$(ThisTitle)$'/><$action-setfield $tiddler='$:/temp/ResumeTitle' resume_title=''/></$button>
<br><br>
Select title to use:<br>
<$radio tiddler='$:/settings/$(ThisResume)$/ResumeTitle' value='use name'>Use your name</$radio><br>
<$list filter='[prefix[$:/data/ResumeTitle/]get[resume_title]]'>
<$radio tiddler='$:/settings/$(ThisResume)$/ResumeTitle' value=<<currentTiddler>>><$view field='title'/></$radio><br>
</$list>
\end

This is the title that will appear at the top of your résumé. Just putting 'Résumé' isn't an uncommon choice. You can add a new title or pick an existing title from the list. If you select 'Use your name' than your name (entered with your contact information) will be used as the title.

Add New Title:
<$edit-text tiddler='$:/temp/ResumeTitle' field='resume_title' placeholder='Résumé Title' class='tc-edit-texteditor'/>

<$vars ThisResume={{$:/settings/Global!!selected_resume}} ThisTitle={{$:/temp/ResumeTitle!!resume_title}}>
<<thisResumeTitleInput>>
</$vars>
22 changes: 22 additions & 0 deletions editions/resumebuilder/tiddlers/input/$__input_Resume Title2.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
caption: Resume Title
created: 20150720170858240
modified: 20150720170900145
tags: Section
title: $:/input/Resume Title2

\define thisResumeTitleInput()
<$button>Add Title<$action-setfield $tiddler='$:/temp/ResumeTitle' title='$:/data/ResumeTitle/$(ThisTitle)$'/><$action-setfield $tiddler='$:/temp/ResumeTitle' resume_title=''/></$button>
<br><br>
Select title to use:<br>
<$radio tiddler='$:/settings/$(ThisResume)$/ResumeTitle' value='use name'>Use your name</$radio><br>
<$list filter='[prefix[$:/data/ResumeTitle/]get[resume_title]]'>
<$radio tiddler='$:/settings/$(ThisResume)$/ResumeTitle' value=<<currentTiddler>>><$view field='title'/></$radio><br>
</$list>
\end

Add New Title:
<$edit-text tiddler='$:/temp/ResumeTitle' field='resume_title' placeholder='Résumé Title' class='tc-edit-texteditor'/>

<$vars ThisResume={{$:/settings/Global!!selected_resume}} ThisTitle={{$:/temp/ResumeTitle!!resume_title}}>
<<thisResumeTitleInput>>
</$vars>
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
caption: Skills and Expertise
created: 20150719182443671
modified: 20150719182521401
tags: Section
title: $:/input/Skills and Expertise

\define thisAddSkill()
<$action-setfield $tiddler='$:/temp/Skills and Expertise' $field='title' $value="""$:/data/Skills and Expertise/$(ThisSkill)$"""/>
\end

Each of these should be short and descriptive. Just things like 'Advanced Underwater Basket Weaving' or 'Network Information Theory'.

New Skill:
<$edit-text tiddler='$:/temp/Skills and Expertise' field='skill' class='tc-edit-texteditor' placeholder='Skill/Expertise'/>

<$set name=ThisSkill value={{$:/temp/Skills and Expertise!!skill}}>
<$button>
Add Skill
<<thisAddSkill>>
<$action-setfield $tiddler='$:/temp/Skills and Expertise' $field='skill' $value=''/>
</$button>
</$set>

<h2>Current Listing:</h2>

<table style='width:100%'>
<tr><th></th><th>Visible</th><th>Entry</th><th>Order</th></tr>
<$list filter='[prefix[$:/data/Skills and Expertise/]sort[order]]'>
<tr><td><$button class='tc-btn-invisible' message='tm-delete-tiddler' param=<<currentTiddler>>>{{$:/core/images/delete-button}}</$button></td><td><$checkbox tiddler=<<currentTiddler>> field=show checked='true' unchecked=false default=true/></td><td><$view field='skill'/></td><td><$edit-text field=order size=2/></td></tr>
</$list>
</table>
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
caption: Contact Information Options
tags: Options
title: $:/options/Contact Information Options

<table>
<tr>
<td>
<$checkbox tiddler='$:/settings/Resume Configuration' field='show_name' checked=true unchecked=false>Show Name</$checkbox>
</td>
<td>
</td>
</tr>
<tr>
<td>
<$checkbox tiddler='$:/settings/Resume Configuration' field='show_address' checked=true unchecked=false>Show Address</$checkbox>
</td>
<td>
</td>
</tr>
<tr>
<td>
<$checkbox tiddler='$:/settings/Resume Configuration' field='show_phone_number' checked=true unchecked=false>Show Phone Number</$checkbox>
</td>
<td>
</td>
</tr>
<tr>
<td>
<$checkbox tiddler='$:/settings/Resume Configuration' field='show_email_address' checked=true unchecked=false>Show Email Address</$checkbox>
</td>
<td>
</td>
</tr>
<tr>
<td>
<$checkbox tiddler='$:/settings/Resume Configuration' field='show_date' checked=true unchecked=false>Show Date</$checkbox>
</td>
<tr><td><$radio tiddler='$:/settings/Resume Configuration' field='show_current_date' value=true>Use Current Date</$radio>: <<now "DDD DDth MMM YYYY">></td></tr>
<tr><td><$radio tiddler='$:/settings/Resume Configuration' field='show_current_date' value=false>Enter Date</$radio>: <$edit-text tiddler='$:/data/Personal Information' field='entered_date'/></td></tr>
</tr>
</table>

<$transclude tiddler=ResumeHeaderTemplate mode=block/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
caption: Education Options
tags: Options
title: $:/options/Education Options

\define thisListEducation()
<$list filter='[is[current]removeprefix[$:/data/Education/]addprefix[$:/settings/$(ThisResumeName)$/Education/]]'>
<$edit-text field=order size=2/>
</$list>
\end

<$vars ThisResumeName={{$:/settings/Global!!selected_resume}}>
<table style='width:100%'>
<tr><th>Visible</th><th>Entry</th><th>Order</th></tr>
<$list filter='[prefix[$:/data/Education/]sort[order]]'>
<tr><td><$checkbox tiddler=<<currentTiddler>> field=show checked='true' unchecked=false default=true/></td><td><$view field='degree_level'/><$reveal type='nomatch' state='!!ongoing' text='true'>, </$reveal><$reveal type='match' state='!!ongoing' text='true'> (Ongoing), </$reveal><$view field='major'/>, <$view field='institution'/>, <$view field='address'/>, <$reveal type='match' state='!!ongoing' text='true'>Expected Graduation Date: </$reveal> <$view field='graduation_date'/><$reveal type='match' state='!!show_gpa' text='true'>, GPA: <$view field='gpa'/></$reveal></td>
<td>
<<thisListEducation>>
</td>
</tr>
</$list>
</table>
</$vars>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
caption: Objective Options
tags: Options
title: $:/options/Objective Options

\define thisSelectObjective()
<$radio tiddler='$:/settings/$(ThisResume)$/Objective' value={{!!name}}/>
\end
Select objective to use:

<$vars ThisResume={{$:/settings/Global!!selected_resume}}>
<table>
<tr><th>Select</th><th>Objective Name</th><th>Objective</th></tr>
<$list filter='[prefix[$:/data/Objective/]]'>
<tr><td><<thisSelectObjective>></td><td><$view field='name'/></td><td><$view field='text'/></td></tr>
</$list>
</table>
</$vars>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
caption: Previous Employment Options
tags: Options
title: $:/options/Previous Employment Options

\define thisListPreviousEmployment()
<$list filter='[is[current]removeprefix[$:/data/Previous Employment/]addprefix[$:/settings/$(ThisResumeName)$/Previous Employment/]]'>
<$edit-text field=order size=2/>
</$list>
\end

<$vars ThisResumeName={{$:/settings/Global!!selected_resume}}>
<table style='width:100%'>
<tr><th>Visible</th><th>Entry</th><th>Order</th></tr>
<$list filter='[prefix[$:/data/Previous Employment/]sort[order]]'>
<tr><td><$checkbox tiddler=<<currentTiddler>> field=show checked='true' unchecked=false default=true/></td><td><$view field='job_title'/>, <$view field='employer'/>, <$view field='dates'/></td>
<td>
<<thisListPreviousEmployment>>
</td>
</tr>
</$list>
</table>
</$vars>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
caption: Skills Options
tags: Options
title: $:/options/Skills Options

\define thisListSkills()
<$list filter='[is[current]removeprefix[$:/data/Skills and Expertise/]addprefix[$:/settings/$(ThisResumeName)$/Skills and Expertise/]]'>
<$edit-text field=order size=2/>
</$list>
\end

<$vars ThisResumeName={{$:/settings/Global!!selected_resume}}>
<table style='width:100%'>
<tr><th>Visible</th><th>Entry</th><th>Order</th></tr>
<$list filter='[prefix[$:/data/Skills and Expertise/]sort[order]]'>
<tr><td><$checkbox tiddler=<<currentTiddler>> field=show checked='true' unchecked=false default=true/></td><td><$view field='skill'/></td>
<td>
<<thisListSkills>>
</td></tr>
</$list>
</table>
</$vars>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
caption: Title Options
tags: Options
title: $:/options/Title Options

\define thisResumeTitleInput()
Select title to use:<br>
<$radio tiddler='$:/settings/$(ThisResume)$/ResumeTitle' value='use name'>Use your name</$radio><br>
<$list filter='[prefix[$:/data/ResumeTitle/]get[resume_title]]'>
<$radio tiddler='$:/settings/$(ThisResume)$/ResumeTitle' value=<<currentTiddler>>><$view field='title'/></$radio><br>
</$list>
\end


<$vars ThisResume={{$:/settings/Global!!selected_resume}} ThisTitle={{$:/temp/ResumeTitle!!resume_title}}>
<<thisResumeTitleInput>>
</$vars>
61 changes: 61 additions & 0 deletions editions/resumebuilder/tiddlers/options/Layout Options.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
created: 20150719190741300
modified: 20150719191131503
tags: Options
title: Layout Options

\define thisMakeCheckbox()
<$reveal type='nomatch' state='$:/settings/$(ThisResumeName)$/$(currentTiddler)$!!show' text=true>
<$button class='tc-btn-invisible'>
<$action-setfield $tiddler='$:/settings/$(ThisResumeName)$/$(currentTiddler)$' $field=show $value=true/>
<input type="checkbox">
</$button>
</$reveal>
<$reveal type='match' state='$:/settings/$(ThisResumeName)$/$(currentTiddler)$!!show' text=true>
<$button class='tc-btn-invisible'>
<$action-setfield $tiddler='$:/settings/$(ThisResumeName)$/$(currentTiddler)$' $field=show $value=false/>
<input type="checkbox" checked="true">
</$button>
</$reveal>
\end

\define thisSelectTemplate()
<$select tiddler="""$:/settings/$(ThisResumeName)$/$(currentTiddler)$""" field=template>
<option value=''>--</option>
<$list filter='[tag[DisplayTemplate]section_name{$:/display/$(currentTiddler)$!!section}]'>
<option value={{!!title}}><$view field='template_name'><$view field='title'/></$view></option>
</$list>
</$select>
\end

\define thisSetOrder()
<$edit-text tiddler='$:/settings/$(ThisResumeName)$/$(currentTiddler)$' field='order' size=2/>
\end

<$set name=ThisResumeName value={{$:/settings/Global!!selected_resume}}>
<table>
<tr>
<th>Show section?</th>
<th>Section Name</th>
<th>Template</th>
<th>Display Order</th>
</tr>
<$list filter='[tag[Section Display]sort[order]removeprefix[$:/display/]]'>
<tr>
<td>
<<thisMakeCheckbox>>
</td>
<td>
<$list filter='[<currentTiddler>addprefix[$:/display/]]'>
<$view field='section'/>
</$list>
</td>
<td>
<<thisSelectTemplate>>
</td>
<td>
<<thisSetOrder>>
</td>
</tr>
</$list>
</table>
</$set>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
order: 2
show: true
template: $:/template/ContactInformationTemplate
title: $:/settings/Default/Contact Information Display

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
order: 6
show: true
template: $:/template/EducationTemplate
title: $:/settings/Default/Education Display

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
order: 3
show: true
template: $:/template/ObjectiveTemplate2
title: $:/settings/Default/Objective Display

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/settings/Default/Objective

Basic
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
order: 5
show: true
template: $:/template/PreviousEmploymentTemplate
title: $:/settings/Default/Previous Employment Display

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
order: 1
show: true
template: $:/template/ResumeTitleTemplate2
title: $:/settings/Default/Resume Title Display

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/settings/Default/ResumeTitle

Resume
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
order: 4
show: true
template: $:/template/SkillsAndExpertiseTemplate
title: $:/settings/Default/Skills and Expertise Display

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
selected_resume: Default
tags:
title: $:/settings/Global

9 changes: 9 additions & 0 deletions editions/resumebuilder/tiddlers/system/$__DefaultTiddlers.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
created: 20150620003518997
modified: 20150720162957690
title: $:/DefaultTiddlers

[[Help]]
[[Résumé Wizard]]
[[Edit Existing Items]]
[[Layout Options]]
[[Résumé Options]]
5 changes: 5 additions & 0 deletions editions/resumebuilder/tiddlers/system/$__SiteSubtitle.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
created: 20150619215753488
modified: 20150720163304383
title: $:/SiteSubtitle

a résumé building tool using ~TiddlyWiki
5 changes: 5 additions & 0 deletions editions/resumebuilder/tiddlers/system/$__SiteTitle.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
created: 20150619215748447
modified: 20150720163301922
title: $:/SiteTitle

Résumé Builder
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
created: 20150719185223155
modified: 20150719185226532
title: $:/config/DefaultSidebarTab

Preview
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
modified: 20150719172915740
title: $:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home

show
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
modified: 20150719172917795
title: $:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-tiddler

hide
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
caption: {{$:/language/SideBar/More/Caption}}
created: 20150719185507821
modified: 20150719185507821
title: $:/core/ui/SideBar/More

<div class="tc-more-sidebar">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/MoreSideBar]!has[draft.of]]" "$:/core/ui/MoreSideBar/Tags" "$:/state/tab/moresidebar" "tc-vertical">>
</div>
13 changes: 13 additions & 0 deletions editions/resumebuilder/tiddlers/system/$__core_ui_SideBar_Open.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
caption: {{$:/language/SideBar/Open/Caption}}
created: 20150719185529309
modified: 20150719185529309
title: $:/core/ui/SideBar/Open

\define lingo-base() $:/language/CloseAll/
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop">

<$button message="tm-close-tiddler" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class="tc-btn-invisible tc-btn-mini">&times;</$button> <$link to={{!!title}}><$view field="title"/></$link>

</$list>

<$button message="tm-close-all-tiddlers" class="tc-btn-invisible tc-btn-mini"><<lingo Button>></$button>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
caption: {{$:/language/SideBar/Recent/Caption}}
created: 20150719185549965
modified: 20150719185549965
title: $:/core/ui/SideBar/Recent

<$macrocall $name="timeline" format={{$:/language/RecentChanges/DateFormat}}/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
caption: {{$:/language/SideBar/Tools/Caption}}
created: 20150719185611214
modified: 20150719185622149
title: $:/core/ui/SideBar/Tools

\define lingo-base() $:/language/ControlPanel/
\define config-title()
$:/config/PageControlButtons/Visibility/$(listItem)$
\end

<<lingo Basics/Version/Prompt>> <<version>>

<$set name="tv-config-toolbar-icons" value="yes">

<$set name="tv-config-toolbar-text" value="yes">

<$set name="tv-config-toolbar-class" value="">

<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">

<div style="position:relative;">

<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"/> <$transclude tiddler=<<listItem>>/> <i class="tc-muted"><$transclude tiddler=<<listItem>> field="description"/></i>

</div>

</$list>

</$set>

</$set>

</$set>
3 changes: 3 additions & 0 deletions editions/resumebuilder/tiddlers/system/$__view.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/view

zoomin
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
created: 20150720164306989
modified: 20150720164306989
title: $:/temp/NewSection/InputTiddler

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
created: 20150720164308156
modified: 20150720164308156
title: $:/temp/NewSection/OptionsTiddler

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
created: 20150720164309668
modified: 20150720164309668
title: $:/temp/NewSection/TemplateTiddler

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
created: 20150720165013749
modified: 20150720165013749
title: $:/temp/Objective

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
input_tiddler: $:/input/Contact Information
options_tiddler: $:/options/Contact Information Options
section_name: Contact Information
tags: DisplayTemplate
template_name: Contact Information Template 1
title: $:/template/ContactInformationTemplate

<div style='text-align:center'>

<h3>
<$reveal type='nomatch' state='$:/settings/Resume Configuration!!show_name' text='false'><$reveal type='nomatch' state='$:/data/ResumeTitle!!use_name' text='true'>{{$:/data/Personal Information!!name}}<br></$reveal></$reveal>
<$reveal type='nomatch' state='$:/settings/Resume Configuration!!show_address' text='false'>{{$:/data/Personal Information!!street_address}}<br>
{{$:/data/Personal Information!!city}}, {{$:/data/Personal Information!!state}} {{$:/data/Personal Information!!zip_code}}, {{$:/data/Personal Information!!country}}<br></$reveal>
<$reveal type='nomatch' state='$:/settings/Resume Configuration!!show_phone_number' text='false'>+{{$:/data/Personal Information!!phone_number}}<br></$reveal>
<$reveal type='nomatch' state='$:/settings/Resume Configuration!!show_email_address' text='false'>{{$:/data/Personal Information!!email_address}}<br></$reveal>
<$reveal type='nomatch' state='$:/settings/Resume Configuration!!show_date' text='false'>
<$reveal type='nomatch' state='$:/settings/Resume Configuration!!show_current_date' text='false'>
<<now "DDD DDth MMM YYYY">>
</$reveal>
<$reveal type='match' state='$:/settings/Resume Configuration!!show_current_date' text='false'>
{{$:/data/Personal Information!!entered_date}}
</$reveal>
<br>
</$reveal>
</h3>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
input_tiddler: $:/input/Education
options_tiddler: $:/options/Education Options
section_name: Education
tags: DisplayTemplate
template_name: Education Template 1
title: $:/template/EducationTemplate

\define thisEducationList()
<$list filter='[prefix[$:/data/Education/]removeprefix[$:/data/]addprefix[$:/settings/$(ThisResumeName)$/]!show[false]sort[order]removeprefix[$:/settings/$(ThisResumeName)$/]addprefix[$:/data/]]'>
<li><$view field='degree_level'/><$reveal type='nomatch' state='!!ongoing' text='true'>, </$reveal><$reveal type='match' state='!!ongoing' text='true'> (Ongoing), </$reveal><$view field='major'/>, <$view field='institution'/>, <$view field='address'/>, <$reveal type='match' state='!!ongoing' text='true'>Expected Graduation Date: </$reveal> <$view field='graduation_date'/><$reveal type='match' state='!!show_gpa' text='true'>, GPA: <$view field='gpa'/></$reveal></li>
</$list>
\end

!!''Education''

<ul>
<<thisEducationList>>
</ul>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
input_tiddler: $:/input/ObjectiveInput1
options_tiddler: $:/options/Objective Options
section_name: Objective
tags: DisplayTemplate
template_name: Objective Template 1
title: $:/template/ObjectiveTemplate

\define thisShowObjective()
<$list filter='[[$:/settings/$(ThisResume)$/Objective]get[text]addprefix[$:/data/Objective/]]'>
<$view field='text'/>
</$list>
\end

''Objective:'' <$vars ThisResume={{$:/settings/Global!!selected_resume}}><<thisShowObjective>></$vars>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
input_tiddler: $:/input/ObjectiveInput2
options_tiddler: $:/options/Objective Options
section_name: Objective
tags: DisplayTemplate
template_name: Objective Template 2
title: $:/template/ObjectiveTemplate2

\define thisShowObjective()
<$list filter='[[$:/settings/$(ThisResume)$/Objective]get[text]addprefix[$:/data/Objective/]]'>
<$view field='text'/>
</$list>
\end

__''Objective:''__<br><$vars ThisResume={{$:/settings/Global!!selected_resume}}><<thisShowObjective>></$vars>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
input_tiddler: $:/input/Previous Employment
options_tiddler: $:/options/Previous Employment Options
section_name: Previous Employment
tags: DisplayTemplate
template_name: Previous Employment Template 1
title: $:/template/PreviousEmploymentTemplate

\define thisPreviousEmploymentList()
<$list filter='[prefix[$:/data/Previous Employment/]removeprefix[$:/data/]addprefix[$:/settings/$(ThisResumeName)$/]!show[false]sort[order]removeprefix[$:/settings/$(ThisResumeName)$/]addprefix[$:/data/]]'>
<li><$view field='job_title'/>, <$view field='employer'/>, <$view field='dates'/></li>
</$list>
\end

!!''Previous Employment''

<ul>
<<thisPreviousEmploymentList>>
</ul>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
created: 20150720170700740
input_tiddler: $:/input/Resume Title
modified: 20150720170702537
options_tiddler: $:/options/Title Options
section_name: Résumé Title
tags: DisplayTemplate
template_name: Title Template 1
title: $:/template/ResumeTitleTemplate

\define thisShowTitle()
<h1><$reveal type='nomatch' state='$:/settings/$(ThisResume)$/ResumeTitle' text='use name'>''{{$:/settings/$(ThisResume)$/ResumeTitle}}''</$reveal><$reveal type='match' state='$:/settings/$(ThisResume)$/ResumeTitle' text='use name'>''{{$:/data/Personal Information!!name}}''</$reveal></h1>
\end

<div style='text-align:center'>

<$vars ThisResume={{$:/settings/Global!!selected_resume}}>
<<thisShowTitle>>
</$vars>

</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
created: 20150720170711876
input_tiddler: $:/input/Resume Title2
modified: 20150720170713665
options_tiddler: $:/options/Title Options
section_name: Résumé Title
tags: DisplayTemplate
template_name: Title Template 2
title: $:/template/ResumeTitleTemplate2

\define thisShowTitle()
<h1>__<$reveal type='nomatch' state='$:/settings/$(ThisResume)$/ResumeTitle' text='use name'>''{{$:/settings/$(ThisResume)$/ResumeTitle}}''</$reveal><$reveal type='match' state='$:/settings/$(ThisResume)$/ResumeTitle' text='use name'>''{{$:/data/Personal Information!!name}}''</$reveal>__</h1>
\end

<div style='text-align:center'>

<$vars ThisResume={{$:/settings/Global!!selected_resume}}>
<<thisShowTitle>>
</$vars>

</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
input_tiddler: $:/input/Skills and Expertise
options_tiddler: $:/options/Skills Options
section_name: Skills and Expertise
tags: DisplayTemplate
template_name: Skills and Expertise Template 1
title: $:/template/SkillsAndExpertiseTemplate

\define thisSkillsAndExpertiseList()
<$list filter='[prefix[$:/data/Skills and Expertise/]removeprefix[$:/data/]addprefix[$:/settings/$(ThisResumeName)$/]!show[false]sort[order]removeprefix[$:/settings/$(ThisResumeName)$/]addprefix[$:/data/]]'>
<li><$view field='skill'/></li>
</$list>
\end

!!''Skills and Expertise''

<ul>
<<thisSkillsAndExpertiseList>>
</ul>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
tags:
title: GenericSectionDisplayTemplate

\define thisDisplayThing()
<$list filter='[is[current]removeprefix[$:/display/]addprefix[$:/settings/$(ThisResumeName)$/]!show[false]get[template]]'>
<$transclude mode=block/>
</$list>
\end

<!--
\define thisDisplayThing()
<$list filter='[[$:/settings/$(ThisResumeName)$/$(currentTiddler)$]!show[false]get[template]]'>
<$transclude mode=block/>
</$list>
\end
-->

<$set name=ThisResumeName value={{$:/settings/Global!!selected_resume}}>
<<thisDisplayThing>>
</$set>
197 changes: 197 additions & 0 deletions editions/resumebuilder/tiddlers/tools/New Section Creation Tool.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
created: 20150719200725211
modified: 20150720164139669
tags: Tools
title: New Section Creation Tool

\define thisMakeDisplayTiddler()
<$action-setfield $tiddler="""$:/display/$(ThisSection)$""" text="""<$transclude tiddler=GenericSectionDisplayTemplate mode=block/>""" tags="""[[Section Display]]""" section="""$(ThisSection)$"""/>
\end

\define thisInputTiddlerText()
$(TiddlerPreamble)$$(TiddlerPreamble2)$$(TiddlerPreamble3)$

$(ThisAddItemButtonMacro)$

$(UserInputTiddlerText)$
\end

\define thisMakeInputTiddler()
<$action-setfield $tiddler="""$:/input/$(ThisSection)$/$(TemplateName)$""" text=<<thisInputTiddlerText>> tags=Section caption="""$(ThisSection)$"""/>
\end

\define thisOptionsTiddlerText()
$(TiddlerPreamble)$$(TiddlerPreamble2)$$(TiddlerPreamble3)$

$(UserOptionsTiddlerText)$
\end

\define thisMakeOptionsTiddler()
<$action-setfield $tiddler="""$:/options/$(ThisSection)$/$(TemplateName)$""" text=<<thisOptionsTiddlerText>> caption="""$(ThisSection)$ Options"""/>
\end

\define thisTemplateTiddlerText()
$(TiddlerPreamble)$$(TiddlerPreamble2)$$(TiddlerPreamble3)$

$(UserTemplateTiddlerText)$
\end

\define thisMakeTemplateTiddler()
<$action-setfield $tiddler="""$:/template/$(ThisSection)$/$(TemplateName)$""" text=<<thisTemplateTiddlerText>> input_tiddler="""$:/input/$(ThisSection)$/$(TemplateName)$""" options_tiddler="""$:/options/$(ThisSection)$/$(TemplateName)$""" section_name="""$(ThisSection)$""" template_name="""$(TemplateName)$""" tags=DisplayTemplate/>
\end

''Once you have created your new section you have to go to [[Résumé Options]] and select a template and set the section as visible before it will appear in the résumé.''

This is a tool to aid in the creation of custom résumé sections. Fill out each section and then click on the 'Create Section' button below. Click on the ^^(?)^^ next to each tiddler name to get more information and a basic example. If you copy all of the examples given they will work together.

Automatically defined helper macros and values (with the exception of `<<thisAddResumeSectionItem>>` these macros are defined for all of the tiddlers created using this tool.):

*`<<thisAddResumeSectionItem>>` - This macro places a button that will automatically create the data tiddler using the supplied inputs. It is only available in the input tiddler.
*`<<ItemListFilter>>` - This is the list of the names for all items in the current section.
*`<<SortedItemFilterList>>` - This is the sorted list data tiddlers for the visible items in the current section.
*`<<DataTiddler>>` - The data tiddler for the current item, use this for storing data in the input tiddler and for getting data to display for the template tiddler. This macro only works inside a list using the `<<ItemListFilter>>`
*`<<ItemSettingsTiddler>>` - This is where settings should be stored in the options tiddler. This should hold the visibility and order sections for each item. This macro only works inside a list using the `<<ItemListFilter>>`
*`<<SectionName>>` - This is the name of the current section.
*`<<SectionSettingsTiddler>>` - This is the name of the tiddler containing the settings for the current section. It holds the visibility and order settings, but they are automatically created by the [[Layout Options]] tiddler. You shouldn't need to use this unless you are doing something special.

Section Name^^(<$button class='tc-btn-invisible' popup='$:/state/popup/SectionNameHelp'>?</$button><$reveal type='popup' state='$:/state/popup/SectionNameHelp'><div class='tc-drop-down'>This should be a short descriptive section name, like 'Résumé Title' or 'Lands Conquered'</div></$reveal>)^^:
<$edit-text tiddler='$:/temp/NewSection' field='section_name' class='tc-edit-texteditor' placeholder='Section Name'/>

Input Tiddler^^(<$reveal type='nomatch' state='$:/state/popup/InputTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/InputTiddlerHelp' setTo='show'>?</$button></$reveal><$reveal type='match' state='$:/state/popup/InputTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/InputTiddlerHelp' setTo='hide'>?</$button></$reveal>)^^:

<$reveal type='match' state='$:/state/popup/InputTiddlerHelp' text=show>
<div style="word-wrap: true;">
<hr>
This is the tiddler used to take input. This should have a way to input data for each field you want for your section items (like start date, end date, employer, ...) This must have a field called 'name' to work with the creation tool.

A very simple example is:<br>

<pre>

```
Item Name: <$edit-text tiddler='$:/temp/$(ThisSection)$/NewItem' field=name class='tc-edit-texteditor' placeholder='Item Name'/>

<<thisAddResumeSectionItem>>

<$list filter=<<ItemListFilter>>/>
```
</pre>

</div>
</$reveal>

<$edit-text tiddler='$:/temp/NewSection/InputTiddler' class='tc-edit-texteditor' placeholder='Input Tiddler Text'/>

Options Tiddler^^(<$reveal type='nomatch' state='$:/state/popup/OptionsTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/OptionsTiddlerHelp' setTo='show'>?</$button></$reveal><$reveal type='match' state='$:/state/popup/OptionsTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/OptionsTiddlerHelp' setTo='hide'>?</$button></$reveal>)^^:

<$reveal type='match' state='$:/state/popup/OptionsTiddlerHelp' text=show>
<div style="word-wrap: true;">
<hr>
This is the tiddler listing the options, it should have at least two options:
<br>
''Visibility'' - a field called `show` given a value of true or false. Checkboxes work well for this. Example: `<$checkbox tiddler=<<ItemSettingsTiddler>> field=show checked=true unchecked=false/>`.<br>
''Order'' - a field called `order` that contains a numeric value used to sort the items in the section. Example: `<$edit-text tiddler=<<ItemSettingsTiddler>> field=order size=2/>`.<br>


A very simple example is:<br>

<pre>

```
<table>
<tr>
<th>
Visible?
</th>
<th>
Item Name
</th>
<th>
Order
</th>
</tr>
<$list filter=<<ItemListFilter>>>
<tr>
<td>
<$checkbox tiddler=<<ItemSettingsTiddler>> field=show checked=true unchecked=false/>
</td>
<td>
<$view tiddler=<<DataTiddler>> field='name'/>
</td>
<td>
<$edit-text tiddler=<<ItemSettingsTiddler>> field=order size=2/>
</td>
</tr>
</$list>
</table>
```
</pre>
<hr>
</div>
</$reveal>

<$edit-text tiddler='$:/temp/NewSection/OptionsTiddler' class='tc-edit-texteditor' placeholder='Options Tiddler Text'/>

Template Tiddler^^(<$reveal type='nomatch' state='$:/state/popup/TemplateTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/TemplateTiddlerHelp' setTo='show'>?</$button></$reveal><$reveal type='match' state='$:/state/popup/TemplateTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/TemplateTiddlerHelp' setTo='hide'>?</$button></$reveal>)^^:

<$reveal type='match' state='$:/state/popup/TemplateTiddlerHelp' text=show>
<div style="word-wrap: true;">
<hr>

A template tiddler is used to display the section in the final résumé. Each template must have a unique name. It should be descriptive (like Basic Objective Template).

A very example template tiddler is:

<pre>

```
<h2><$view field='section_name'/></h2>

<$list filter=<<SortedItemListFilter>>>
*<$view field='name'/><br>
</$list>
```
</pre>
<hr>
</div>
</$reveal>

Template Name:
<$edit-text tiddler='$:/temp/NewSection/TemplateTiddler' field=template_name class='tc-edit-texteditor' placeholder='Template Name'/>

Template:
<$edit-text tiddler='$:/temp/NewSection/TemplateTiddler' class='tc-edit-texteditor' placeholder='Template Tiddler Text'/>

<$vars TiddlerPreamble="""\define SectionsSettingsTiddler() $:/settings/$(ThisResume)$/$(ThisSection)$

\define ItemListFilter() [prefix[$:/data/$(ThisSection)$/]removeprefix[$:/data/$(ThisSection)$/]]

\define SortedItemListFilter() [prefix[$:/data/$(ThisSection)$/]removeprefix[$:/data]addprefix[$:/settings/$(ThisResume)$]sort[order]!show[false]removeprefix[$:/settings/$(ThisResume)$]addprefix[$:/data]]

\define SectionName() $(ThisSection)$

\define ItemSettingsTiddler() $:/settings/$(ThisResume)$/$(ThisSection)$/$(current"""

TiddlerPreamble2="""Tiddler)$

\define DataTiddler() $:/data/$(ThisSection)$/$(current"""

TiddlerPreamble3="""Tiddler)$

""" ThisAddItemButtonMacro='\define thisAddResumeSectionItemInside(ItemName)
<$action-setfield $tiddler="""$:/temp/$(ThisSection)$/NewItem""" title="""$:/data/$(ThisSection)$/$ItemName$"""/>
\end

\define thisAddResumeSectionItem()
<$button>Add Item
<$macrocall $name=thisAddResumeSectionItemInside ItemName={{$:/temp/$(ThisSection)$/NewItem!!name}}>
</$button>
\end

' ThisSection={{$:/temp/NewSection!!section_name}} ThisResume={{$:/settings/Global!!selected_resume}} UserInputTiddlerText={{$:/temp/NewSection/InputTiddler}} UserOptionsTiddlerText={{$:/temp/NewSection/OptionsTiddler}} UserTemplateTiddlerText={{$:/temp/NewSection/TemplateTiddler}} TemplateName={{$:/temp/NewSection/TemplateTiddler!!template_name}}>
<$button>Create Section
<$macrocall $name=thisMakeDisplayTiddler/>
<$macrocall $name=thisMakeInputTiddler/>
<$macrocall $name=thisMakeOptionsTiddler/>
<$macrocall $name=thisMakeTemplateTiddler/>
</$button>
</$vars>
23 changes: 23 additions & 0 deletions editions/resumebuilder/tiddlywiki.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"description": "Resume builder edition",
"plugins": [
],
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite",
"tiddlywiki/starlight",
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/readonly"
],
"languages": [
],
"includeWikis": [
],
"build": {
"index": [
"--rendertiddler","$:/core/save/all","index.html","text/plain"],
"favicon": [
"--savetiddler","$:/favicon.ico","favicon.ico"]
}
}
4 changes: 4 additions & 0 deletions editions/test/tiddlers/tests/test-filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ describe("Filter tests", function() {
title: "TiddlerOne",
text: "The quick brown fox in $:/TiddlerTwo",
tags: ["one"],
authors: "Joe Bloggs",
modifier: "JoeBloggs",
modified: "201304152222"});
wiki.addTiddler({
title: "$:/TiddlerTwo",
text: "The rain in Spain\nfalls mainly on the plain and [[a fourth tiddler]]",
tags: ["two"],
authors: "[[John Doe]]",
modifier: "JohnDoe",
modified: "201304152211"});
wiki.addTiddler({
Expand Down Expand Up @@ -217,6 +219,8 @@ describe("Filter tests", function() {

it("should handle the each operator", function() {
expect(wiki.filterTiddlers("[each[modifier]sort[title]]").join(",")).toBe("$:/TiddlerTwo,TiddlerOne");
expect(wiki.filterTiddlers("[each:list-item[tags]sort[title]]").join(",")).toBe("one,two");
expect(wiki.filterTiddlers("[each:list-item[authors]sort[title]]").join(",")).toBe("Bloggs,Joe,John Doe");
});

it("should handle the eachday operator", function() {
Expand Down
2 changes: 1 addition & 1 deletion editions/test/tiddlers/tests/test-wikitext-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe("WikiText parser tests", function() {
it("should parse macro definitions", function() {
expect(parse("\\define myMacro()\nnothing\n\\end\n")).toEqual(

[ { type : 'set', name : 'myMacro', params : [ ], text : 'nothing', attributes : { name : { type : 'string', value : 'myMacro' }, value : { type : 'string', value : 'nothing' } }, children : [ ] } ]
[ { type : 'set', attributes : { name : { type : 'string', value : 'myMacro' }, value : { type : 'string', value : 'nothing' } }, children : [ ], params : [ ] } ]

);

Expand Down
26 changes: 26 additions & 0 deletions editions/text-slicer/tiddlers/HelloThere.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
title: HelloThere

This edition of ~TiddlyWiki contains tools to help slice up long texts into individual tiddlers.

//''This plugin is under active development, and is subject to change in the future''. It is currently only intended for advanced users. The tools are in the early stages of development, and likely to need some customisation to do what you need.//

! Usage

The source document must first be marked up as an ordinary wikitext tiddler. Currently only the following formatting is recognised:

* Headings
* Ordered and unordered lists
* Paragraphs

To try it out:

# Click the ''text slicer'' icon on the [[Sample Text]] tiddler below
# View the tiddler [[Sliced up Sample Text]]
#* It should match the content of [[Sample Text]]
#* The table of contents at the top allows the structure to be explored
# Click the ''Show toolbar'' checkbox to display a simple toolbar for each tiddler
# Use the text box and the ''rename'' button to rename tiddlers without breaking the tagging links

! Plugin Instructions

{{$:/plugins/tiddlywiki/text-slicer/docs}}
183 changes: 183 additions & 0 deletions editions/text-slicer/tiddlers/Sample Text.tid

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions editions/text-slicer/tiddlers/system/DefaultTiddlers.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/DefaultTiddlers

HelloThere
[[Sample Text]]
3 changes: 3 additions & 0 deletions editions/text-slicer/tiddlers/system/SiteSubtitle.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/SiteSubtitle

turning text into tiddlers
3 changes: 3 additions & 0 deletions editions/text-slicer/tiddlers/system/SiteTitle.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/SiteTitle

Text-Slicer Edition
3 changes: 3 additions & 0 deletions editions/text-slicer/tiddlers/system/sidebarlayout.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/themes/tiddlywiki/vanilla/options/sidebarlayout

fluid-fixed
3 changes: 3 additions & 0 deletions editions/text-slicer/tiddlers/system/storyleft.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/themes/tiddlywiki/vanilla/metrics/storyleft

400px
17 changes: 17 additions & 0 deletions editions/text-slicer/tiddlywiki.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"description": "Tools for slicing up long texts into individual tiddlers",
"plugins": [
"tiddlywiki/text-slicer"
],
"languages": [
],
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
],
"build": {
"index": [
"--rendertiddler","$:/core/save/all","index.html","text/plain"
]
}
}
2 changes: 2 additions & 0 deletions editions/translators/tiddlywiki.info
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@
"ia-IA",
"it-IT",
"ja-JP",
"ko-KR",
"nl-NL",
"pa-IN",
"pt-PT",
"ru-RU",
"sk-SK",
"sv-SE",
"zh-Hans",
"zh-Hant"
],
Expand Down
3 changes: 3 additions & 0 deletions editions/tw5.com-docs/tiddlers/DefaultTiddlers.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/DefaultTiddlers

[[Welcome to tw5.com-docs]]
27 changes: 27 additions & 0 deletions editions/tw5.com-docs/tiddlers/Welcome to tw5.com-docs.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
title: Welcome to tw5.com-docs

This edition of TiddlyWiki is a tool to help people make and submit improvements to the main documentation on http://tiddlywiki.com/

In this wiki, all the tiddlers from http://tiddlywiki.com (to be precise, all the tiddlers [[from here|https://github.com/Jermolene/TiddlyWiki5/tree/master/editions/tw5.com/tiddlers]]) are packed into a plugin:

[[$:/plugins/tiddlywiki/tw5.com-docs]]

This means that the original documentation tiddlers become //shadow tiddlers//: if you edit them, you can just delete your modified copy to revert to the shadow value.

Note that currently some functionality doesn't work properly because of macros and filters written expecting all the content tiddlers to be non-shadow tiddlers. For example, see [[Community]].

''Default tiddlers from tiddlywiki.com'':

<$macrocall $name="list-links" filter={{$:/tw5.com/DefaultTiddlers}}/>

<$list filter="[[$:/plugins/tiddlywiki/tw5.com-docs]plugintiddlers[]is[tiddler]] -[[$:/DefaultTiddlers]] +[limit[1]]" emptyMessage="""

Additional information will appear here if you modify any of the documentation tiddlers.

""">

''Tiddlers that you have modified'':

<<list-links "[[$:/plugins/tiddlywiki/tw5.com-docs]plugintiddlers[]is[tiddler]] -[[$:/DefaultTiddlers]]">>

</$list>
11 changes: 11 additions & 0 deletions editions/tw5.com-docs/tiddlers/external/tiddlywiki.files
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"tiddlers": [
{
"file": "../../../tw5.com/tiddlers/system/DefaultTiddlers.tid",
"fields": {
"title": "$:/tw5.com/DefaultTiddlers"
},
"isTiddlerFile": true
}
]
}
14 changes: 14 additions & 0 deletions editions/tw5.com-docs/tiddlywiki.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"description": "Documentation from tw5.com edition",
"plugins": [
"tiddlywiki/tw5.com-docs"
],
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
],
"build": {
"index": [
"--rendertiddler","$:/core/save/all","index.html","text/plain"]
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
title: SampleAlert
component: demo
created: 20160107230134172
modified: 20160107230134172
title: SampleAlert
type: text/vnd.tiddlywiki

This is a demonstration alert.

Expand Down
4 changes: 3 additions & 1 deletion editions/tw5.com/tiddlers/community/HelpingTiddlyWiki.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20130825160500000
modified: 20150310172330006
modified: 20151010131218969
tags: Community
title: HelpingTiddlyWiki
type: text/vnd.tiddlywiki
Expand All @@ -10,7 +10,9 @@ If you find TiddlyWiki useful, there are lots of ways you can help assure its fu

OpenSource projects like ~TiddlyWiki thrive on the feedback and engagement of users. ~TiddlyWiki becomes more useful to everyone as more and more people use it. So, if you find ~TiddlyWiki useful, spread the word. The best possible way to assure its future is for it to become a hundred times more popular than before.

* [img[https://img.shields.io/twitter/url/http/tiddlywiki.com.svg?style=social]]
* Tweet about ~TiddlyWiki: [[I love TiddlyWiki because...|https://twitter.com/intent/tweet?text=I+love+TiddlyWiki+because...&source=tiddlywiki5]]
* [img[https://img.shields.io/github/stars/jermolene/tiddlywiki5.svg?style=social&label=Star]]
* [[Star the TiddlyWiki5 GitHub Repository|https://github.com/Jermolene/TiddlyWiki5]]
* [[Display the TiddlyWiki Poster|http://tiddlywiki.com/poster]]

Expand Down
Loading