Skip to content

Add toggles to exclude AI summary and highlights from synced notes - #12

Open
bashania wants to merge 1 commit into
leonardsellem:mainfrom
bashania:feat/optional-ai-note-sections
Open

Add toggles to exclude AI summary and highlights from synced notes#12
bashania wants to merge 1 commit into
leonardsellem:mainfrom
bashania:feat/optional-ai-note-sections

Conversation

@bashania

@bashania bashania commented Jun 9, 2026

Copy link
Copy Markdown

Summary

Some users want to sync only the raw transcript from Plaud, without the AI-generated note (the Summary and Highlights sections). Currently every note always contains all three sections with no way to opt out.

This PR adds two settings — Include summary and Include highlights — both defaulting to true, so existing behaviour is unchanged. Turning both off produces a transcript-only note.

Changes

  • settings-schema: add includeSummary / includeHighlights booleans (default true), normalized like the other boolean settings so malformed/missing persisted values fall back safely.
  • renderer: renderPlaudMarkdown now takes an optional RenderOptions argument and conditionally emits the ## Summary and ## Highlights sections. The ## Transcript section is always rendered. Default options preserve the previous output.
  • settings tab: two new toggles.
  • main: pass the current settings into the renderer callback.
  • docs: document the new settings in the README table.
  • tests: cover the new schema fields and the conditional rendering (transcript-only, summary-only, highlights-only).

Verification

  • npm run lint — clean
  • npm test — 58/58 passing
  • npm run build — succeeds

🤖 Generated with Claude Code

Adds two settings, "Include summary" and "Include highlights" (both
default true, preserving current behaviour), letting users sync just the
raw transcript without the AI-generated note sections.

- settings-schema: add includeSummary/includeHighlights with safe defaults
- renderer: accept render options and conditionally emit the Summary and
  Highlights sections; the Transcript section is always rendered
- settings tab: expose both toggles
- main: pass the current settings into the renderer callback
- docs: document the new settings
- tests: cover the new schema fields and conditional rendering

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant