noteconnection 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 2026-01-
|
|
1
|
+
# 2026-01-23 v1.1.2
|
|
2
2
|
|
|
3
3
|
# NoteConnection Knowledge Graph
|
|
4
4
|
|
|
@@ -165,6 +165,7 @@ build_apk.bat
|
|
|
165
165
|
```
|
|
166
166
|
|
|
167
167
|
This script automatically:
|
|
168
|
+
|
|
168
169
|
1. Checks your environment (Node, Java, Android SDK).
|
|
169
170
|
2. Installs dependencies.
|
|
170
171
|
3. Builds web assets.
|
|
@@ -265,6 +266,15 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
|
|
|
265
266
|
|
|
266
267
|
## 📅 Changelog
|
|
267
268
|
|
|
269
|
+
### v1.1.2 - Path Resolution & UI Stability (2026-01-23)
|
|
270
|
+
|
|
271
|
+
- **Backend Protocol Fix**:
|
|
272
|
+
- Improved `src/server.ts` to correctly handle URL query parameters (e.g., `?v=timestamp`) for static files.
|
|
273
|
+
- Resolves issues where cache-busting URLs would return 404 on Windows.
|
|
274
|
+
- **UI Interaction Fix**:
|
|
275
|
+
- **Welcome Modal**: Fixed a bug in `welcome.js` where skipping the tutorial would cause the folder selection menu to become unresponsive due to `z-index` clobbering.
|
|
276
|
+
- Guaranteed `z-index: 1000` preservation for `#source-control` across all modal dismissal paths.
|
|
277
|
+
|
|
268
278
|
### v1.1.1 - Mobile Build Automation (2026-01-22)
|
|
269
279
|
|
|
270
280
|
- **Mobile DevOps**:
|
|
@@ -836,6 +846,7 @@ build_apk.bat
|
|
|
836
846
|
```
|
|
837
847
|
|
|
838
848
|
该脚本会自动:
|
|
849
|
+
|
|
839
850
|
1. 检查您的环境 (Node, Java, Android SDK)。
|
|
840
851
|
2. 安装依赖项。
|
|
841
852
|
3. 构建 Web 资源。
|
|
@@ -923,6 +934,15 @@ npm start -- --path "E:/Knowledge/ObsidianVault" --no-gpu
|
|
|
923
934
|
|
|
924
935
|
## 📅 更新日志 (Changelog)
|
|
925
936
|
|
|
937
|
+
### v1.1.2 - 路径解析与 UI 稳定性 (2026-01-23)
|
|
938
|
+
|
|
939
|
+
- **后端协议修复**:
|
|
940
|
+
- 改进了 `src/server.ts`,使其能够正确处理静态文件的 URL 查询参数(如 `?v=timestamp`)。
|
|
941
|
+
- 解决了 Windows 环境下带缓存刷新参数的 URL 返回 404 的问题。
|
|
942
|
+
- **UI 交互修复**:
|
|
943
|
+
- **欢迎弹窗**: 修复了 `welcome.js` 中的一个错误,即跳过教程会导致文件夹选择菜单因 `z-index` 被清除而无法响应的问题。
|
|
944
|
+
- 确保 `#source-control` 在所有弹窗关闭路径下都能保持 `z-index: 1000`。
|
|
945
|
+
|
|
926
946
|
### v1.1.1 - 移动端构建自动化 (2026-01-22)
|
|
927
947
|
|
|
928
948
|
- **移动端运维**:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 2026-01-
|
|
1
|
+
# 2026-01-23 v1.1.2
|
|
2
2
|
|
|
3
3
|
# NoteConnection Knowledge Graph
|
|
4
4
|
|
|
@@ -165,6 +165,7 @@ build_apk.bat
|
|
|
165
165
|
```
|
|
166
166
|
|
|
167
167
|
This script automatically:
|
|
168
|
+
|
|
168
169
|
1. Checks your environment (Node, Java, Android SDK).
|
|
169
170
|
2. Installs dependencies.
|
|
170
171
|
3. Builds web assets.
|
|
@@ -265,6 +266,15 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
|
|
|
265
266
|
|
|
266
267
|
## 📅 Changelog
|
|
267
268
|
|
|
269
|
+
### v1.1.2 - Path Resolution & UI Stability (2026-01-23)
|
|
270
|
+
|
|
271
|
+
- **Backend Protocol Fix**:
|
|
272
|
+
- Improved `src/server.ts` to correctly handle URL query parameters (e.g., `?v=timestamp`) for static files.
|
|
273
|
+
- Resolves issues where cache-busting URLs would return 404 on Windows.
|
|
274
|
+
- **UI Interaction Fix**:
|
|
275
|
+
- **Welcome Modal**: Fixed a bug in `welcome.js` where skipping the tutorial would cause the folder selection menu to become unresponsive due to `z-index` clobbering.
|
|
276
|
+
- Guaranteed `z-index: 1000` preservation for `#source-control` across all modal dismissal paths.
|
|
277
|
+
|
|
268
278
|
### v1.1.1 - Mobile Build Automation (2026-01-22)
|
|
269
279
|
|
|
270
280
|
- **Mobile DevOps**:
|
|
@@ -836,6 +846,7 @@ build_apk.bat
|
|
|
836
846
|
```
|
|
837
847
|
|
|
838
848
|
该脚本会自动:
|
|
849
|
+
|
|
839
850
|
1. 检查您的环境 (Node, Java, Android SDK)。
|
|
840
851
|
2. 安装依赖项。
|
|
841
852
|
3. 构建 Web 资源。
|
|
@@ -923,6 +934,15 @@ npm start -- --path "E:/Knowledge/ObsidianVault" --no-gpu
|
|
|
923
934
|
|
|
924
935
|
## 📅 更新日志 (Changelog)
|
|
925
936
|
|
|
937
|
+
### v1.1.2 - 路径解析与 UI 稳定性 (2026-01-23)
|
|
938
|
+
|
|
939
|
+
- **后端协议修复**:
|
|
940
|
+
- 改进了 `src/server.ts`,使其能够正确处理静态文件的 URL 查询参数(如 `?v=timestamp`)。
|
|
941
|
+
- 解决了 Windows 环境下带缓存刷新参数的 URL 返回 404 的问题。
|
|
942
|
+
- **UI 交互修复**:
|
|
943
|
+
- **欢迎弹窗**: 修复了 `welcome.js` 中的一个错误,即跳过教程会导致文件夹选择菜单因 `z-index` 被清除而无法响应的问题。
|
|
944
|
+
- 确保 `#source-control` 在所有弹窗关闭路径下都能保持 `z-index: 1000`。
|
|
945
|
+
|
|
926
946
|
### v1.1.1 - 移动端构建自动化 (2026-01-22)
|
|
927
947
|
|
|
928
948
|
- **移动端运维**:
|
|
@@ -252,7 +252,7 @@ function showWelcomeModal(hasNodes = false) {
|
|
|
252
252
|
// Remove highlight
|
|
253
253
|
if (sourceControl) {
|
|
254
254
|
sourceControl.style.boxShadow = '';
|
|
255
|
-
sourceControl.style.zIndex = '';
|
|
255
|
+
sourceControl.style.zIndex = '1000';
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
// Mark as "seen" or just let them explore?
|
package/dist/src/server.js
CHANGED
|
@@ -282,7 +282,9 @@ const startServer = async (options = {}) => {
|
|
|
282
282
|
return;
|
|
283
283
|
}
|
|
284
284
|
// Serve Static Files
|
|
285
|
-
|
|
285
|
+
// v0.9.83 Fix: Strip query parameters (e.g. ?v=123) to verify file existence on disk
|
|
286
|
+
const urlObj = new URL(req.url, `http://${req.headers.host}`);
|
|
287
|
+
let urlPath = urlObj.pathname === '/' ? 'index.html' : urlObj.pathname;
|
|
286
288
|
// CLI Mode: Serve the specific CLI data file instead of the default data.js
|
|
287
289
|
// This ensures the frontend loads the data calculated from the CLI parameters
|
|
288
290
|
// without modifying the original data.js file.
|