mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
Make recent tab limit configurable (#8698)
Make maxium number of tiddlers under the "Recent" tab configurable in the `$:/config/RecentLimit` tiddler. UI for configuring this option is also added under the "Settings" tab.
This commit is contained in:
parent
8b60cab6a2
commit
c060216a8e
@ -175,6 +175,8 @@ Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description: Update addres
|
||||
Settings/PerformanceInstrumentation/Caption: Performance Instrumentation
|
||||
Settings/PerformanceInstrumentation/Hint: Displays performance statistics in the browser developer console. Requires reload to take effect
|
||||
Settings/PerformanceInstrumentation/Description: Enable performance instrumentation
|
||||
Settings/RecentLimit/Caption: Recent Tab Limit
|
||||
Settings/RecentLimit/Hint: Maximum number of tiddlers to be displayed under the sidebar "Recent" tab
|
||||
Settings/ToolbarButtonStyle/Caption: Toolbar Button Style
|
||||
Settings/ToolbarButtonStyle/Hint: Choose the style for toolbar buttons:
|
||||
Settings/ToolbarButtonStyle/Styles/Borderless: Borderless
|
||||
|
10
core/ui/ControlPanel/Settings/RecentLimit.tid
Normal file
10
core/ui/ControlPanel/Settings/RecentLimit.tid
Normal file
@ -0,0 +1,10 @@
|
||||
title: $:/core/ui/ControlPanel/Settings/RecentLimit
|
||||
tags: $:/tags/ControlPanel/Settings
|
||||
caption: {{$:/language/ControlPanel/Settings/RecentLimit/Caption}}
|
||||
|
||||
\whitespace trim
|
||||
\procedure lingo-base() $:/language/ControlPanel/Settings/RecentLimit/
|
||||
<<lingo Hint>>
|
||||
|
||||
|tc-table-no-border|k
|
||||
|<$link to="$:/config/RecentLimit"><<lingo Caption>></$link> |<$edit-text tiddler="$:/config/RecentLimit" tag="input" type="number"/> |
|
@ -2,4 +2,4 @@ title: $:/core/ui/SideBar/Recent
|
||||
tags: $:/tags/SideBar
|
||||
caption: {{$:/language/SideBar/Recent/Caption}}
|
||||
|
||||
<$macrocall $name="timeline" format={{$:/language/RecentChanges/DateFormat}}/>
|
||||
<$transclude $variable="timeline" format={{$:/language/RecentChanges/DateFormat}} limit={{$:/config/RecentLimit}}/>
|
||||
|
3
core/wiki/config/RecentLimit.tid
Normal file
3
core/wiki/config/RecentLimit.tid
Normal file
@ -0,0 +1,3 @@
|
||||
title: $:/config/RecentLimit
|
||||
|
||||
100
|
Loading…
Reference in New Issue
Block a user