Closed Bug 985317 Opened 10 years ago Closed 10 years ago

[Keyboard UX update][User Story] Visual hints on period key when long press available

Categories

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

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.0)

VERIFIED FIXED
2.0 S2 (23may)
feature-b2g 2.0

People

(Reporter: bhuang, Assigned: Omega)

References

Details

(Whiteboard: [ucid:SystemPlatform48, 2.0, ft:system-platform][good first bug][mentor=RudyL][lang=css][mentor-lang=zh],[p=1])

Attachments

(2 files, 2 obsolete files)

As a user, I want to see visual hints on the period key so that is more immediately visible that additional functionality are available on long press.

Acceptance:
Visual “...” hint on the period key when in standard abc view.
Long press brings up a secondary menu.
No visual hint on period key when in symbol view

Refer to p.6 of UX spec in bug 983043
Whiteboard: [ucid:SystemPlatform48, 1.5, ft:system-platform]
See bug 983043 for the UX spec update.
See Bug 983043 for Visual spec, thanks
Whiteboard: [ucid:SystemPlatform48, 1.5, ft:system-platform] → [ucid:SystemPlatform48, 1.5, ft:system-platform][good first bug][mentor=RudyL][lang=css][mentor-lang=zh]
Whiteboard: [ucid:SystemPlatform48, 1.5, ft:system-platform][good first bug][mentor=RudyL][lang=css][mentor-lang=zh] → [ucid:SystemPlatform48, 1.5, ft:system-platform][good first bug][mentor=RudyL][lang=css][mentor-lang=zh],[p=1]
Target Milestone: --- → 2.0 S1 (9may)
Whiteboard: [ucid:SystemPlatform48, 1.5, ft:system-platform][good first bug][mentor=RudyL][lang=css][mentor-lang=zh],[p=1] → [ucid:SystemPlatform48, 2.0, ft:system-platform][good first bug][mentor=RudyL][lang=css][mentor-lang=zh],[p=1]
Assignee: nobody → ofeng
Attachment #8419967 - Flags: review?(rlu)
Comment on attachment 8419967 [details] [review]
Visual hints on period key when long press

Looks good to me for showing the hint on the default layout.
However, according to acceptance criteria, we should not show it on symbol layout, because it may not have alternative chars defined for symbol panel.

Omega,

Great work, but could you please help take a look at the above requirement?
Thank you.
Attachment #8419967 - Flags: review?(rlu)
Hi Rudy,
Thanks for your feedback. I've just modified it. Now the period key shows the "..." only if it has alternatives.
Attachment #8419967 - Attachment is obsolete: true
Attachment #8420784 - Flags: review?(rlu)
Target Milestone: 2.0 S1 (9may) → 2.0 S2 (23may)
Comment on attachment 8420784 [details] [review]
Visual hints on period key when long press

Omega,

Thanks for the work.
Just commented on the pull request about the linter errors about coding styles, and we got some parts to be refined so that it would be concise for better readability.

Please help set the review flag back to me again when you update the patch.
Attachment #8420784 - Flags: review?(rlu)
Hi Rudy,
I've just modified the code based on your feedback. Please have a review again. Thanks a lot!
Attachment #8420784 - Attachment is obsolete: true
Attachment #8421523 - Flags: review?(rlu)
Comment on attachment 8421523 [details] [review]
Visual hints on period key when long press available.

Hi Omega,

Thanks for the update.
I think we could reduce the duplicate code once again, please help take a look at my comment on the pull request.

Great work, it's almost done!

--
Please ask for review again, so I will be notified.
(You don't have to create attachment on bugzilla each time when you refresh your pull request, but it is up to you.)
Attachment #8421523 - Flags: review?(rlu) → feedback+
Comment on attachment 8421523 [details] [review]
Visual hints on period key when long press available.

Thanks Rudy! Here is the update.
Attachment #8421523 - Flags: review?(rlu)
Comment on attachment 8421523 [details] [review]
Visual hints on period key when long press available.

Looks pretty good.
Please help take a look at a final nit about the indent,
https://github.com/mozilla-b2g/gaia/pull/19095#discussion_r12572640
and I think we could merge this after the travis result is green.

:)

Omega, thanks for your great work!
Attachment #8421523 - Flags: review?(rlu) → review+
Landed to Gaia master,
https://github.com/mozilla-b2g/gaia/commit/4275ca142a71ff296be1b6b672648f13d14d3484

--
Omega, thanks again for your effort.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
feature-b2g: --- → 2.0
Verified it.
Thanks all!

* Build information:
 - Gaia      c462d9183d294a2d8ecc472f593ea8cfa15bc9de
 - Gecko     https://hg.mozilla.org/mozilla-central/rev/9d8d16695f6a
 - BuildID   20140520160203
 - Version   32.0a1
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: