OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
2024-01-30 00:47:41 +00:00
parent c6b7dd6f53
commit 3e8e23fc1a
39 changed files with 190 additions and 79 deletions

View File

@@ -1,13 +0,0 @@
created: 20240129160009781
creator: Octt
list-before: $:/core/ui/Buttons/more-page-actions
modified: 20240129165212023
modifier: Octt
tags: $:/tags/PageControls
title: $:/Apps/MagicBox/Buttons/Open-MagicBox
<$button tooltip="Open MagicBox" class="tc-btn-invisible">
🪟️
<!--<$action-navigate $to="$:/Apps/MagicBox/Overlay"/>-->
{{$:/Apps/MagicBox/Shortcuts/Open-MagicBox}}
</$button>

View File

@@ -0,0 +1,21 @@
created: 20240129160009781
creator: Octt
list-before: $:/core/ui/Buttons/more-page-actions
modified: 20240129223619782
modifier: Octt
tags: $:/tags/PageControls
title: $:/Apps/MagicBox/Buttons/Toggle-MagicBox
\define label() Toggle MagicBox
\whitespace trim
<$button tooltip=<<label>> class=<<tv-config-toolbar-class>>>
<$if value=<<tv-config-toolbar-icons>> match="yes">
🪟️
</$if>
<$if value=<<tv-config-toolbar-text>> match="yes">
<span class="tc-btn-text">
<$text text=<<label>>/>
</span>
</$if>
{{$:/Apps/MagicBox/Shortcuts/Toggle-MagicBox}}
</$button>

View File

@@ -1,13 +0,0 @@
created: 20240129163942191
creator: Octt
key: ((Open-MagicBox))
modified: 20240129170319526
modifier: Octt
tags: $:/tags/KeyboardShortcut
title: $:/Apps/MagicBox/Shortcuts/Open-MagicBox
\whitespace trim
<$navigator story="$:/StoryList" history="$:/HistoryList">
<$action-navigate $to="$:/Apps/MagicBox/Overlay" $scroll="yes"/>
<!--<$action-sendmessage $message="tm-focus-selector" $param="""[data-tiddler-title="$:/Apps/MagicBox/Overlay"] ._input""" preventScroll="true"/>-->
</$navigator>

View File

@@ -0,0 +1,18 @@
created: 20240129163942191
creator: Octt
key: ((Toggle-MagicBox))
modified: 20240129232038489
modifier: Octt
tags: $:/tags/KeyboardShortcut
title: $:/Apps/MagicBox/Shortcuts/Toggle-MagicBox
\define appTiddler() $:/Apps/MagicBox/Overlay
\whitespace trim
<$navigator story="$:/StoryList" history="$:/HistoryList">
<$if not value={{{[[$:/StoryList]contains<appTiddler>]}}}>
<$action-navigate $to=<<appTiddler>> $scroll="yes"/>
</$if><$else>
<$action-sendmessage $message="tm-close-tiddler" $param=<<appTiddler>>/>
</$else>
<!--<$action-sendmessage $message="tm-focus-selector" $param="""[data-tiddler-title="$:/Apps/MagicBox/Overlay"] ._input""" preventScroll="true"/>-->
</$navigator>

View File

@@ -0,0 +1,24 @@
created: 20240129220613684
creator: Octt
modified: 20240129225200513
modifier: Octt
tags:
title: $:/Apps/MagicBox/readme
This currently work-in-progress, experimental applet provides a "magic box", allowing for wiki content to be searched in a visually effective way: a full-screen interface complete with previews and covers.
* Thread: [[https://talk.tiddlywiki.org/t/wiki-search-grid-with-covers-and-content-preview-prototype/9003]]
Install in other wiki by drag-and-drop:
# <$draggable tag="button" filter="[[$:/Apps/MagicBox]] [prefix[$:/Apps/MagicBox/]] [tag[$:/Apps/MagicBox]] [tag[$:/Apps/MagicBox/Attached]]">
All applet files
</$draggable>
# (Required dependency) <$draggable tag="button" filter="[[$:/plugins/ebalster/condition]]">
`ebalster/condition` plugin
</$draggable>
# (Optional dependency, required to show content) <$draggable tag="button" filter="[[$:/plugins/danielo515/ContextPlugin/Stylesheet/results]] [[$:/plugins/danielo515/ContextPlugin/widgets/context.js]]">
Core files of `danielo515/ContextPlugin` plugin, modified to allow `tabindex=-1`
</$draggable>