Add toggles to exclude AI summary and highlights from synced notes - #12
Open
bashania wants to merge 1 commit into
Open
Add toggles to exclude AI summary and highlights from synced notes#12bashania wants to merge 1 commit into
bashania wants to merge 1 commit into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
includeSummary/includeHighlightsbooleans (defaulttrue), normalized like the other boolean settings so malformed/missing persisted values fall back safely.renderPlaudMarkdownnow takes an optionalRenderOptionsargument and conditionally emits the## Summaryand## Highlightssections. The## Transcriptsection is always rendered. Default options preserve the previous output.Verification
npm run lint— cleannpm test— 58/58 passingnpm run build— succeeds🤖 Generated with Claude Code