Creating tiddler uid test and TW tiddlers missing uid collection.

This commit is contained in:
ruidajo 2022-10-30 22:20:36 -05:00
parent 37741df191
commit fbfb5fbf7d
2 changed files with 12 additions and 0 deletions

View File

@ -267,6 +267,12 @@ Tiddler >> gtTextFor: aView [
text: [ text ]
]
{ #category : #testing }
Tiddler >> hasUID [
^ self customFields includesKey: 'uid'
]
{ #category : #accessing }
Tiddler >> importFedWikiPage: pageViewUrlString [
| pageTitle pageViewUrl pageData |

View File

@ -827,6 +827,12 @@ TiddlyWiki >> tiddlersJSONUrl [
self remote ifNil: [^ nil].
]
{ #category : #accessing }
TiddlyWiki >> tiddlersMissingUID [
^ self tiddlers reject: [ :tiddler | (tiddler customFields includesKey: 'uid') or: [ (tiddler title beginsWith:'$') ] ].
]
{ #category : #accessing }
TiddlyWiki >> updateFilesFromRemote [