Touch a temp tiddler when removing a tag (#9889)

* Touch a temp tiddler when removing a tag

Like that removing a tag doesn't make TiddlyWiki5 wait for the Typing timeout to remove it but removes it instantly, because also a non-draft Tiddler has changed

* Add release notes for bugfix in Edit Mode tags

Fixes an issue where tags of Tiddlers in Edit Mode don't animate instantly when they get removed.

* Add inline comment

* Update release version to 5.5.0 in changenote
This commit is contained in:
Simon Huber
2026-08-11 10:50:55 +02:00
committed by GitHub
parent 2f578589a0
commit 40b353bd0e
2 changed files with 16 additions and 4 deletions
+6 -4
View File
@@ -18,10 +18,12 @@ tags: $:/tags/EditTemplate
<$button class="tc-btn-invisible tc-remove-tag-button"
style.fill=<<foregroundColor>>
>
<$action-listops $tiddler=<<saveTiddler>> $field=<<tagField>> $subfilter="-[{!!title}]"/>
{{$:/core/images/close-button}}
</$button>
</span>
<$action-listops $tiddler=<<saveTiddler>> $field=<<tagField>> $subfilter="-[{!!title}]"/>
<!-- Touch a temp tiddler so that the tag remove animation fires instantly. Otherwise it's delayed by the typing timeout duration -->
<$action-setfield $tiddler="$:/temp/tags-edit-refresh" text=<<currentTiddler>>/>
{{$:/core/images/close-button}}
</$button>
</span>
</$let>
\end
@@ -0,0 +1,10 @@
title: $:/changenotes/5.4.1/#9889
description: Make tags in Edit Mode animate instantly when removing
tags: $:/tags/ChangeNote
release: 5.5.0
change-type: bugfix
change-category: usability
github-links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9889
github-contributors: BurningTreeC
Fixes an issue where tags of Tiddlers in Edit Mode don't animate instantly when they get removed