Skip to content

feat(android): improve chat streaming and markdown rendering#26079

Merged
obviyus merged 6 commits intomainfrom
fix/android-chat-ui-gfm-20260225
Feb 25, 2026
Merged

feat(android): improve chat streaming and markdown rendering#26079
obviyus merged 6 commits intomainfrom
fix/android-chat-ui-gfm-20260225

Conversation

@obviyus
Copy link
Contributor

@obviyus obviyus commented Feb 25, 2026

Summary

Improve Android chat UX in one pass:

  • restore incremental assistant text streaming
  • switch chat markdown rendering to CommonMark + GFM extensions
  • bump Android dependencies to stable newer versions

Changes

  • Fix streaming event filtering in ChatController and consume chat delta updates.
  • Replace regex markdown parser with AST-based renderer supporting headings, lists, blockquotes, tables, task markers, code blocks, and inline formatting.
  • Add commonmark + GFM extension dependencies.
  • Bump stable deps only:
    • compose BOM 2026.02.00
    • navigation compose 2.9.7
    • kotlinx serialization json 1.10.0
    • kotest 6.1.3
    • robolectric 4.16.1

Validation

  • cd apps/android && ./gradlew :app:compileDebugKotlin

Greptile Summary

This PR restores incremental chat streaming and upgrades markdown rendering to use a proper CommonMark AST parser with GFM extensions. The streaming fix adds delta state handling in ChatController and corrects session filtering from runId to sessionKey. The markdown renderer now supports headings, lists (including task lists), blockquotes, tables, code blocks, and inline formatting through the commonmark library instead of brittle regex patterns.

Confidence Score: 4/5

  • This PR is safe to merge with low risk - dependency updates are stable versions and code changes restore existing functionality
  • The streaming fix is straightforward (adding missing delta handler), markdown refactor replaces fragile regex with a mature AST parser, and all dependency bumps are to stable releases with minor version increments. No breaking changes or risky patterns detected.
  • No files require special attention

Last reviewed commit: 3523b0f

@openclaw-barnacle openclaw-barnacle bot added app: android App: android size: L maintainer Maintainer-authored PR labels Feb 25, 2026
@openclaw-barnacle openclaw-barnacle bot added the agents Agent runtime and tooling label Feb 25, 2026
@obviyus obviyus merged commit d942e59 into main Feb 25, 2026
7 checks passed
@obviyus obviyus deleted the fix/android-chat-ui-gfm-20260225 branch February 25, 2026 04:02
@obviyus
Copy link
Contributor Author

obviyus commented Feb 25, 2026

Landed via temp rebase onto main.

  • Gate: pnpm lint && pnpm build && pnpm test (local run failed in test/scripts/ios-team-id.test.ts with 2 assertions; unrelated to this Android PR scope)
  • Land commit: 520ad80
  • Merge commit: d942e59

Thanks @obviyus!

Jackson3195 pushed a commit to Jackson3195/openclaw-with-a-personal-touch that referenced this pull request Feb 25, 2026
brianleach pushed a commit to brianleach/openclaw that referenced this pull request Feb 26, 2026
execute008 pushed a commit to execute008/openclaw that referenced this pull request Feb 27, 2026
r4jiv007 pushed a commit to r4jiv007/openclaw that referenced this pull request Feb 28, 2026
hughdidit pushed a commit to hughdidit/DAISy-Agency that referenced this pull request Mar 1, 2026
hughdidit pushed a commit to hughdidit/DAISy-Agency that referenced this pull request Mar 3, 2026
zooqueen pushed a commit to hanzoai/bot that referenced this pull request Mar 6, 2026
thebenjaminlee pushed a commit to escape-velocity-ventures/openclaw that referenced this pull request Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: android App: android maintainer Maintainer-authored PR size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants