Skip to content

Commit

Permalink
docs(wiki): update
Browse files Browse the repository at this point in the history
  • Loading branch information
oflg committed Oct 7, 2023
1 parent 569dce5 commit c6029b7
Show file tree
Hide file tree
Showing 38 changed files with 12,445 additions and 77 deletions.
7 changes: 7 additions & 0 deletions wiki/manual/index/tiddlers/$__Import.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
status: complete
title: $:/Import
type: text/vnd.tiddlywiki

The following tiddlers were imported:

# [[$:/favicon.ico]]
5 changes: 5 additions & 0 deletions wiki/manual/index/tiddlers/$__StoryList_1.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
created: 20231007130135151
list: [[Tidme Manual]] Contributor
modified: 20231007130135151
title: $:/StoryList
type: text/vnd.tiddlywiki
Binary file modified wiki/manual/index/tiddlers/$__favicon.ico
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ created: 20211111070830295
difficulty: 4.144586545559224
due: 20221130073212462
lapses: 0
modified: 20231006035202177
modified: 20231007081829185
reps: 5
retrievability: 0.8495265113598027
review: 20220622073212461
Expand All @@ -16,8 +16,8 @@ Add a `caption` field to the card, the content of this field is the front of the
| Tyoe | Usage |>| Macro generated by buttons | Example and illustration |h
|~|~| Name | Structure |~|h
|Q&A| - | - | - | [[Q&A Question examples and explanations]] |
|Type| Use the <<.icon $:/plugins/tidme/fsrs4tw/icons/type>> button to insert edit | T | `<<T field>>` | [[Type Question examples and explanations]] |
|Cloze| Write the stem + set the selected text to ''cloze'' with the <<.icon $:/plugins/tidme/fsrs4tw/icons/cloze>> button | C | `<<C hide show id>>` | [[Cloze Question examples and explanations]] |
|Select| Write the question stem + use the <<.icon $:/plugins/tidme/fsrs4tw/icons/select>> button to set the selected text white as ''option'' + fill in the answer ''serial number'' | S | `<<S option answer>>` | [[Select Question examples and explanations]] |
|Type| Write the question + use the <<.icon $:/plugins/tidme/fsrs4tw/icons/type>> button to insert edit | T | `<<T field>>` | [[Type Question examples and explanations]] |
|Cloze| Write the question + set the selected text to ''cloze'' with the <<.icon $:/plugins/tidme/fsrs4tw/icons/cloze>> button | C | `<<C hide show id>>` | [[Cloze Question examples and explanations]] |
|Select| Write the question + use the <<.icon $:/plugins/tidme/fsrs4tw/icons/select>> button to set the selected text white as ''option'' + fill in the answer ''serial number'' | S | `<<S option answer>>` | [[Select Question examples and explanations]] |

