Skip to content

refactor(android): unify duplicated AST segment splitting into shared utility#228

Merged
hryhoriiK97 merged 1 commit intomainfrom
refactor/unify-ast-segment-splitting
Apr 9, 2026
Merged

refactor(android): unify duplicated AST segment splitting into shared utility#228
hryhoriiK97 merged 1 commit intomainfrom
refactor/unify-ast-segment-splitting

Conversation

@hryhoriiK97
Copy link
Copy Markdown
Collaborator

What/Why?

Unifies duplicated AST segment splitting logic on Android. EnrichedMarkdown.kt and MeasurementStore.kt each had their own copy of the segmentation code (splitting markdown AST into text, table, and math segments). This extracts it into a shared MarkdownSegment.

Testing

PR Checklist

  • Code compiles and runs on iOS
  • Code compiles and runs on Android
  • Updated documentation/README if applicable
  • Ran example app to verify changes

@hryhoriiK97 hryhoriiK97 merged commit 2d0195e into main Apr 9, 2026
5 checks passed
@hryhoriiK97 hryhoriiK97 deleted the refactor/unify-ast-segment-splitting branch April 10, 2026 10:34
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