Closed Bug 927286 Opened 11 years ago Closed 11 years ago

[keyboard] don't display user's current input as one of the suggestions

Categories

(Firefox OS Graveyard :: Gaia::Keyboard, defect)

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:1.3+)

RESOLVED FIXED
blocking-b2g 1.3+

People

(Reporter: djf, Assigned: djf)

Details

Attachments

(4 files)

Currently for word suggestions and autocorrection, we display two suggestions and the user's current input.  This apparently violates the orignal design, which called for three suggestions and not displaying the user's input.

To switch back to that design, we'll need to add some kind of dismiss button or gesture so that the user can prevent autocorrection of text that is not recognized as a word.

This change also implies that there will not always be a blue highlighted word on the suggestion bar. If the user's input is a correctly spelled word, it will not appear and there won't be an autocorrection, so there will be no blue word. This is a change, but not necessarily a bad one.
Assignee: nobody → dflanagan
blocking-b2g: --- → koi?
It's a valid and nice improvement, however it does not justify a koi+.

That said, if we have a safe-enough patch I don't see why we cannot land it to v1.2 with an a+.
blocking-b2g: koi? → -
Carrie, I have NI'd you so you can provide the ux recommendation as part of the 1.3 KB work.
blocking-b2g: - → 1.3+
Flags: needinfo?(cawang)
Hi, 

I've attached the spec here and also in BOX and Email thread. We've reached the conclusion that the proposal 1 will be adopted for 1.3 and Przmek will provide the icon design. Thanks!
Flags: needinfo?(cawang)
Attached file Clear_Icon_Assets.zip
Hey David, 

Przemek has provided a new "x" icon here. 
Please use this one for dismissing suggestion.
Thanks!
Are we sure we have enough screen real estate for this?
Rudy or Corey: could one of you review this patch please? This is a feature that must land in 1.3 for legal reasons.

Basically instead of alsways dipslaying the user's input int he suggestion bar, we never display it, and introduce an X icon to dismiss the suggestions.  So if you type "ill" and really want that word instead of "I'll", you'll have to tap the X icon.  Previously you would have typed the "ill" suggestion.

Casey: I've asked you for UI review here since you've been working on the keyboard visual refresh, and because this patch is likely to have merge conflicts with the patch you're working on and I want you to be aware of it.
Attachment #8342756 - Flags: ui-review?(kyee)
Attachment #8342756 - Flags: review?(rlu)
Attachment #8342756 - Flags: review?(gnarf37)
Comment on attachment 8342756 [details] [review]
link to patch on github

Hi David,

Thanks for this work.
r+ with the comments on pull request addressed.
Attachment #8342756 - Flags: review?(rlu) → review+
Thanks for the very quick review, Rudy!.  I didn't know that about specifying background image size for wvga.

Also, it looks like I need to modify some of Jan's tests for the new autocorrect behavior.
Attachment #8342756 - Flags: review?(gnarf37)
I've updated the pull request to address Rudy's comments and fix the failing tests (and add some more tests)
Fabrice: I think I need your sheriff's approval to land this feature, please.
Flags: needinfo?(fabrice)
I'm attaching a screenshot to facilitate UI review
(In reply to David Flanagan [:djf] from comment #11)
> Fabrice: I think I need your sheriff's approval to land this feature, please.

Feel free to land.
Flags: needinfo?(fabrice)
David, I will review this with the Carrier today in Taipei.
Hi David, 

We've tried it. I think it works fine. 
Thank!:)
Comment on attachment 8342756 [details] [review]
link to patch on github

We're good to go here.   David, if there is any question about how this fits into the new visual design, please flag me for info.
Attachment #8342756 - Flags: ui-review?(kyee) → ui-review+
I've got technical review, ux review, green travis build and sheriff approval!

But now there are merge conflicts with the new 1.3 keyboard visuals, so I'll have to update the patch.
The merge conflict was easy to resolve.

Landed to master: https://github.com/mozilla-b2g/gaia/commit/1af28d60948bedd277786eadccda1f4c8f637f48
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: