Repository navigation
Emoji and the mic in the phone composer - #45
Merged
Merged
Conversation
… iOS dictation when the composer goes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This finishes the phone's composer row. Desktop's has emoji, a paperclip, a mic and a round send that turns into a purple stop square, and now the phone does too. The parts came in #38 (dictation), #39 (emoji picker) and #41 (one composer, paperclip and stop); this PR puts emoji and the mic into
MessageComposer'strailingslot, for threads and bot chats alike.Emoji
Mic
SpeechRecognizerand iOS'sSFSpeechRecognizer, on the device where they can. No audio goes through Mousse.DictationSourcecontract from Dictation parts for the phone composer #38, so a later paired-computer source replaces the OS one without touching the composer.Checks
withHeard,withTyped,withBackspaceandcharacterStart(a family, a flag, a skin tone, a variation selector, a keycap, a tag flag, an accent).BreakIterator: the platform's breaks depend on its Unicode version (CI's Java split a joined family, and older phones do too).composer-emojiandcomposer-listening.Review: one fresh reviewer. 2 shoulds fixed (Android panel left open behind the keyboard when focus moved from emoji search to the message; iOS dictation kept alive by a retain cycle, so the mic ran on after leaving), 5 notes in #46. Re-check of the fix by a second fresh reviewer: both fixed; its one new note (a full-screen picture dropped the words being heard) is fixed by finishing instead of cancelling.
Notes
/list isn't blocked while dictating, and Android emoji picks don't close an open list.All five are in #46. Also, on iOS, the full-screen picture viewer deletes picked attachments (from #41); added to #42.
No issue