Repository navigation
Conversation
… Settings components
…ith a tail, an unboxed answer, numbered sources Chat reads as a conversation in the ink and the canvas. The user's words sit in a solid accent pill with the Messages tail; Omi's answer is text on the page with no box; the conversations it drew on are a plain numbered list under the answer, matching the [n] markers in the words (a markdown InlineSyntax, footnote-sized and tertiary). Everything else is the ink at an opacity instead of an outline: the close circle, the follow-up and starter pills, the app pill in the composer, a task or chart card inside an answer, a failed reply. When a chat app is chosen a capsule in the header shows it and opens Chat Apps; an app's answer carries the app's avatar and name. The composer is one filled field with no edge and keeps its colour whether the thread is at its live edge or scrolled, so it never blinks while a reply streams in. A recording that failed to transcribe, or one found from last time, says why in words in the field with the kept waveform dimmed beside it; discard stays at the left of the button row and Try Again takes Send's place, instead of a red Error label and a refresh glyph crammed into the waveform row. UI only. Same screens, taps and data as main; no backend change; no new strings. Stacked on the design foundation (BasedHardware#20342).
|
Reviewed this head (2ebb79c) statically, file by file. This is a coherent, well-executed restyling of the chat thread, and the supporting design foundations and tests are solid. Some notes before a maintainer signs off: What I verified
Before merge
Nice work — the diff is cohesive around one outcome, the docs ( by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
|
Reviewed the full diff statically (CI is gated on fork PRs, so the substantive jobs never ran — nothing here was executed). This is a coherent, genuinely two-sided restyle and the craft shows. Per file:
Two things for the maintainer:
UI-only as claimed: no backend, auth, data, or workflow changes; every user-facing string reuses an existing l10n key. Leaving the product-direction call (the new chat look) and the stacked merge order behind #20342 to human maintainer review; AI-generated maintainer feedback 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.
feat(app) v2 cleaner UX part 10 (chat colours) - mobile feature, approve-only
kodjima33
left a comment
There was a problem hiding this comment.
Itaxh1 v2 cleaner UX (chat colours) -- feature, approve-only
kodjima33
left a comment
There was a problem hiding this comment.
Itaxh1 v2 cleaner-UX series — feature (mobile/flutter), explicitly carved out as normal per standing memory (self-bounty flag applies elsewhere on this account, not this series) — approve only, not a
|
Superseded by #20835. Closing; please follow that PR. |
|
Hey @Itaxh1 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
TL;DR: Chat reads as a conversation in two colours, the ink and the canvas. Your message is a solid pill at the right in the accent (black in light, white in dark) with the Messages tail; Omi's answer is plain text on the page with no box; the conversations it drew on are a numbered list under the answer, matching the
[n]markers in the words. Every control is the ink at an opacity instead of an outline, the way iOS draws fills. The message box is one filled field that keeps its colour while a reply streams in, and a voice note that failed to transcribe says why in the field with Try Again where Send sits. UI only, no backend change, same screens, taps and data as today. A tenth part of the v2 cleaner UX; it needs #20342 first. Screenshots below, from an iPhone 15 Pro Max.What changed and why
Chat today draws both sides in grey boxes on a dark page, with emoji tiles for the sources and a loud red "Error" when a voice note fails. Users read it as a web page inside the app. This PR keeps every feature and restyles the thread so it reads like a native conversation.
user_message.dart): a solid pill inOmiColors.accentwithonAccentwords, the Messages tail at its bottom corner, and quoted "Ask about this" context inside the pill above the words.ai_message.dart,markdown_message_widget.dart): text on the page, no card, no fill. Body 17/1.45, headings never smaller than the words, list bullets at the words' size. A[n]pointing at a source is a small tertiary marker inside its sentence (a markdownInlineSyntax), not its own line.ai_message.dart): a plain numbered list under the answer, title over date, hairlines between, the number matching the marker. No emoji, no chevron, no card. Tapping a row still opens the conversation with the same loading spinner in the number's place._AppByline), looked up fromAppProviderwhen the message has no sender attached.chat_bubbles.dart→ChatInk): the close circle, the follow-up chip, the starter questions, the app pill in the composer, a task or chart card inside an answer and a failed reply are alltextPrimaryat an opacity (5.5% light / 10% dark), with no border. When a chat app is chosen, a capsule in the header shows it and opens Chat Apps, like the composer pill does.page.dart): one filled field with no edge, the same colour at the live edge and when scrolled, so it never blinks while a reply streams in (an earlier cut turned it solid on scroll and read as a blink on every tool call).voice_recorder_widget.dart,page.dart): after a transcription fails, or when a recording is found from last time, the field says why in words ("Failed to transcribe audio" / "Recording found") in secondary ink with the kept waveform dimmed beside it; discard stays at the left of the button row and a filled Try Again circle takes Send's place. Before, a red "Error" label and a refresh glyph were crammed into the waveform row with a lone × below.message_action_bar.dart): Copy, Helpful, Not Helpful and Share as 15 pt tertiary glyphs on 44 pt targets, aligned to the text.Everything else is as on
main: streaming, thinking blocks, charts, task cards, file attachments, Chat Apps, the Latest chip, ratings, Clear Chat.Screenshots
From an iPhone 15 Pro Max running this branch on top of #20342 (the summary bullets are blurred; they are the author's own conversations). Before is
main's chat: grey bubbles on both sides, emoji source tiles.Product invariants affected
none (
check_mobile_ux_contract.pyINV-UI-3: no hand-rolled UI increase across the changed files).How it was verified
bash app/test.sh(the full hermetic suite) on this branch: 4,677 passed, 14 skipped, 0 failed (plus the 138 spine/contract tests of its first phase), exit 0.dart analyze lib/pages/chat test/widgets: no new issues (the infos are all onmain).dart format --line-length 120: clean..github/scripts/check_mobile_ux_contract.py --changed-files … --base HEAD: OK.scripts/pr-preflightwith this body: passed.Tests
test/widgets/chat_message_style_test.dart(new, 7 tests): the question is a solid accent pill with the tail andonAccentwords; the answer has no decorated box around itsMarkdownBody; the answer's words are larger than the question's callout and no heading is smaller; a[1]marker is footnote-sized and tertiary inside its sentence; the sources are a numbered list with one hairline, no emoji; the follow-up is a filled pill with no outline and a failed reply a filled box; the action glyphs are 15 pt tertiary on 44 pt targets.test/widgets/chat_memory_voice_controls_test.dart: a kept recording (failed or found) says why in words with no "Error" label or refresh glyph, Try Again sits to the right of discard and callsretry(), discard still works; the message box keeps its one colour while four reply steps stream in and while the user scrolls up and back.chat_scroll_layout_test,chat_citation_taps_test,chat_ux_contract_test,chat_presentation_test,chat_content_block(s)_test,semantics_baseline_test,test/pages/chat) pass unchanged.Failure class (fixes)
Failure-Class: none