Skip to content

feat(windows): add sidebar shortcut, workspace notes, and task reminders - #1712

Draft
MOTKAR wants to merge 1 commit into
Astro-Han:mainfrom
MOTKAR:codex/sidebar-notes-and-shortcuts
Draft

MOTKAR wants to merge 1 commit into
Astro-Han:mainfrom
MOTKAR:codex/sidebar-notes-and-shortcuts

Conversation

@MOTKAR

@MOTKAR MOTKAR commented Nov 16, 2026 •

Copy link
Copy Markdown

Summary

Adds a Windows sidebar workflow for keeping notes and tracking follow-up work alongside files:

  • Open the sidebar with Ctrl+Alt+A and resolve the active File Explorer folder, with an access prompt for new workspaces.
  • Save workspace memory to memory.md and keep separate notes for selected files.
  • Create tasks associated with workspace memory or a file, including due dates, reminder offsets, pending tasks, and completed-task history.
  • Provide explicit Windows Restart and Quit controls so closing the sidebar and restarting the app are distinct actions.

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:

Check Result
pnpm typecheck Passed
pnpm lint Passed
Focused Vitest checks covering the changed features 81 passed across 14 test files
node --test "packages/desktop-electron/resources/dsh/**/*.test.cjs" 143 passed, including Word text/table extraction, PDF text extraction, scanned-PDF OCR, and invalid-document rejection
pnpm --filter @pawwork/desktop build Passed
pnpm --filter @pawwork/desktop test Not passing: 589 passed, 15 failed, 11 skipped in the Vitest stage

The complete desktop suite currently fails in pawwork-home, dsh-product-patch.testing, dsh-product-home, mcp-oauth, ensure-release-draft, and release-workflow-contract tests. Observed failures include Windows symlink EPERM, 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:

  1. Launch the updated Windows build, open a real folder in File Explorer, and press Ctrl+Alt+A. Confirm the sidebar selects that folder and prompts before granting access to a new workspace.
  2. Open Notes, save workspace memory, reopen the notes window, and confirm it persists.
  3. Choose a file, save file-specific notes, and confirm notes stay associated with that file.
  4. Create a task with a due time and reminder offset. Check the pending list, notification delivery, completion, and history.
  5. Attach a small .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.
  6. Check Restart loads the updated process and Quit exits rather than hiding the sidebar.

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

Workspace memory editor with Save notes control

File-specific notes

File notes editor with Choose file control
Task creation and pending tasks

Task creation with due time, associated file, and reminder offset

Task creation form showing due date and reminder offset

Pending tasks view

Pending tasks tab showing its empty state
Windows sidebar alongside the desktop PawWork sidebar with workspace selection and Notes entry

Risk

  • Integration: GitHub currently reports merge conflicts with current main. The branch was developed against 2026.9.11; those conflicts must be resolved and the resulting code retested before this draft is ready for review. Cross-platform verification is also pending. The overall contribution is broad.
  • Windows behavior: Global shortcut conflicts, Explorer folder detection, always-on-top behavior, and installer/startup changes need review.
  • Local data: Notes and task metadata are written into the selected workspace. Uninstalling or changing versions should preserve these files.
  • Document processing: Extraction/OCR runs locally, but extracted text is sent to the selected model provider; a hosted provider therefore receives that text. English OCR can misread figures and complex tables.
  • Known limitations: The full document upload-to-summary workflow still needs confirmation in a freshly restarted app. Automatic long-document summarization in sections is not implemented. Image-only Word documents and older .doc files are not supported by this reader.
  • Reminders: Notification delivery depends on the app running and Windows notification settings.

Suggested type: enhancement.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@github-actions github-actions Bot added ci Continuous integration / GitHub Actions app Application behavior and product flows ui Design system and user interface platform Electron shell, OS integration, packaging, updater, signing, paths, and permissions P2 Medium priority labels Nov 16, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app Application behavior and product flows ci Continuous integration / GitHub Actions P2 Medium priority platform Electron shell, OS integration, packaging, updater, signing, paths, and permissions ui Design system and user interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant