1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-01-23 11:24:40 +00:00

Compare commits

..

13 Commits

Author SHA1 Message Date
Jeremy Ruston
c4263029ac Info panel should stay open by default 2025-10-08 12:18:03 +01:00
Jeremy Ruston
5ed8486bca codewrapping should be "pre" not "no"
Co-authored-by: Leilei332 <LeiYiXia29@outlook.com>
2025-09-15 19:53:06 +01:00
Jeremy Ruston
08f8f1b5d0 Default to not wrapping code blocks 2025-09-14 16:11:02 +01:00
Jeremy Ruston
622dfdf73d Merge branch 'master' into changed-defaults-for-v5.4.0 2025-09-14 16:06:52 +01:00
Jeremy Ruston
810ac42810 Release notes: show current banner for the current release 2025-09-14 14:36:31 +01:00
Jeremy Ruston
88d3f69a3b Merge branch 'tiddlywiki-com' 2025-09-14 14:32:25 +01:00
Jeremy Ruston
e956bb32e9 Extend release note mechanism to allow multiple github commits/prs for a change
Also added @Leilei332's credit for #9288
2025-09-14 11:43:22 +01:00
Leilei332
dd91ac0b82 [DOCS] Button widget role attribute (#9168)
* [DOCS] Button role attribute

* Fix wrong language
2025-09-14 11:27:49 +01:00
Leilei332
af63a3b920 Further improvements for offloading server components (#9288)
* Move edition-info and repository to core-server

* Update readme

* Set platform to server for filesystem plugin

* Move startup/command.js
2025-09-14 11:21:42 +01:00
Jeremy Ruston
e4fb47ee76 Add change note for #9183 2025-09-12 17:45:13 +01:00
Jeremy Ruston
7944f42467 [v5.4.0] Offload server components from browser builds of TiddlyWiki (#9183)
* Move Node.js specific files out of the core plugin

* Package server files as new $:/core-server plugin

* Missed commander.js

* Fix crash in browser

* Extend server-only mechanism to be usable by other plugins

* in

* Revert "Extend server-only mechanism to be usable by other plugins"

This reverts commit 3faf503073.

* Revert "in"

This reverts commit b80213128f.

* Reapply "Extend server-only mechanism to be usable by other plugins"

This reverts commit c6c83bc18b.

* Fix test failure

* Move filesystem utilities into core-server

* Move old-style release notes out of the way

* Move the 5.4.0 release note into the right place

* Revert "Move the 5.4.0 release note into the right place"

This reverts commit 3f5c2bfba3.

* Revert "Move old-style release notes out of the way"

This reverts commit ee16e48a43.
2025-09-12 15:21:34 +01:00
Jeremy Ruston
578c09e0ce Remove change note for #9183 until it is merged 2025-09-12 15:19:28 +01:00
Jeremy Ruston
5f6b0d42d5 Change default sidebar layout to fluid-fixed 2025-06-20 15:06:34 +01:00
20 changed files with 46 additions and 27 deletions

View File

@@ -4,3 +4,4 @@ This plugin contains TiddlyWiki's core components that are only needed on the se
* Commands
* HTTP server code
* Utility functions for server

View File

@@ -1,2 +1,2 @@
title: $:/config/TiddlerInfo/Mode
text: popup
text: sticky

View File

@@ -240,7 +240,7 @@ a.doc-deprecated-version.tc-tiddlylink {
vertical-align: text-bottom;
}
.doc-link-badge {
html button.doc-link-badge, html a.doc-link-badge {
text-decoration: none;
background-color: #7eba4c;
color: <<colour foreground>>;
@@ -250,10 +250,16 @@ a.doc-deprecated-version.tc-tiddlylink {
font-size: 0.75em;
}
.doc-link-badge:hover {
html button.doc-link-badge:hover, html a.doc-link-badge:hover {
text-decoration: underline;
}
.doc-github-link svg {
width: 1.2em;
height: 1.2em;
vertical-align: middle;
}
.doc-changenote-body {
margin-left: 2em;
font-style: italic;

View File

@@ -4,5 +4,5 @@ release: 5.3.8
tags: $:/tags/ChangeNote
change-type: enhancement
change-category: translation
link: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9133
links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9133
github-contributors: BramChen

View File

@@ -4,5 +4,5 @@ release: 5.3.8
tags: $:/tags/ChangeNote
change-type: bugfix
change-category: translation
link: https://github.com/TiddlyWiki/TiddlyWiki5/issue/9166
links: https://github.com/TiddlyWiki/TiddlyWiki5/issue/9166
github-contributors: Leilei332

View File

@@ -4,5 +4,5 @@ release: 5.3.8
tags: $:/tags/ChangeNote
change-type: bugfix
change-category: palette
link: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9175
links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9175
github-contributors: Leilei332

View File

@@ -4,5 +4,5 @@ release: 5.3.8
tags: $:/tags/ChangeNote
change-type: enhancement
change-category: translation
link: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9184
links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9184
github-contributors: EvidentlyCube

View File

@@ -4,5 +4,5 @@ release: 5.3.8
tags: $:/tags/ChangeNote
change-type: bugfix
change-category: plugin
link: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9185
links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9185
github-contributors: Leilei332

View File

@@ -4,7 +4,7 @@ release: 5.3.8
tags: $:/tags/ChangeNote
change-type: bugfix
change-category: hackability
link: https://github.com/TiddlyWiki/TiddlyWiki5/commit/32caeb69c3e7b75a80a84a1e14363e87175b164e
links: https://github.com/TiddlyWiki/TiddlyWiki5/commit/32caeb69c3e7b75a80a84a1e14363e87175b164e
github-contributors: Jermolene
Reverted the [[change in v5.3.7|https://github.com/TiddlyWiki/TiddlyWiki5/pull/8721]] that broke the [[list-tagged-draggable Macro]]. The change involved updating some core macros to use procedures

View File

@@ -4,5 +4,5 @@ release: 5.3.8
tags: $:/tags/ChangeNote
change-type: enhancement
change-category: translation
link: https://github.com/TiddlyWiki/TiddlyWiki5/commit/75502266176de9d4a5e1f89cd7f2e455b7a2f6da
links: https://github.com/TiddlyWiki/TiddlyWiki5/commit/75502266176de9d4a5e1f89cd7f2e455b7a2f6da
github-contributors: superuser-does

View File

@@ -4,5 +4,5 @@ release: 5.3.8
tags: $:/tags/ChangeNote
change-type: bugfix
change-category: usability
link: https://github.com/TiddlyWiki/TiddlyWiki5/commit/93d30f374da4a6b2037b335f7f7d4eddce8192db
links: https://github.com/TiddlyWiki/TiddlyWiki5/commit/93d30f374da4a6b2037b335f7f7d4eddce8192db
github-contributors: Jermolene

View File

@@ -4,7 +4,7 @@ release: 5.4.0
tags: $:/tags/ChangeNote
change-type: pluginisation
change-category: internal
link: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9183
github-contributors: Jermolene
links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9183 https://github.com/TiddlyWiki/TiddlyWiki5/pull/9288
github-contributors: Jermolene Leilei332
This change reduces the size of the core plugin by 114.5KB or about 4.5%.
This change reduces the size of the core plugin by 119.3KB or about 4.5%.

View File

@@ -4,7 +4,7 @@ release: 5.4.0
tags: $:/tags/ChangeNote
change-type: enhancement
change-category: internal
link: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9287
links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9287
github-contributors: Jermolene
Doing so enables us to filter and group changes. For example, we could show all the breaking changes between two releases.

View File

@@ -7,9 +7,7 @@ tags: $:/tags/Global
href=`https://github.com/TiddlyWiki/TiddlyWiki5/compare/v${ [all[tiddlers]tag[ReleaseNotes]has[released]!sort[released]] :filter[get[released]compare:number:lt<releaseTiddlerCreated>] +[get[caption]] }$...${ [<releaseTiddler>has[released]get[caption]addprefix[v]] :else[[master]] }$`
rel="noopener noreferrer"
target="_blank"
>
See ~GitHub for detailed change history of this release
</a>
>the detailed change history on ~GitHub</a>
\end github-changes-link
\procedure banner-credits()
@@ -31,9 +29,10 @@ for their winning design for the banner for this release (here is the
rel="noopener noreferrer"
target="_blank"
>discussion</a>).
<div style="clear:both;"/>
<%else%>
<$image source="New Release Banner" width="140">
<%endif%>
<div style="clear:both;"/>
\end banner-credits
\procedure change-list()
@@ -46,16 +45,27 @@ for their winning design for the banner for this release (here is the
<ul>
<$list filter="[tag[$:/tags/ChangeNote]] :filter[{!!release}match<release>] :filter[{!!change-category}match<category>]" variable="change">
<li>
<a
href={{{ [<change>get[link]] }}}
<$link
to="Release Notes and Changes"
class="doc-link-badge"
target="_blank"
rel="noopener noreferrer"
style.backgroundColor={{{ [<change>get[change-type]addprefix[$:/tw5.com/releases/info/change-types/]addsuffix[/colour]get[text]] }}}
>
<$text text={{{ [<change>get[change-type]addprefix[$:/tw5.com/releases/info/change-types/]addsuffix[/caption]get[text]] }}}/>
</a>
</$link>
<$text text=" "/>
<$list filter="[<change>get[links]enlist-input[]]" variable="link">
<a
href=<<link>>
class="doc-github-link"
target="_blank"
rel="noopener noreferrer"
>
{{$:/core/images/github}}
</a>
<$text text=" "/>
</$list>
<$transclude $tiddler=<<change>> $field="description" $mode="inline"/>
<div class="doc-changenote-body">
<$transclude $tiddler=<<change>> $mode="block"/>
@@ -89,7 +99,7 @@ for their winning design for the banner for this release (here is the
release-github-contributors={{{ [tag[$:/tags/ChangeNote]] :filter[{!!release}match<release>] :map:flat[enlist{!!github-contributors}] +[sort[]format:titlelist[]join[ ]]}}}
>
<<github-changes-link>>
See <<github-changes-link>> and [[other versions|TiddlyWiki Releases]].
<<banner-credits>>

View File

@@ -1,6 +1,6 @@
caption: button
created: 20131024141900000
modified: 20231113093304323
modified: 20250720031248375
tags: Widgets TriggeringWidgets
title: ButtonWidget
type: text/vnd.tiddlywiki
@@ -39,6 +39,7 @@ The content of the `<$button>` widget is displayed within the button.
|popupTitle |Title of a state tiddler for a popup that is toggled when the button is clicked. In difference to the <<.attr popup>> attribute, ''no'' TextReference is used. See PopupMechanism for details |
|popupAbsCoords |<<.from-version "5.2.4">> If set to ''yes'' writes absolute coordinates to the tiddler referenced by the <<.attr popup>>. If set to ''no'' (the default) uses relative coordinates. See [[Coordinate Systems]] for details |
|aria-label |Optional [[Accessibility]] label |
|role |<<.from-version "5.2.3">> Optional [[ARIA role|https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles]] |
|tooltip |Optional tooltip |
|class |An optional CSS class name to be assigned to the HTML element|
|data-* |<<.from-version "5.3.2">> Optional [[data attributes|https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes]] to be assigned to the HTML element |

View File

@@ -3,5 +3,6 @@
"name": "Filesystem",
"description": "Synchronize changes from the node.js server to the local filesystem",
"list": "readme",
"platform": "server",
"stability": "STABILITY_2_STABLE"
}

View File

@@ -1,5 +1,5 @@
title: $:/themes/tiddlywiki/vanilla/options/
stickytitles: no
sidebarlayout: fixed-fluid
codewrapping: pre-wrap
sidebarlayout: fluid-fixed
codewrapping: pre