Skip to content

fix(apple-notes): use full note title from body - #564

Open
markoub wants to merge 1 commit into
obsidianmd:masterfrom
markoub:markoub/apple-notes-full-title
Open

fix(apple-notes): use full note title from body#564
markoub wants to merge 1 commit into
obsidianmd:masterfrom
markoub:markoub/apple-notes-full-title

Conversation

@markoub

@markoub markoub commented Jun 16, 2026

Copy link
Copy Markdown

Summary

  • use the first line from decoded Apple Notes content as the imported note title
  • fall back to the existing database title when the decoded content has no usable title line
  • add unit coverage for long titles, line endings, trimming, and fallback behavior

Closes #541

Validation

  • pnpm install --frozen-lockfile
  • pnpm exec tsx --test tests/apple-notes/title.test.ts
  • pnpm exec eslint src/formats/apple-notes.ts src/formats/apple-notes/title.ts tests/apple-notes/title.test.ts
  • pnpm run test
  • pnpm run build
  • git diff --check origin/master...HEAD

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.

Apple notes: Title on long notes gets truncated

1 participant