Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
There was a problem hiding this comment.
Suggested priority: P2 (includes user-path files (packages/desktop-electron/resources/dsh/product/document-reader.cjs, packages/desktop-electron/resources/dsh/product/document-reader.test.cjs, packages/desktop-electron/resources/dsh/product/lib/client.js, packages/desktop-electron/resources/dsh/product/notes-preload.cjs, packages/desktop-electron/resources/dsh/product/notes.css, packages/desktop-electron/resources/dsh/product/notes.html, packages/desktop-electron/resources/dsh/product/notes.js, packages/desktop-electron/resources/dsh/product/preload.cjs, packages/desktop-electron/src/main/active-explorer.test.ts, packages/desktop-electron/src/main/active-explorer.ts, packages/desktop-electron/src/main/document-analysis.test.ts, packages/desktop-electron/src/main/document-analysis.ts, packages/desktop-electron/src/main/document-reader.test.ts, packages/desktop-electron/src/main/document-reader.ts, packages/desktop-electron/src/main/dsh-menu.test.ts, packages/desktop-electron/src/main/dsh-menu.ts, packages/desktop-electron/src/main/dsh-product-client.test.ts, packages/desktop-electron/src/main/dsh-product-preload.test.ts, packages/desktop-electron/src/main/index.ts, packages/desktop-electron/src/main/launch-mode.test.ts, packages/desktop-electron/src/main/launch-mode.ts, packages/desktop-electron/src/main/launch-workspace.test.ts, packages/desktop-electron/src/main/launch-workspace.ts, packages/desktop-electron/src/main/notes-preload.test.ts, packages/desktop-electron/src/main/windows.test.ts, packages/desktop-electron/src/main/windows.ts, packages/desktop-electron/src/main/workspace-access.test.ts, packages/desktop-electron/src/main/workspace-access.ts, packages/desktop-electron/src/main/workspace-notes.test.ts, packages/desktop-electron/src/main/workspace-notes.ts, packages/desktop-electron/src/main/workspace-tasks.test.ts, packages/desktop-electron/src/main/workspace-tasks.ts)).
P1/P0 are reserved for maintainer confirmation. Please relabel manually if this is a release blocker, security issue, data-loss risk, or updater/runtime failure.
Summary
Adds a Windows sidebar workflow for keeping notes and tracking follow-up work alongside files:
memory.mdand keep separate notes for selected files.The branch also includes local Word/PDF text extraction and bundled English OCR for scanned PDF pages, document-reading documentation, installer/launch handling, and supporting regression tests.
Why
When reviewing company documents, users need to record important points and follow-up tasks without repeatedly switching between the document, a separate notes app, and a reminder app. The sidebar keeps those actions accessible from the selected workspace, while notes remain in local files.
This is a first contribution developed against 2026.9.11. It is submitted as a draft for feedback on product fit, scope, and integration with current main. I am happy to split document reading, notes/tasks, and sidebar/shortcut changes into smaller PRs if that is easier to review.
How To Verify
Local checks on Windows, rerun on 16 November 2026 at commit
65f2ce35cf96b0b816d20d699faf4e3b69342f57:pnpm typecheckpnpm lintnode --test "packages/desktop-electron/resources/dsh/**/*.test.cjs"pnpm --filter @pawwork/desktop buildpnpm --filter @pawwork/desktop testThe complete desktop suite currently fails in
pawwork-home,dsh-product-patch.testing,dsh-product-home,mcp-oauth,ensure-release-draft, andrelease-workflow-contracttests. Observed failures include Windows symlinkEPERM, path/line-ending-sensitive assertions, and an OAuth error-class assertion. Their relationship to this branch has not been fully established. The Node plugin suite was run separately because the desktop test command stops after Vitest failures.Manual verification to reproduce:
.docx, a text PDF, and a scanned English PDF. Confirm extracted text is available before asking for a summary, and inspect PDF page references and OCR warnings.The screenshots below demonstrate the current interfaces; they do not establish that every manual step or the full upload-to-summary flow has passed.
Screenshots
Workspace memory and file-specific notes
Workspace memory
File-specific notes
Task creation and pending tasks
Task creation with due time, associated file, and reminder offset
Pending tasks view
Windows sidebar alongside the desktop
Risk
.docfiles are not supported by this reader.Suggested type: enhancement.