You can write your own macros manually as needed, or get and share macros in [[Discussions|https://github.com/oflg/Tidme/discussions]].
6 changes: 2 additions & 4 deletions wiki/manual/index/tiddlers/Usage.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20201212170005281
due: 20220623073158410
modified: 20230921095351097
modified: 20231007130308970
review: 20220622073158410
tags: [[Tidme Manual]] ?
title: Usage
Expand All @@ -12,10 +12,8 @@ type: text/vnd.tiddlywiki

# Click ''{{$:/language/tidme/startstudy}}''.

#* The first card in the deck that needs to be studied will jump.

#* All cards in the deck go into study pending state and navigate to the first card that needs to be studied.
#* The card will generally be collapsed to show only the questions (you can set specific cards not to be collapsed).

#* Recall the answer based on the card's question, then click the <<.icon $:/core/images/unfold-button>> in the card to expand the card and evaluate it.

# Click ''{{$:/language/tidme/stopstudy}}''.
5 changes: 0 additions & 5 deletions wiki/manual/zh-Hans/tiddlers/$__Deck_default_log.tid

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"141204830": "{\"rating\":4,\"elapsed_days\":2,\"scheduled_days\":0.46699291666666665,\"review\":\"20231006141157044\",\"state\":1}",
"02465342": "{\"rating\":3,\"elapsed_days\":29,\"scheduled_days\":14.80092295138889,\"review\":\"20231006024644233\",\"state\":2}",
"025920673": "{\"rating\":3,\"elapsed_days\":41,\"scheduled_days\":16.499536238425925,\"review\":\"20231006025916747\",\"state\":2}",
"02592283": "{\"rating\":4,\"elapsed_days\":6,\"scheduled_days\":0,\"review\":\"20231006025920970\",\"state\":0}",
Expand Down
11 changes: 11 additions & 0 deletions wiki/manual/zh-Hans/tiddlers/$__Deck_default_log_20231007.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"10412372": "{\"rating\":3,\"elapsed_days\":1,\"scheduled_days\":0.04255259259259259,\"review\":\"20231007104120524\",\"state\":1}",
"104128961": "{\"rating\":2,\"elapsed_days\":0,\"scheduled_days\":1.320718425925926,\"review\":\"20231007104125002\",\"state\":1}",
"111115625": "{\"rating\":3,\"elapsed_days\":1,\"scheduled_days\":0.020713912037037038,\"review\":\"20231007111114682\",\"state\":1}",
"124544887": "{\"rating\":2,\"elapsed_days\":0,\"scheduled_days\":1.4070219560185184,\"review\":\"20231007124543725\",\"state\":1}",
"075558672": "{\"rating\":1,\"elapsed_days\":0,\"scheduled_days\":1.2168620717592593,\"review\":\"20231007075556163\",\"state\":2}",
"075619431": "{\"rating\":2,\"elapsed_days\":0,\"scheduled_days\":1.2060643171296297,\"review\":\"20231007075607541\",\"state\":1}",
"07573337": "{\"rating\":3,\"elapsed_days\":1,\"scheduled_days\":1.2068986458333333,\"review\":\"20231007075724899\",\"state\":1}",
"075824676": "{\"rating\":1,\"elapsed_days\":0,\"scheduled_days\":1.2075544791666666,\"review\":\"20231007075821563\",\"state\":1}",
"094006205": "{\"rating\":2,\"elapsed_days\":0,\"scheduled_days\":0.07083037037037038,\"review\":\"20231007094003980\",\"state\":1}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
title: $:/Deck/default/log/20231007
type: application/json
4 changes: 2 additions & 2 deletions wiki/manual/zh-Hans/tiddlers/$__Deck_default_log_study.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20230919140541212
created: 20231007071608981
list: 创建牌组
modified: 20231006033617833
modified: 20231007072033081
title: $:/Deck/default/log/study
type: text/vnd.tiddlywiki
5 changes: 5 additions & 0 deletions wiki/manual/zh-Hans/tiddlers/$__Deck_default_study.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
created: 20231007112745032
list: 如何排序牌组?
modified: 20231007124544890
title: $:/Deck/default/study
type: text/vnd.tiddlywiki
3 changes: 3 additions & 0 deletions wiki/manual/zh-Hans/tiddlers/$__Deck_new_log_20231007.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"075810964": "{\"rating\":2,\"elapsed_days\":0,\"scheduled_days\":0.0013506481481481481,\"review\":\"20231007075804236\",\"state\":1}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
title: $:/Deck/new/log/20231007
type: application/json
4 changes: 0 additions & 4 deletions wiki/manual/zh-Hans/tiddlers/$__Deck_new_log_study.tid

This file was deleted.

7 changes: 5 additions & 2 deletions wiki/manual/zh-Hans/tiddlers/$__StoryList.tid
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
list: 墨屉手册 贡献者
title: $:/StoryList
created: 20231007130114241
list: 墨屉手册 使用 贡献者
modified: 20231007130114241
title: $:/StoryList
type: text/vnd.tiddlywiki
15 changes: 15 additions & 0 deletions wiki/manual/zh-Hans/tiddlers/$__annotation_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"created": "20231006093622538",
"tags": "$:/tags/TwpubAnnotation",
"modified": "20231006093622538",
"title": "$:/annotation/",
"type": "text/vnd.tiddlywiki",
"annotate-tiddler": "$:/plugins/twpub/6ae7495ce342ee75/text/000000002",
"annotate-text": "n the ‘externalist’ view of this history, more accessible to a wider audience. The series examines content and history from four main quadrants: the history of relevant technologies, the history of the core science, the history of relevant business and economic developments, and the history of com",
"annotate-prefix": "\n The History of Computing\n series publishes high-quality books which address the history of computing, with an emphasis o",
"annotate-suffix": "puting as it pertains to social history and societal developments.\n ",
"annotate-colour": "#ffff00",
"note": "$:/note/"
}
]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20220629011635814
modified: 20220629011635814
modified: 20231006050252686
title: $:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/control-panel
type: text/vnd.tiddlywiki

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
created: 20231006050244803
modified: 20231006050247767
title: $:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/print
type: text/vnd.tiddlywiki

