PS: because the last time I lost a tiddler(recover from git history finally), this time I choose to close the draft of the draft of something, and it will become to a draft of something, and then close it normally. Fixed.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1b84093f-df39-406a-b808-f0660e9bb498o%40googlegroups.com.
\define hasdrafts() {{{ [list[$:/StoryList]get[draft.of]] }}}
<$list filter="[{$:/HistoryList}split<title-string>splitbefore<end-title>removesuffix<end-title>reverse[]is[tiddler]limit[20]]">
<$list filter="[all[current]] -[subfilter<hasdrafts>]">
{{||$:/core/ui/Buttons/edit}} {{||$:/core/ui/Buttons/open-window}} <$link/> <<close-if-open-button>><br>
</$list>
</$list>
This is done for the history list
I wonder if a filter that allows us to say something like !has[draft.of]] and
has[draft.of]] but works like my above solution
Hi yrosgiThe problem here is that deleting a draft also deletes the underlying original tiddler. I've made a GitHub ticket to describe the issue here:This problem has been reported quite frequently so I'm keen to fix it for the next version.Best wishes
PS: because the last time I lost a tiddler(recover from git history finally), this time I choose to close the draft of the draft of something, and it will become to a draft of something, and then close it normally. Fixed.--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.
This would be a wise improvement. However it is not necessarily dealing with the cause.
Multiple drafts seem to come from the fact that many lists will show both the draft of and the non draft tiddler.
- If an edit is done on the original tiddler while a draft tiddler already exists multiple drafts can come into play.
- There is nothing to "protect" us from this occurring.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/24d2d047-1e93-4850-bd83-aa02e32e7f53o%40googlegroups.com.