Skip to content

Commit

Permalink
Merge tag 'v2.10.11-dev2' into feat/attrs-view-adaptive-width
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuoqiu-Yingyi committed Oct 14, 2023
1 parent 23bd6bc commit cd115ad
Show file tree
Hide file tree
Showing 57 changed files with 1,462 additions and 385 deletions.
3 changes: 3 additions & 0 deletions app/appearance/icons/ant/icon.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/appearance/icons/ant/icon.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"name": "ant",
"author": "Vanessa",
"url": "https://github.com/Vanessa219",
"version": "1.24.0"
"version": "1.25.0"
}
6 changes: 6 additions & 0 deletions app/appearance/icons/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
<body>
<h2>SiYuan</h2>
<div class="fn__clear">
<div>
<svg>
<use xlink:href="#iconKey"></use>
</svg>
iconKey
</div>
<div>
<svg>
<use xlink:href="#iconClock"></use>
Expand Down
3 changes: 3 additions & 0 deletions app/appearance/icons/material/icon.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/appearance/icons/material/icon.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"name": "material",
"author": "Vanessa",
"url": "https://github.com/Vanessa219",
"version": "1.24.0"
"version": "1.25.0"
}
2 changes: 1 addition & 1 deletion app/appearance/langs/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"date": "Date",
"select": "Select",
"multiSelect": "Multi-select",
"commandEmpty": "No command yet, click to go to the market to download more plugins",
"commandEmpty": "No command yet, click to go to the marketplace to install plugins",
"commandPanel": "Command Palette",
"cloudRegionNorthAmerica": "LiuYun (North America data center)",
"cloudRegionChina": "LianDi (Mainland China data center)",
Expand Down
2 changes: 1 addition & 1 deletion app/appearance/langs/es_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"fecha": "Fecha",
"seleccionar": "Seleccionar",
"multiSelect": "Selección múltiple",
"commandEmpty": "Sin comando todavía, haga clic para ir al mercado para descargar más complementos",
"commandEmpty": "Aún no hay ningún comando, haga clic para ir al mercado e instalar complementos",
"commandPanel": "Paleta de comandos",
"cloudRegionNorthAmerica": "LiuYun (Centro de datos de América del Norte)",
"cloudRegionChina": "LianDi (Centro de datos de China continental)",
Expand Down
2 changes: 1 addition & 1 deletion app/appearance/langs/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"date": "Date",
"select": "Sélectionner",
"multiSelect": "Multi-sélection",
"commandEmpty": "Aucune commande pour le moment, cliquez pour aller sur le marché pour télécharger plus de plugins",
"commandEmpty": "Pas de commande pour l'instant, cliquez pour aller sur la Marketplace pour installer les plugins",
"commandPanel": "Palette de commandes",
"cloudRegionNorthAmerica": "LiuYun (Centre de données d'Amérique du Nord)",
"cloudRegionChina": "LianDi (Centre de données de Chine continentale)",
Expand Down
2 changes: 1 addition & 1 deletion app/appearance/langs/zh_CHT.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"date": "日期",
"select": "單選",
"multiSelect": "多選",
"commandEmpty": "暫無命令,點擊前往集市下載更多插件",
"commandEmpty": "暫無指令,點選前往市集安裝插件",
"commandPanel": "命令面板",
"cloudRegionNorthAmerica": "流雲(北美資料中心)",
"cloudRegionChina": "鏈滴(中國大陸資料中心)",
Expand Down
2 changes: 1 addition & 1 deletion app/appearance/langs/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"date": "日期",
"select": "单选",
"multiSelect": "多选",
"commandEmpty": "暂无命令,点击前往集市下载更多插件",
"commandEmpty": "暂无命令,点击前往集市安装插件",
"commandPanel": "命令面板",
"cloudRegionNorthAmerica": "流云(北美数据中心)",
"cloudRegionChina": "链滴(中国大陆数据中心)",
Expand Down
2 changes: 1 addition & 1 deletion app/appx/AppxManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- use single quotes to avoid double quotes escaping in the publisher value -->
<Identity Name="89C2A984.SiYuan"
ProcessorArchitecture="x64"
Publisher='CN=087C656E-C1D9-42D8-8807-CED45A74FC0F'
Publisher="CN=087C656E-C1D9-42D8-8807-CED45A74FC0F"
Version="2.10.10.0"/>
<Properties>
<DisplayName>SiYuan</DisplayName>
Expand Down
5 changes: 3 additions & 2 deletions app/electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,10 @@ app.whenReady().then(() => {
return;
}
const ids = decodeURIComponent(new URL(item.webContents.getURL()).hash.substring(1)).split("\u200b");
if (ids.includes(data.options.rootID) || ids.includes(data.options.assetPath)) {
const options = JSON.parse(data.options);
if (ids.includes(options.rootID) || ids.includes(options.assetPath)) {
item.focus();
item.webContents.send("siyuan-open-file", data.options);
item.webContents.send("siyuan-open-file", options);
hasMatch = true;
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"Properties": {
"id": "20221223221636-ms2b4w9",
"title": "Flashcards",
"updated": "20230820185231"
"updated": "20231013104018"
},
"Children": [
{
Expand Down Expand Up @@ -87,7 +87,7 @@
"ListData": {},
"Properties": {
"id": "20230219092249-yzjjb1o",
"updated": "20230219092854"
"updated": "20231013104018"
},
"Children": [
{
Expand Down Expand Up @@ -132,20 +132,20 @@
},
"Properties": {
"id": "20230219092249-xdxmusm",
"updated": "20230219092407"
"updated": "20231013103949"
},
"Children": [
{
"ID": "20230219092249-04pxvxk",
"Type": "NodeParagraph",
"Properties": {
"id": "20230219092249-04pxvxk",
"updated": "20230219092407"
"updated": "20231013103949"
},
"Children": [
{
"Type": "NodeText",
"Data": "If the super block is set as a flashcard, the first sub-block of the super block will be regarded as a question, and the rest of the sub-blocks will be regarded as an answer"
"Data": "If a super block is set as a flashcard, the first sub-block of the super block will be regarded as a question, and the rest of the sub-blocks will be regarded as an answer"
}
]
}
Expand Down Expand Up @@ -178,6 +178,34 @@
]
}
]
},
{
"ID": "20231013103926-u4hxd38",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20231013103926-u4hxd38",
"updated": "20231013104018"
},
"Children": [
{
"ID": "20231013103926-o3y1n5a",
"Type": "NodeParagraph",
"Properties": {
"id": "20231013103926-o3y1n5a",
"updated": "20231013104018"
},
"Children": [
{
"Type": "NodeText",
"Data": "If a heading block is set as an flashcard, the heading block will be treated as a question and the blocks below it will be treated answers"
}
]
}
]
}
]
},
Expand Down
10 changes: 5 additions & 5 deletions app/guide/20210808180117-6v0mkxr/20230405172236-pg3l9eu.sy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"icon": "1f680",
"id": "20230405172236-pg3l9eu",
"title": "Performance Optimization",
"updated": "20230406155736"
"updated": "20231014100732"
},
"Children": [
{
Expand Down Expand Up @@ -393,7 +393,7 @@
"ListData": {},
"Properties": {
"id": "20230405172238-ba6rydi",
"updated": "20230405172238"
"updated": "20231014100732"
},
"Children": [
{
Expand Down Expand Up @@ -489,20 +489,20 @@
},
"Properties": {
"id": "20230405172238-2jjuvev",
"updated": "20230405172238"
"updated": "20231014100732"
},
"Children": [
{
"ID": "20230405172238-qnz5kn9",
"Type": "NodeParagraph",
"Properties": {
"id": "20230405172238-qnz5kn9",
"updated": "20230405172238"
"updated": "20231014100732"
},
"Children": [
{
"Type": "NodeText",
"Data": "Pictures and charts: Pictures and charts mainly affect the performance of the editor. If the document contains a large number of pictures and charts, the editor may freeze"
"Data": "Formulas, images and charts: Formulas, images and charts mainly affect the performance of the editor. If the document contains a large number of formulas, images and charts, the editor may freeze"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"Properties": {
"id": "20221223215557-o6gfsoy",
"title": "闪卡",
"updated": "20230820185147"
"updated": "20231013103850"
},
"Children": [
{
Expand Down Expand Up @@ -87,7 +87,7 @@
"ListData": {},
"Properties": {
"id": "20230219085658-xnrf7rf",
"updated": "20230219092140"
"updated": "20231013103850"
},
"Children": [
{
Expand All @@ -112,11 +112,7 @@
"Children": [
{
"Type": "NodeText",
"Data": "内容块"
},
{
"Type": "NodeText",
"Data": "中的 "
"Data": "内容块中的 "
},
{
"Type": "NodeTextMark",
Expand Down Expand Up @@ -186,6 +182,34 @@
]
}
]
},
{
"ID": "20231013103816-b0k440b",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20231013103816-b0k440b",
"updated": "20231013103850"
},
"Children": [
{
"ID": "20231013103816-sx34w1r",
"Type": "NodeParagraph",
"Properties": {
"id": "20231013103816-sx34w1r",
"updated": "20231013103850"
},
"Children": [
{
"Type": "NodeText",
"Data": "如果将标题块设置为上卡,则该标题块会被视作问题,其下方块会被视作答案"
}
]
}
]
}
]
},
Expand Down
Loading

0 comments on commit cd115ad

Please sign in to comment.