Commit graph

2798 commits

Author SHA1 Message Date
lin onetwo
83874807a9 feat: remove deprecated symlink subwiki approach 2025-10-30 23:28:46 +08:00
lin onetwo
2dd81c964e Update window.ts 2025-10-30 23:20:37 +08:00
lin onetwo
aed9843455 fix: Failed to take screenshot: Error: ENAMETOOLONG: name too long, open '/home/runner/work/TidGi-Desktop/TidGi-Desktop/userData-test/logs/screenshots/Agent workflow - Create notes- update embeddings- then search/2025-10-30T11-46-28-891Z-I type -在 wiki 工作区创建一个名为 AI Agent Guide 的笔记-内容是-智能体是一种可以执行任务的AI系统-它可以使用工具-搜索信息并与用户交互- in -chat input- element with selec-PASSED-page.png' 2025-10-30 23:18:37 +08:00
lin onetwo
3d2e36bcbf fix: webview screenshot capture prevent mini window to close 2025-10-30 19:37:47 +08:00
lin onetwo
0b483352a9 Update window.ts 2025-10-30 19:04:32 +08:00
lin onetwo
ab0d44a0c9 Ensure window has focus and is ready 2025-10-30 15:49:38 +08:00
lin onetwo
a475a095d1 Update selectors for add and confirm buttons in tests
Changed the CSS selectors for the add tiddler and confirm buttons in the filesystem plugin feature tests to use :has() with icon classes. This improves selector robustness and aligns with UI changes.
2025-10-30 15:10:11 +08:00
lin onetwo
197af220ed Separate logs by test scenario for easier debugging 2025-10-30 15:09:23 +08:00
lin onetwo
98fe79482f test: add some time to easy failed steps 2025-10-30 14:25:07 +08:00
lin onetwo
f015af2b90 rename 2025-10-30 14:24:56 +08:00
lin onetwo
83522a317e Update SyncArchitecture.md 2025-10-30 14:13:28 +08:00
lin onetwo
2e10ae2560 Update filesystemPlugin.feature 2025-10-30 13:59:33 +08:00
lin onetwo
0ee7b634ed feat: capture webview screenshot 2025-10-30 13:57:23 +08:00
lin onetwo
867940516b Update cleanup.ts 2025-10-30 04:36:41 +08:00
lin onetwo
99220b23e2 test: fix cleanup timeout 2025-10-30 04:18:26 +08:00
lin onetwo
e4e97fadd3 fix: minor issues 2025-10-30 04:08:49 +08:00
lin onetwo
2e23d5cf9e test: view might take longer to load 2025-10-30 03:48:16 +08:00
lin onetwo
4e6d1cff29 fix: prevent ipc echo change back to frontend 2025-10-30 03:45:42 +08:00
lin onetwo
a5bfb8d779 fix: when move file to subwiki, delete old file 2025-10-30 03:45:25 +08:00
lin onetwo
530e4c6e3c Revert "fix: prevent echo by exclude title"
This reverts commit 86aa838d24.
2025-10-30 02:42:45 +08:00
lin onetwo
e3747d7dbf test: Then file "Draft of '新条目'.tid" should not exist in "{tmpDir}/wiki/tiddlers" 2025-10-30 02:42:34 +08:00
lin onetwo
86aa838d24 fix: prevent echo by exclude title 2025-10-30 02:34:51 +08:00
lin onetwo
1c88aca19b Update view.ts 2025-10-30 02:13:13 +08:00
lin onetwo
d327343f4d Check if the WebContents is actually loaded and remove fake webContentsViewHelper.new.ts created by AI 2025-10-30 02:11:46 +08:00
lin onetwo
ae8724217f Optimize test steps and screenshot logic
Removed unnecessary short waits in filesystemPlugin.feature and increased wait time for tiddler state to settle. Updated application.ts to skip screenshots for wait steps, reducing redundant screenshots during test execution.
2025-10-30 00:04:25 +08:00
lin onetwo
bb7ae1adef test: use id to check view load and sse load 2025-10-29 23:09:54 +08:00
lin onetwo
da0e32ea87 Update filesystemPlugin.feature 2025-10-29 20:00:14 +08:00
lin onetwo
5bf3ef75fc fix: routing tw logger to file 2025-10-29 19:16:36 +08:00
lin onetwo
be85dcb358 Update filesystemPlugin.feature 2025-10-29 18:32:41 +08:00
lin onetwo
f35d2e8c33 fix: draft not move to sub 2025-10-29 16:09:03 +08:00
lin onetwo
c7b5c0e806 Update wiki.ts 2025-10-29 14:25:14 +08:00
lin onetwo
1221f89c6f remove log 2025-10-29 14:22:44 +08:00
lin onetwo
6af843c872 Update wiki.ts 2025-10-29 14:14:33 +08:00
lin onetwo
2e9936ce80
Update BACKOFF_OPTIONS with new configuration 2025-10-29 02:20:19 +08:00
lin onetwo
a3f3f5e3e7
Implement backoff for file existence check
Refactor file existence check to use backoff strategy and add directory tree retrieval for error reporting.
2025-10-29 02:08:17 +08:00
lin onetwo
2000bb2743 lint 2025-10-29 01:50:01 +08:00
lin onetwo
063af34a7e Update Sync.timezone.test.ts 2025-10-29 01:49:05 +08:00
lin onetwo
ae5fac1642 fix: potential symlinks problem of subwiki 2025-10-29 01:39:52 +08:00
lin onetwo
9faea68ed9 Update index.tsx 2025-10-29 01:30:12 +08:00
lin onetwo
f615f9f168 i18n for notification 2025-10-29 01:26:48 +08:00
lin onetwo
347946a3bb Fix sync interval timezone handling and add tests
Refactored syncDebounceInterval logic in Sync.tsx to be timezone-independent, ensuring correct interval storage and display across all timezones. Added comprehensive tests in Sync.timezone.test.ts to verify correct behavior and document previous timezone-related bugs. fixes #310
2025-10-29 01:06:22 +08:00
lin onetwo
4e4ba11035 Update filesystemPlugin.feature 2025-10-29 00:57:59 +08:00
lin onetwo
b6fcd4a6db rename camelcase 2025-10-29 00:57:57 +08:00
lin onetwo
46d646df46 Update watch-filesystem-adaptor.ts 2025-10-29 00:50:43 +08:00
lin onetwo
0899cf83f6 feat: deboucne and prevent data race when write file 2025-10-29 00:49:12 +08:00
lin onetwo
2c654305b3 Refactor sync echo prevention and improve logging
Removed frontend-side echo prevention logic in ipcSyncAdaptor, relying solely on backend file exclusion for echo prevention. Improved console log wrappers to preserve native behavior and added a log statement to setupSSE. Updated test steps and file modification logic to better simulate external edits without modifying timestamps. Added internal documentation on sync architecture.
2025-10-29 00:34:28 +08:00
lin onetwo
a79fd01468 auto reload view and click subwiki icon 2025-10-28 21:36:25 +08:00
lin onetwo
7a4b860972 Update wiki.ts 2025-10-28 21:20:39 +08:00
lin onetwo
e1aedc1220 fix 2025-10-28 21:11:24 +08:00
lin onetwo
7b8e0c3862 fix: error on frontend loading worker thread 2025-10-28 20:37:05 +08:00