Extend release note mechanism to allow multiple github commits/prs for a change

Also added @Leilei332's credit for #9288
This commit is contained in:
Jeremy Ruston 2025-09-14 11:43:22 +01:00
parent af63a3b920
commit e956bb32e9
12 changed files with 36 additions and 21 deletions

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()
@ -46,16 +44,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 +98,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>>