Skip to content

fix(mobile): sync desktop model settings and render formulas - #667

Merged
huichen merged 10 commits into
mainfrom
fix/mobile-doc-audit
Sep 16, 2026
Merged

huichen merged 10 commits into
mainfrom
fix/mobile-doc-audit

Conversation

@huichen

@huichen huichen commented Sep 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Audit the six items in the supplied mobile test report against the current main branch. Full findings and device acceptance steps are in mobile/docs/issue-audit-2026-09-16.md.

  • Honor desktop model visibility in the paired-phone catalogue; notify connected phones after settings commit, and distinguish an intentionally all-hidden catalogue from Agent warm-up.
  • Apply live model/thinking changes to the active mobile conversation and restore missed settings on reconciliation; protect against stale responses and cross-session updates.
  • Render inline/display TeX as offline native SVG using MathJax 4 and a self-contained font (no WebView/CDN). Support basic/AMS formulas, retain source for incomplete/unsupported input, bound output/cache size, and handle native environment/Metro resolution.
  • Word/Excel file actions, hidden-file filtering and drafting during streaming already have implementations. Add targeted Office/hidden-file regressions and verify the existing streaming-draft tests instead of rewriting working flows.

Validation

  • Mobile TypeScript + ESLint + 100 suites / 1432 tests passed after merging fix(mobile): align activity rows and stage share destinations #668.
  • Android + iOS production JS/Hermes exports succeeded.
  • Rust 1.97.0: formatting and all-target Clippy with -D warnings, GUI and headless.
  • GUI backend: 1264 library + 1 binary + 5 integration tests passed (1 library test ignored).
  • Headless backend: 997 library + 1 binary + 6 integration tests passed (1 library test ignored).
  • Real SVG-layout tests cover roots/fractions/sums/matrices, malformed input and offline output. Browser visual inspection of generated formulas found no missing glyphs or clipping.

CI test-harness stabilization

CI exposed two pre-existing races in the shared background-task test registry. Test-only completion guards now exist before the first poll (so cancellation always acknowledges cleanup), and runtime tests take the same HOME lock as fixtures that cancel that registry. A deterministic unpolled-future regression test covers the missing notification; production runtime code is unchanged.

Limits

This does not claim physical Android/iOS acceptance or Office-reader installation testing. OS file handoffs and native inline-formula layout should be checked on devices using the documented checklist. Update both desktop and mobile to exercise visibility notifications and all-hidden handling.

@huichen
huichen enabled auto-merge (squash) September 16, 2026 11:34
@huichen
huichen merged commit d10590d into main Sep 16, 2026
12 checks passed
@huichen
huichen deleted the fix/mobile-doc-audit branch September 16, 2026 12:24
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