🎨 /资源 支持搜索未索引的文件 https://github.com/siyuan-note/siyuan/issues/5416

This commit is contained in:
Liang Ding 2022-07-15 09:30:37 +08:00
parent 4a64f5592f
commit e0af974bf8
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 201 additions and 25 deletions

View file

@ -5,7 +5,7 @@
"id": "20200924100744-br924ar",
"title": "Assets",
"type": "doc",
"updated": "20220711122005"
"updated": "20220715092808"
},
"Children": [
{
@ -625,7 +625,7 @@
"ListData": {},
"Properties": {
"id": "20220503122349-o26mvnq",
"updated": "20220503122616"
"updated": "20220715092808"
},
"Children": [
{
@ -650,7 +650,23 @@
"Children": [
{
"Type": "NodeText",
"Data": "When deleting the notebook, in order to ensure that cross-notebook asset references work properly, the assets under the notebook will be copied to the global assets in batches"
"Data": "When deleting the notebook, in order to ensure that cross-notebook asset references work properly, the "
},
{
"Type": "NodeText",
"Data": "assets"
},
{
"Type": "NodeText",
"Data": " under the notebook will be copied to the global "
},
{
"Type": "NodeText",
"Data": "assets"
},
{
"Type": "NodeText",
"Data": " in batches"
}
]
}
@ -678,7 +694,63 @@
"Children": [
{
"Type": "NodeText",
"Data": "Does not support viewing notebook-level assets history in data history"
"Data": "Does not support viewing notebook-level "
},
{
"Type": "NodeText",
"Data": "assets"
},
{
"Type": "NodeText",
"Data": " history in "
},
{
"Type": "NodeText",
"Data": "data history"
}
]
}
]
},
{
"ID": "20220715092756-f5azf15",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220715092756-f5azf15",
"updated": "20220715092808"
},
"Children": [
{
"ID": "20220715092756-4bzibji",
"Type": "NodeParagraph",
"Properties": {
"id": "20220715092756-4bzibji",
"updated": "20220715092808"
},
"Children": [
{
"Type": "NodeText",
"Data": "Dose not support search by "
},
{
"Type": "NodeCodeSpan",
"Data": "code",
"Children": [
{
"Type": "NodeCodeSpanOpenMarker"
},
{
"Type": "NodeCodeSpanContent",
"Data": "/Assets"
},
{
"Type": "NodeCodeSpanCloseMarker"
}
]
}
]
}

View file

@ -5,7 +5,7 @@
"id": "20200915214115-42b8zma",
"title": "资源文件",
"type": "doc",
"updated": "20220711122042"
"updated": "20220715092726"
},
"Children": [
{
@ -547,7 +547,7 @@
"ListData": {},
"Properties": {
"id": "20220503121213-afjyt05",
"updated": "20220503121834"
"updated": "20220715092726"
},
"Children": [
{
@ -600,7 +600,63 @@
"Children": [
{
"Type": "NodeText",
"Data": "不支持在数据历史中查看笔记本级资源文件历史"
"Data": "不支持在"
},
{
"Type": "NodeText",
"Data": "数据历史"
},
{
"Type": "NodeText",
"Data": "中查看笔记本级资源文件历史"
}
]
}
]
},
{
"ID": "20220715092717-dbd9ih9",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220715092717-dbd9ih9",
"updated": "20220715092726"
},
"Children": [
{
"ID": "20220715092717-btrw2bk",
"Type": "NodeParagraph",
"Properties": {
"id": "20220715092717-btrw2bk",
"updated": "20220715092726"
},
"Children": [
{
"Type": "NodeText",
"Data": "不支持使用 "
},
{
"Type": "NodeCodeSpan",
"Data": "code",
"Children": [
{
"Type": "NodeCodeSpanOpenMarker"
},
{
"Type": "NodeCodeSpanContent",
"Data": "/资源"
},
{
"Type": "NodeCodeSpanCloseMarker"
}
]
},
{
"Type": "NodeText",
"Data": " 搜索"
}
]
}

View file

@ -4,7 +4,7 @@
"Properties": {
"id": "20211226123038-4umgpxy",
"title": "資料文件",
"updated": "20220711122031"
"updated": "20220715092951"
},
"Children": [
{
@ -242,7 +242,7 @@
},
"Properties": {
"id": "20211226123051-1qp7a9g",
"updated": "20220711121953"
"updated": "20220715092951"
},
"Children": [
{
@ -256,7 +256,7 @@
},
"Properties": {
"id": "20211226123051-mmn60x5",
"updated": "20220711121953"
"updated": "20220715092951"
},
"Children": [
{
@ -264,12 +264,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20211226123051-p8dr1dy",
"updated": "20220711121953"
"updated": "20220715092951"
},
"Children": [
{
"Type": "NodeText",
"Data": "引用具體的資料文件,比如圖片或者文件。如果資文件是 PDF 且做過"
"Data": "引用具體的資料文件,比如圖片或者文件。如果資文件是 PDF 且做過"
},
{
"Type": "NodeBlockRef",
@ -511,12 +511,12 @@
"HeadingLevel": 2,
"Properties": {
"id": "20220503122338-a69glac",
"updated": "20220503122338"
"updated": "20220715092913"
},
"Children": [
{
"Type": "NodeText",
"Data": "筆記本級資文件"
"Data": "筆記本級資文件"
}
]
},
@ -525,12 +525,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20220503122338-re7pyhf",
"updated": "20220503122338"
"updated": "20220715092933"
},
"Children": [
{
"Type": "NodeText",
"Data": "如果需要默認將插入的資文件放置在文檔同級 assets 文件夾下,則需要先手動創建名為 assets 的文件夾,這樣思源會優先選擇該 assets 文件夾來存放資文件。"
"Data": "如果需要默認將插入的資文件放置在文檔同級 assets 文件夾下,則需要先手動創建名為 assets 的文件夾,這樣思源會優先選擇該 assets 文件夾來存放資文件。"
}
]
},
@ -539,12 +539,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20220503122338-gxfzjcm",
"updated": "20220503122338"
"updated": "20220715092934"
},
"Children": [
{
"Type": "NodeText",
"Data": "建議盡量不要使用筆記本級資文件,因為這會帶來一些副作用:"
"Data": "建議盡量不要使用筆記本級資文件,因為這會帶來一些副作用:"
}
]
},
@ -554,7 +554,7 @@
"ListData": {},
"Properties": {
"id": "20220503122338-jmr7c2k",
"updated": "20220503122338"
"updated": "20220715092938"
},
"Children": [
{
@ -566,7 +566,7 @@
},
"Properties": {
"id": "20220503122338-4zg71qe",
"updated": "20220503122338"
"updated": "20220715092936"
},
"Children": [
{
@ -574,12 +574,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20220503122338-t6apzrh",
"updated": "20220503122338"
"updated": "20220715092936"
},
"Children": [
{
"Type": "NodeText",
"Data": "刪除該筆記本時,為保證跨筆記本資源文件引用正常工作,該筆記本下的資源文件會被批量複製到全局 assets 中"
"Data": "刪除該筆記本時,為保證跨筆記本資料文件引用正常工作,該筆記本下的資料文件會被批量複製到全局 assets 中"
}
]
}
@ -594,7 +594,7 @@
},
"Properties": {
"id": "20220503122338-64cnjli",
"updated": "20220503122338"
"updated": "20220715092938"
},
"Children": [
{
@ -602,12 +602,60 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20220503122338-e5zlrvp",
"updated": "20220503122338"
"updated": "20220715092938"
},
"Children": [
{
"Type": "NodeText",
"Data": "不支持在數據歷史中查看筆記本級資源文件歷史"
"Data": "不支持在數據歷史中查看筆記本級資料文件歷史"
}
]
}
]
},
{
"ID": "20220715092849-nxblvyk",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220715092849-nxblvyk",
"updated": "20220715092907"
},
"Children": [
{
"ID": "20220715092849-n45ydou",
"Type": "NodeParagraph",
"Properties": {
"id": "20220715092849-n45ydou",
"updated": "20220715092907"
},
"Children": [
{
"Type": "NodeText",
"Data": "不支持使用 "
},
{
"Type": "NodeCodeSpan",
"Data": "code",
"Children": [
{
"Type": "NodeCodeSpanOpenMarker"
},
{
"Type": "NodeCodeSpanContent",
"Data": "/資料"
},
{
"Type": "NodeCodeSpanCloseMarker"
}
]
},
{
"Type": "NodeText",
"Data": " 搜索"
}
]
}