Repository navigation
Chat composer always says "Ask Omi" instead of "Ask a follow-up…" - #12910
Conversation
|
Nice catch and a clean fix — I verified the premise and the wiring before commenting. What I checked, per file:
One consistency gap worth fixing here: Minor, non-blocking: the empty-state wording ("Ask Omi") is user-facing copy; it's a single constant, so trivially adjustable if maintainers prefer different phrasing. Checks are green on this head (Desktop Swift Build & Tests, Release Compile, Static & Test Contracts, Hygiene). Since the PR is still a draft I'm leaving a signal rather than a formal review — once it's marked ready it should be a quick human sign-off. AI-generated maintainer feedback posted on behalf of the Omi maintainers. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
undivisible
left a comment
There was a problem hiding this comment.
Light CR: QueryComposerPlaceholder correctly asks "Ask Omi" when empty and follow-up only with messages; tests cover modes. Still DRAFT — mark ready when you want soft-path; not merging drafts.
kodjima33
left a comment
There was a problem hiding this comment.
Clean, well-tested desktop fix (empty-chat placeholder derived from conversation state, 3 new regression tests, CI green). Holding at approve-only since the PR is still a draft — please mark ready when you want it merged.
c33e521 to
be57f95
Compare
|
Marked ready for review. The red Desktop Swift checks on this PR come from |
be57f95 to
a78c6fe
Compare
The composer under the conversation read "Ask a follow-up…", including right after the reader cleared the chat — an invitation to follow up on nothing. It now says the one thing it always means, "Ask Omi", whatever the transcript holds; only the search placement keeps its own prompt. The rule is one pure function so the bar and the tests cannot disagree, and the home e2e flow describes the new copy. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01FDiUGZjXHZBEzDQbCqLMeB
a78c6fe to
e0b34cd
Compare
|
Rebased onto current |
|
Verified on the current head (e0b34cd), which sits after the rebase that dropped the carried fix from #12932 — the branch is back to the single composer commit, and the Desktop Swift checks are green on it without touching Rewind. Per file:
Also checked repo-wide: the only files on One note for the maintainers: both approvals were left on 46da1a9 and describe the earlier state-dependent placeholder ("follow-up only with messages"); this head is the simplified constant-copy version, so a quick re-sign-off on the final wording is the one remaining step before merge. AI-generated maintainer feedback posted on behalf of the Omi maintainers. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
kodjima33
left a comment
There was a problem hiding this comment.
Desktop bug fix: composer wrongly said 'Ask a follow-up...' with nothing to follow up on; now always 'Ask Omi'. Bug-fix fast lane (~3/5), owner-override, CI green.
What changed and why
The chat composer read "Ask a follow-up…" whenever it sat under the conversation, including right after clearing the chat, where there was nothing to follow up on. The composer now always says "Ask Omi". There is no follow-up variant and no dependence on what the transcript holds, so there is no state for the copy to get wrong. The search placement keeps its own prompt. The rule is one pure function (
QueryComposerPlaceholder.text(mode:)) so the bar and the tests cannot disagree. The home e2e flow doc describes the new copy.Carried fix (temporary)
Rebased onto current
mainand carrying the one-commit fix from #12932 (Vision OCR language query via the request instance) so the Desktop Swift checks can run past the deprecation error that has brokenmainsince #12888 (#12931). It is byte-identical to #12932; once that merges, a rebase drops it from this PR automatically. This PR does not otherwise touch Rewind.Product invariants affected
none
How it was verified
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test --filter 'QueryShellTests|QueryComposerTests'indesktop/macos/Desktop→ 57 tests, 0 failures.omi-follow-up-text-incorrect, signed in against the dev backend): the composer reads "Ask Omi" with an empty transcript and still reads "Ask Omi" after a message is sent and answered. Window screenshots taken for both states.Tests
QueryShellTests.testTheChatComposerAlwaysSaysAskOmiis the regression test: the.answerplacement yields "Ask Omi".testSearchingKeepsTheSearchPlaceholderpins the search placement.Failure class (fixes)
Failure-Class: none
🤖 Generated with Claude Code
https://claude.ai/code/session_01FDiUGZjXHZBEzDQbCqLMeB