Skip to content

feat(ios): unify chat primary action and add conversation details - #7385

Open
me2seeks wants to merge 1 commit into
feat/ios-chat-liquid-glassfrom
feat/ios-chat-telemetry-unified-send
Open

me2seeks wants to merge 1 commit into
feat/ios-chat-liquid-glassfrom
feat/ios-chat-telemetry-unified-send

Conversation

@me2seeks

@me2seeks me2seeks commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Stacked on #7383 (feat/ios-chat-liquid-glass).

  • 3-in-1 unified primary composer action (Stop / Continue / Send): Always anchors a single 44×44pt primary button on the bottom-right next to the input so multiline drafts with quotes never hide Send (removes duplicate Send to Main Chat from DraftQuoteStrip, keeping Ask Side Question).
    • Stop binds strictly to the active runId via agent.stop -> { requested }, settles even when the user navigates away, and avoids interfering with successor runs.
    • Continue uses agent.continueRun with run-local sourceHighWater and nullable top-level thinkingLevel, verifies model route + serviceTier / thinkingLevel availability against ready.choice, never fabricates user messages or optimistic bubbles, and avoids re-locking new drafts once a successor run is observed.
    • Preserves notSubmitted vs post-confirm unknown failure classification in src/bridge.rs for agent.stop and agent.continueRun (never auto-retrying after confirm) and keeps queued ended observe refreshes alive across stale revisions or read errors.
  • Session Details Sheet (ⓘ + keyboard model shortcut):
    • Model & Thinking Level: switches via agent.selectBackend, deduplicates by full backendKey (connection/model/tier/thinking), and resolves/writes canonical models for executor aliases.
    • Context Usage & TPS: displays AgentSessionMetrics with explicit source labeling, single-flight observe refreshes on step_ended, clears stale usage alerts on backend switches, and shows the warning/danger ring only when current non-last-known context usage crosses 70% / 90%.
  • iOS layout & contrast polish: Ensures scrollable visibility on short portrait screens (375×667) and landscape with 240pt keyboard + 47pt safe areas, and raises details header/footer contrast to >= 4.5:1 (light 7.27:1 / dark 12.63:1).

Verification

  • maka-ios-shell: 130 passed (16 lib including real bridge prepare-fail and post-confirm disconnect tests, 110 behavior, 4 language).
  • aarch64-apple-ios --locked check, tsc --noEmit, ASF license headers, Rust dependencies, 12-locale i18n, Biome, cargo fmt --check, and git diff --check 20536b2de3..HEAD all passed.

Known test gaps

  • Layout, contrast, and interaction state transitions were verified in headless NSH/Rust suites; physical iPhone haptics and live VoiceOver testing were not performed.

Screenshots

Captured on iPhone 18 Pro Simulator (iOS 27.2, integrated preview build):

Session Details sheet showing Model, Thinking level, Context usage, and TPS

Composer with quote and multiline draft keeping the 3-in-1 primary Send button anchored and visible

@me2seeks
me2seeks force-pushed the feat/ios-chat-telemetry-unified-send branch from 58b7bec to d9258d0 Compare November 28, 2026 02:23

This branch has not been deployed

No deployments
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