hide
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
created: 20231007102354759
modified: 20231007113901357
title: $:/config/Performance/Instrumentation
type: text/vnd.tiddlywiki

no
6 changes: 6 additions & 0 deletions wiki/manual/zh-Hans/tiddlers/$__config_Search_AutoFocus.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
created: 20231007121338350
modified: 20231007121344527
title: $:/config/Search/AutoFocus
type: text/vnd.tiddlywiki

false
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
created: 20231006125116182
list-before: $:/config/ViewTemplateBodyFilters/default
modified: 20231006125422163
tags: $:/tags/ViewTemplateBodyFilter
title: $:/config/ViewTemplateBodyFilters/dynannotate
type: text/vnd.tiddlywiki

[[$:/plugins/tiddlywiki/dynannotate/examples/viewtemplate/text]]
12 changes: 12 additions & 0 deletions wiki/manual/zh-Hans/tiddlers/$__note_.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
color: #ffff00
created: 20231006093622537
icon: $:/core/images/file
list: $:/annotation/
modified: 20231006093622538
selectionJSON: {"chunks":[{"id":"$:/plugins/twpub/6ae7495ce342ee75/text/000000002","prefix":"\n The History of Computing\n series publishes high-quality books which address the history of computing, with an emphasis o","text":"n the ‘externalist’ view of this history, more accessible to a wider audience. The series examines content and history from four main quadrants: the history of relevant technologies, the history of the core science, the history of relevant business and economic developments, and the history of com","suffix":"puting as it pertains to social history and societal developments.\n "}],"variables":{"tv-selection-posx":"0","tv-selection-posy":"948.25","tv-selection-width":"587.671875","tv-selection-height":"79","tv-selection-coords":"(0,948.25,587.671875,79)","dom-data-twpub-title":"$:/plugins/twpub/6ae7495ce342ee75","dom-data-selection-actions-title":"$:/twpub-tools/SelectionTrackerActions","dom-data-selection-popup-title":"$:/state/selection-popup/-1495322858$:/plugins/twpub/6ae7495ce342ee75"}}
tags: $:/tags/Note
title: $:/note/
twpub: $:/plugins/twpub/6ae7495ce342ee75
type: text/vnd.tiddlywiki

111
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
button-classes: tc-tiddlylink
code-body: yes
condition: [<deckTiddler>]
difficulty: 5.869999999999999
due: 20231007125543725
elapsed_days: 1.4070219560185184
lapses: 0
last_review: 20231007124543725
reps: 2
scheduled_days: 0
stability: 0.6
state: 1
tags: $:/tags/TidmeDeck/Study
title: $:/plugins/tidme/fsrs4tw/buttons/action/startstudy
type: text/vnd.tiddlywiki

