Skip to content

Add Gentle JSON import/export#305

Open
aroslavfirsov1-cmyk wants to merge 2 commits into
hyperaudio:mainfrom
aroslavfirsov1-cmyk:bounty-160-gentle-json
Open

Add Gentle JSON import/export#305
aroslavfirsov1-cmyk wants to merge 2 commits into
hyperaudio:mainfrom
aroslavfirsov1-cmyk:bounty-160-gentle-json

Conversation

@aroslavfirsov1-cmyk
Copy link
Copy Markdown

Refs #160 (Gentle JSON portion)

Summary

  • add Gentle JSON import/export menu actions alongside the existing Hyperaudio JSON actions
  • add a Gentle JSON converter that preserves word timings, offsets, paragraph markers, and punctuation found between Gentle word offsets
  • add fixture-based Node tests using the two Gentle JSON samples attached to the issue

Validation

  • node test/gentle-json-converter.test.js
  • node --check js/gentle-json-converter.js
  • node --check js/hyperaudio-lite-editor-export.js
  • node --check test/gentle-json-converter.test.js
  • git diff --check

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