Repository navigation
fix(mobile): chat code blocks colour diff, kotlin, sql and other languages again - #33680
Approved
- Eligibility · Permissive mode · Your custom policy
- Correctness
Note
More information about how approvability works can be found in our Help Center.
Details
Eligibility
Restores syntax colouring for additional mobile chat code languages, preserves copy and wrap controls, and improves Android menu positioning. The changes remain local presentation and interaction updates with no material data or operational exposure.
Additional Thinking
Your Custom Policy
Default approvability criteria apply. The change restores code-block presentation and adjusts menu layout, without changing product defaults or introducing diagnostic-suppression directives in the assessed diff; neither additional human-review condition is triggered.
Code
Restores mobile syntax colouring for languages unsupported by enriched-markdown using the existing local native highlighter. Adds matching code-block framing, wrap and copy controls, extracts Mermaid header presentation, and adjusts Android menu placement for constrained space. Highlighting falls back to plain text when the native module is unavailable; no server, persistence, or external transmission changes are present in the assessed diff. Customer-ignored files were not reconstructed.
Review Context
The author is a repository admin and ping-devs member; no ownership requirement was supplied. The supplied thread check reports no unresolved comments and two resolved threads. Agent results are skipped or unknown and impose no applicable prerequisite; no configured blocking correctness finding was supplied.
Verdict
The understood effects are confined to mobile rendering and local copy/menu interactions, reusing an existing on-device highlighting implementation. No material data, access, operational, or product-policy decision requires human judgment.
Notes:
No code owners found in target merge base 871b009
Agent Credits: 30 credits
Approvability runs at a flat rate of 30 credits whenever the agent is asked for a verdict.