Skip to content

Commit

Permalink
chore: upgrade plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Jan 8, 2025
1 parent 46810f7 commit a2e3d89
Show file tree
Hide file tree
Showing 68 changed files with 548 additions and 33 deletions.
3 changes: 3 additions & 0 deletions tiddlers/$__config_Server_AllowAllExternalFilters.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/config/Server/AllowAllExternalFilters

yes
5 changes: 5 additions & 0 deletions tiddlers/$__core_ui_sideBar_timeline.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tags: $:/tags/Macro
title: $:/core/ui/sideBar/timeline
type: text/vnd.tiddlywiki

\define timeline-title() <$transclude field="caption"><$view field="title"/></$transclude>
20 changes: 10 additions & 10 deletions tiddlers/$__plugins_Gk0Wk_echarts.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tiddlers/$__plugins_kookma_commander.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tiddlers/$__plugins_kookma_commander.json.meta
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ dependents:
description: Streamline tiddler management: bulk operations for titles, tags, and fields
list: readme license history
name: Tiddler Commander
packaged-by: Gatha on 23rd November 2024, 23:03:13
packaged-by: Gatha on 11th December 2024, 08:35:19
parent-plugin:
plugin-priority:
plugin-type: plugin
source: https://github.com/kookma/TW-Commander
stability: STABILITY_2_STABLE
title: $:/plugins/kookma/commander
type: application/json
version: 2.1.12
version: 2.1.13
2 changes: 1 addition & 1 deletion tiddlers/$__plugins_kookma_utility.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tiddlers/$__plugins_kookma_utility.json.meta
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ dependents:
description: Small tools for authors and developers
list: readme license history
name: Utility
packaged-by: Gatha on 24th November 2024, 21:57:21
packaged-by: Gatha on 28th December 2024, 19:24:31
parent-plugin:
plugin-priority:
plugin-type: plugin
source: https://github.com/kookma/TW-Utility
stability: STABILITY_2_STABLE
title: $:/plugins/kookma/utility
type: application/json
version: 3.1.3
version: 3.2.1
19 changes: 18 additions & 1 deletion tiddlers/$__plugins_linonetwo_itonnote.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions tiddlers/$__plugins_linonetwo_simple-layout-launcher.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/simple-layout-launcher/language/en-GB/Description
type: text/vnd.tiddlywiki

Vanilla style layout launcher, with Metro style square button and large icon.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/simple-layout-launcher/language/en-GB/Name
type: text/vnd.tiddlywiki

Simple Layout Launcher
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: $:/plugins/linonetwo/simple-layout-launcher/language/en-GB/Readme
type: text/vnd.tiddlywiki

\procedure lingo-base() $:/plugins/linonetwo/simple-layout-launcher/language/

! <<lingo Name>>

<<lingo Description>>

!! Procedure

This plugin provides a simple layout switcher which can be used with this procedure call:

```tid
<<simple-layout-launcher>>
```

<<simple-layout-launcher>>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/simple-layout-launcher/language/en-GB/ShortName
type: text/vnd.tiddlywiki

SLL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/Description
type: text/vnd.tiddlywiki

原生风格的布局启动器,带有地铁风格的方形按钮和大图标。
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/Name
type: text/vnd.tiddlywiki

简易布局启动器
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: $:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/Readme
type: text/vnd.tiddlywiki

\procedure lingo-base() $:/plugins/linonetwo/simple-layout-launcher/language/

! <<lingo Name>>

<<lingo Description>>

!! 过程

本插件提供了一个简单的布局切换器,它可以通过这个过程调用来使用:

```tid
<<simple-layout-launcher>>
```

<<simple-layout-launcher>>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/simple-layout-launcher/language/zh-Hans/ShortName
type: text/vnd.tiddlywiki

简布局
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: $:/plugins/linonetwo/simple-layout-launcher/readme
type: text/vnd.tiddlywiki

\procedure lingo-base() $:/plugins/linonetwo/simple-layout-launcher/language/

<<lingo Readme>>
12 changes: 12 additions & 0 deletions tiddlers/$__plugins_linonetwo_simple-layout-launcher_sidebar.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
caption: <<lingo ShortName $:/plugins/linonetwo/simple-layout-launcher/language/>>
tags: $:/tags/SideBar
title: $:/plugins/linonetwo/simple-layout-launcher/sidebar
type: text/vnd.tiddlywiki

\procedure lingo-base() $:/plugins/linonetwo/simple-layout-launcher/language/

!! <<lingo Name>>

<div class="simple-layout-launcher-sidebar">
<<simple-layout-launcher>>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tags: $:/tags/Image
title: $:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher-layout-image
type: text/vnd.tiddlywiki

\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-linonetwo-simple-layout tc-image-button" viewBox="0 0 24 24">
<path d="M 4 3 C 4.552 3 5 3.448 5 4 L 5 20 C 5 20.552 4.552 21 4 21 C 3.448 21 3 20.552 3 20 L 3 4 C 3 3.448 3.448 3 4 3 Z" style="stroke: none; fill-rule: evenodd;"/>
<path d="M 10 8 L 18 8 C 18.757 8.044 19.633 8.391 20.121 8.879 C 20.609 9.367 20.956 10.243 21 11 L 21 13 C 20.956 13.757 20.609 14.633 20.121 15.121 C 19.633 15.609 18.757 15.956 18 16 L 10 16 C 9.243 15.956 8.367 15.609 7.879 15.121 C 7.391 14.633 7.044 13.757 7 13 L 7 11 C 7.044 10.243 7.391 9.367 7.879 8.879 C 8.367 8.391 9.243 8.044 10 8 Z M 9.293 10.293 C 9.057 10.529 8.956 10.652 9 11 L 9 13 C 8.956 13.348 9.057 13.471 9.293 13.707 C 9.529 13.943 9.652 14.044 10 14 L 18 14 C 18.348 14.044 18.471 13.943 18.707 13.707 C 18.943 13.471 19.044 13.348 19 13 L 19 11 C 19.044 10.652 18.943 10.529 18.707 10.293 C 18.471 10.057 18.348 9.956 18 10 L 10 10 C 9.652 9.956 9.529 10.057 9.293 10.293 Z" style="stroke: none; fill-rule: evenodd;"/>
</svg>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
description: <<lingo Description $:/plugins/linonetwo/simple-layout-launcher/language/>>
icon: $:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher-layout-image
name: <<lingo Name $:/plugins/linonetwo/simple-layout-launcher/language/>>
tags: $:/tags/Layout
title: $:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher-layout
type: text/vnd.tiddlywiki

\whitespace trim
\import [subfilter{$:/core/config/GlobalImportFilter}]
\define containerClasses()
tc-page-container tc-language-$(languageTitle)$ simple-layout-launcher-container
\end
\procedure redirected-navigate-actions()
<$action-setfield $tiddler="$:/layout" text="" $timestamp="no">
<$action-navigate $to=<<event-navigateTo>> $scroll="yes" />
</$action-setfield>
\end

<$navigator story="$:/StoryList" history="$:/HistoryList" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>
<$messagecatcher $tm-navigate=<<redirected-navigate-actions>>>
{{$:/core/ui/CommandPaletteTemplate}}
<div class=<<containerClasses>>>
<div class="linonetwo-simple-layout-launcher-layout-container">
<<simple-layout-launcher>>
</div>
</div>
</$messagecatcher>
</$navigator>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tags: $:/tags/Stylesheet
title: $:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher.css
type: text/css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
tags: $:/tags/Stylesheet
title: $:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher.css.variable
type: text/vnd.tiddlywiki

\import [[$:/themes/tiddlywiki/vanilla/base]]

.linonetwo-simple-layout-launcher-item:hover .linonetwo-simple-layout-launcher-description {
background: <<colour tiddler-info-background>>;
}

/** Desktop, center it and add padding */
@media (min-width: <<sidebarbreakpoint>>) {
.linonetwo-simple-layout-launcher-layout-container {
padding: 100px;
}
.linonetwo-simple-layout-launcher-layout-container .linonetwo-simple-layout-launcher {
justify-content: center;
}
}

.simple-layout-launcher-sidebar a {
fill: <<colour sidebar-tiddler-link-foreground>>;
}
.simple-layout-launcher-sidebar a:hover {
fill: <<colour sidebar-tiddler-link-foreground-hover>>;
}