\define tv-action-refresh-policy() always

<span style=`color:${ [<rating>match[Again]then[red]] ~[<rating>match[Hard]then[orange]] ~[<rating>match[Good]then[green]]~[<rating>match[Easy]then[blue]] }$;`>
<$text text={{{ [<rating>match[Again]then{$:/language/tidme/again}] ~[<rating>match[Hard]then{$:/language/tidme/hard}] ~[<rating>match[Good]then{$:/language/tidme/good}] ~[<rating>match[Easy]then{$:/language/tidme/easy}] ~[<rating>match[Next]then{$:/language/tidme/next}] ~[{$:/language/tidme/startstudy}] }}}/>
</span>
<$list
filter="[<studyTiddler>!is[blank]]"
variable="studyTiddler"
>
<$list
filter="[<rating>match[Next]then[Easy]else<rating>!is[blank]]"
variable="rating"
>
<$let
card={{{ [<fsrs_json>jsonget[Rating],<rating>] :map[<fsrs_json>jsonextract[Cards],<currentTiddler>,[card]] }}}
review_log={{{ [<fsrs_json>jsonget[Rating],<rating>] :map[<fsrs_json>jsonextract[Cards],<currentTiddler>,[review_log]] }}}
>
<$list
filter="[<card>jsonget[lapses]compare:number:gteq<leech_threshold>]"
variable="ignore"
>
<<leech_action>>
<$action-sendmessage
$message="tm-notify"
$param="$:/plugins/tidme/fsrs4tw/notify/leech"
/>
</$list>
<$action-setmultiplefields
$fields="[<card>jsonindexes[]]"
$values="[<card>jsonindexes[]] :map[<card>jsonget<currentTiddler>]"
$timestamp={{$:/config/TimestampDisable}}
/>
<$action-setfield
$tiddler={{{ [<deckTiddler>addsuffix[/log/]addsuffix<now [UTC]YYYY0MM0DD>] }}}
$index={{{ [<now [UTC]0hh0mm0ssXXX>] }}}
$value={{{ [<review_log>] }}}
$timestamp={{$:/config/TimestampDisable}}
/>
<$action-sendmessage
$message="tm-close-tiddler"
/>
<$action-deletetiddler
$tiddler="$:/temp/tidme/study/question"
/>
<div style="font-size:8px;color:grey;">
<$text text={{{ [<card>jsonget[due]format:relativedate[]] }}}/>
</div>
</$let>
</$list>
</$list>
<$let
nextTiddler={{{ [subfilter<filter_queue>first[]] }}}
>
<$action-setfield
$tiddler={{{ [<deckTiddler>addsuffix[/study]] }}}
list={{{ [<nextTiddler>format:titlelist[]] }}}
/>
<$reveal
default=<<nextTiddler>>
type="nomatch"
text=""
>
<$action-setfield
$tiddler={{{ [<nextTiddler>addprefix[$:/state/folded/]] }}}
text={{{ [subfilter<filter_unfold>match<nextTiddler>then[show]else[hide]] }}}
/>
<$action-navigate
$to=<<nextTiddler>>
$scroll="yes"
/>
<$action-sendmessage
$message="tm-focus-selector"
$param=`[data-tiddler-title="$(nextTiddler)$"] .tmc-hideinput input`
preventScroll="true"
/>
</$reveal>
<$reveal
default=<<nextTiddler>>
type="match"
text=""
>
<$action-sendmessage
$message="tm-confetti-launch"
/>
<$action-sendmessage
$message="tm-confetti-launch"
originY=0.6
spread=70
delay=300
/>
<$action-sendmessage
$message="tm-confetti-launch"
originY=0.55
spread=30
delay=600
/>
<$action-sendmessage
$message="tm-notify"
$param="$:/plugins/tidme/fsrs4tw/notify/congratulation"
/>
</$reveal>
</$let>
Loading

0 comments on commit c6029b7

Please sign in to comment.