🎨 Support for listing missing files in Settings - Assets https://github.com/siyuan-note/siyuan/issues/8383

This commit is contained in:
Daniel 2023-06-04 12:09:16 +08:00
parent 11a97adcfe
commit 9c119f397d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 336 additions and 6 deletions

View file

@ -6,7 +6,7 @@
"id": "20200924100744-br924ar",
"title": "Assets",
"type": "doc",
"updated": "20230505084035"
"updated": "20230604120806"
},
"Children": [
{
@ -497,6 +497,10 @@
"updated": "20210130103832"
},
"Children": [
{
"Type": "NodeText",
"Data": ""
},
{
"Type": "NodeTextMark",
"TextMarkType": "tag",
@ -504,7 +508,113 @@
},
{
"Type": "NodeText",
"Data": ": Using absolute paths (local or network paths) will not be included Clean up calculations."
"Data": ": Using absolute paths (local or network paths) will not be included Clean up calculations."
}
]
},
{
"ID": "20230604120616-qjigoyt",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20230604120616-qjigoyt",
"updated": "20230604120623"
},
"Children": [
{
"Type": "NodeText",
"Data": "List missing assets"
}
]
},
{
"ID": "20230604120616-95dv931",
"Type": "NodeParagraph",
"Properties": {
"id": "20230604120616-95dv931",
"updated": "20230604120637"
},
"Children": [
{
"Type": "NodeText",
"Data": "You can view the missing resources in "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Assets"
},
{
"Type": "NodeText",
"Data": ", and you can find the references in the global search after copying the path."
}
]
},
{
"ID": "20230604120616-tjs4mx0",
"Type": "NodeParagraph",
"Properties": {
"id": "20230604120616-tjs4mx0",
"updated": "20230604120806"
},
"Children": [
{
"Type": "NodeText",
"Data": ""
},
{
"Type": "NodeTextMark",
"TextMarkType": "tag",
"TextMarkTextContent": "Note"
},
{
"Type": "NodeText",
"Data": ": To search asset paths, you need to enable "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Search"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Index"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Asset Path"
},
{
"Type": "NodeText",
"Data": "."
}
]
},

View file

@ -6,7 +6,7 @@
"id": "20200915214115-42b8zma",
"title": "资源文件",
"type": "doc",
"updated": "20230505083923"
"updated": "20230604120815"
},
"Children": [
{
@ -499,6 +499,10 @@
"updated": "20210512160659"
},
"Children": [
{
"Type": "NodeText",
"Data": ""
},
{
"Type": "NodeTextMark",
"TextMarkType": "tag",
@ -506,7 +510,113 @@
},
{
"Type": "NodeText",
"Data": ":使用绝对路径(本地路径或者是网络路径)不会纳入清理计算。"
"Data": "​:使用绝对路径(本地路径或者是网络路径)不会纳入清理计算。"
}
]
},
{
"ID": "20230604115545-plxx5iu",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20230604115545-plxx5iu",
"updated": "20230604115551"
},
"Children": [
{
"Type": "NodeText",
"Data": "查看丢失资源"
}
]
},
{
"ID": "20230604115552-qqg9s4j",
"Type": "NodeParagraph",
"Properties": {
"id": "20230604115552-qqg9s4j",
"updated": "20230604115947"
},
"Children": [
{
"Type": "NodeText",
"Data": "在"
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "设置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "资源"
},
{
"Type": "NodeText",
"Data": " 中可以查看丢失的资源,复制路径后可以在全局搜索中找到引用处。"
}
]
},
{
"ID": "20230604115950-hru51yy",
"Type": "NodeParagraph",
"Properties": {
"id": "20230604115950-hru51yy",
"updated": "20230604120815"
},
"Children": [
{
"Type": "NodeText",
"Data": ""
},
{
"Type": "NodeTextMark",
"TextMarkType": "tag",
"TextMarkTextContent": "注意"
},
{
"Type": "NodeText",
"Data": "​:搜索资源文件路径需要先启用 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "设置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "搜索"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "索引"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "资源文件路径"
},
{
"Type": "NodeText",
"Data": "​。"
}
]
},

View file

@ -5,7 +5,7 @@
"Properties": {
"id": "20211226123038-4umgpxy",
"title": "資料文件",
"updated": "20230505084013"
"updated": "20230604120825"
},
"Children": [
{
@ -482,6 +482,10 @@
"updated": "20211226123051"
},
"Children": [
{
"Type": "NodeText",
"Data": ""
},
{
"Type": "NodeTextMark",
"TextMarkType": "tag",
@ -489,7 +493,113 @@
},
{
"Type": "NodeText",
"Data": ":使用絕對路徑(本地路徑或者是網絡路徑)不會納入清理計算。"
"Data": "​:使用絕對路徑(本地路徑或者是網絡路徑)不會納入清理計算。"
}
]
},
{
"ID": "20230604120454-cxz64oc",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20230604120454-cxz64oc",
"updated": "20230604120454"
},
"Children": [
{
"Type": "NodeText",
"Data": "查看丟失資源"
}
]
},
{
"ID": "20230604120454-k7wee90",
"Type": "NodeParagraph",
"Properties": {
"id": "20230604120454-k7wee90",
"updated": "20230604120520"
},
"Children": [
{
"Type": "NodeText",
"Data": "在"
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "設置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "資料"
},
{
"Type": "NodeText",
"Data": "​中可以查看丟失的資源,複製路徑後可以在全局搜索中找到引用處。"
}
]
},
{
"ID": "20230604120454-m6jtopr",
"Type": "NodeParagraph",
"Properties": {
"id": "20230604120454-m6jtopr",
"updated": "20230604120825"
},
"Children": [
{
"Type": "NodeText",
"Data": ""
},
{
"Type": "NodeTextMark",
"TextMarkType": "tag",
"TextMarkTextContent": "注意"
},
{
"Type": "NodeText",
"Data": "​:搜索資源文件路徑需要先啟用 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "設置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "搜索"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "索引"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "資源文件路徑"
},
{
"Type": "NodeText",
"Data": "​。"
}
]
},