/** Mobile layout switcher, model is small can't change, so make item width 100% */
@media (max-width: <<sidebarbreakpoint>>) {
.tc-modal:has(.tc-modal-body):has(div):has(p):has(.linonetwo-simple-layout-launcher) {
width: 90%;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
tags: $:/tags/Global
title: $:/plugins/linonetwo/simple-layout-launcher/simple-layout-launcher
type: text/vnd.tiddlywiki

\procedure on-click()
<!-- Close model, similar to click close button. -->
<$action-sendmessage $message="tm-close-tiddler" />
\end

\procedure simple-layout-launcher()
\whitespace trim
<$linkcatcher to="$:/layout" actions=<<on-click>> >
<div class="linonetwo-simple-layout-launcher">
<$list filter="[[$:/core/ui/PageTemplate]] [all[tiddlers+shadows]tag[$:/tags/Layout]]">
<$set name="chosen-cls" filter="[all[current]compare:eq{$:/layout}]" value="linonetwo-simple-layout-launcher-item tc-chosen" emptyValue="linonetwo-simple-layout-launcher-item">
<$link to={{!!title}}>
<div class=<<chosen-cls>>>
<span class="linonetwo-simple-layout-launcher-icon">
<$transclude tiddler={{{ [<currentTiddler>get[icon]] }}}/>
</span>
<span class="linonetwo-simple-layout-launcher-title">
<$transclude field="name"/>
</span>
<span class="linonetwo-simple-layout-launcher-description">
<$transclude field="description"/>
</span>
</div>
</$link>
</$set>
</$list>
</div>
</$linkcatcher>
\end
4 changes: 4 additions & 0 deletions tiddlers/$__plugins_linonetwo_simple-layout-launcher_tree.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/simple-layout-launcher/tree
type: text/vnd.tiddlywiki

<<tree prefix:"$:/plugins/linonetwo/simple-layout-launcher/">>
16 changes: 15 additions & 1 deletion tiddlers/$__plugins_linonetwo_tidgi-external-attachments.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions tiddlers/$__plugins_linonetwo_title-caption.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
tags: $:/tags/Stylesheet
title: $:/plugins/linonetwo/title-caption/edit/TitleStyle.css
type: text/vnd.tiddlywiki

/**
* There will be two inputs, and we select the nearest div to the title input and input.title-caption-plugin-caption-edit, then select the first input that is followed by the title preview element `tc-tiddler-title`
*/
div.tc-tiddler-edit-frame div:has(>.title-caption-plugin-caption-edit) .tc-tiddler-title + input {
font-size: unset;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
code-body: yes
list-after: $:/core/ui/EditTemplate/title
tags: $:/tags/EditTemplate
title: $:/plugins/linonetwo/title-caption/edit/captionCascade
type: text/vnd.tiddlywiki

<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/EditCaptionTemplateTitleFilter]!is[draft]get[text]] }}} />
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tags: $:/tags/EditCaptionTemplateTitleFilter
title: $:/plugins/linonetwo/title-caption/edit/defaultFilter
type: text/vnd.tiddlywiki

[[]]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
list-before: $:/plugins/linonetwo/title-caption/edit/isTitlelessFilter
tags: $:/tags/EditCaptionTemplateTitleFilter
title: $:/plugins/linonetwo/title-caption/edit/hasCaptionFilter
type: text/vnd.tiddlywiki

[<currentTiddler>has[caption]then[$:/plugins/linonetwo/title-caption/edit/useCaptionEdit]]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
list-before: $:/plugins/linonetwo/title-caption/edit/defaultFilter
tags: $:/tags/EditCaptionTemplateTitleFilter
title: $:/plugins/linonetwo/title-caption/edit/isTitlelessFilter
type: text/vnd.tiddlywiki

[<currentTiddler>has[_is_titleless]then[$:/plugins/linonetwo/title-caption/edit/useCaptionEdit]]
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
code-body: yes
title: $:/plugins/linonetwo/title-caption/edit/useCaptionEdit
type: text/vnd.tiddlywiki

<$edit-text tiddler=<<currentTiddler>> field="caption" focus="yes" class="tc-titlebar tc-edit-texteditor title-caption-plugin-caption-edit"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/title-caption/language/en-GB/ApplyCaptionToTitle
type: text/vnd.tiddlywiki

Apply caption as title
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/title-caption/language/en-GB/ApplyCaptionToTitleDescription
type: text/vnd.tiddlywiki

Move `caption` field to `title`, overwrite the original `title` field.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/title-caption/language/en-GB/Configs/Description
type: text/vnd.tiddlywiki

These settings let you customise the behaviour of "Title Caption" plugin.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/title-caption/language/en-GB/Configs/PluginConfigs/Caption
type: text/vnd.tiddlywiki

Plugin Configs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/title-caption/language/en-GB/Configs/XXX/Caption
type: text/vnd.tiddlywiki

XXX
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/title-caption/language/en-GB/Configs/XXX/Description
type: text/vnd.tiddlywiki

XXX is XXX
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/title-caption/language/en-GB/Configs/YYY/Caption
type: text/vnd.tiddlywiki

YYY
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/title-caption/language/en-GB/Configs/ZZZ/Caption
type: text/vnd.tiddlywiki

ZZZ
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/title-caption/language/en-GB/Description
type: text/vnd.tiddlywiki

Display caption in title area, and can easily edit it.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: $:/plugins/linonetwo/title-caption/language/en-GB/Name
type: text/vnd.tiddlywiki

Title Caption
Loading

0 comments on commit a2e3d89

Please sign in to comment.