Closed
Bug 1138815
Opened 9 years ago
Closed 9 years ago
Fine-tune the swipe behavior of swipeable panel in keyboard
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rudyl, Assigned: rudyl)
References
Details
Attachments
(1 file)
46 bytes,
text/x-github-pull-request
|
timdream
:
review+
Omega
:
ui-review+
timdream
:
feedback+
|
Details | Review |
+++ This bug was initially created as a clone of Bug #1100779 +++ We implemented swipeable page view in Bug 1100779, and this bug is to fine tune the swipe behavior so that it would depend on velocity and distance to decide if it needs to swipe to the next page or not, per UX review.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → rlu
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•9 years ago
|
||
This patch attempts to address the UI review comments, now it should depend on both velocity and distance to determine whether to go to the next (previous) section of emoji. Omega, could you please help review this behavior again? Thanks.
Attachment #8575854 -
Flags: ui-review?(ofeng)
Comment 2•9 years ago
|
||
Comment on attachment 8575854 [details] [review] patch V1 It works better now. However, I found another issue: Use two fingers to drag the panel, and you can find that the panel is continuously panning, not by page. We should treat two finger as one finger behavior.
Attachment #8575854 -
Flags: ui-review?(ofeng)
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8575854 [details] [review] patch V1 Patch updated to address the 2-finger issue you mentioned. Omega, please help give it a try. Thanks.
Attachment #8575854 -
Flags: ui-review?(ofeng)
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8575854 [details] [review] patch V1 Hi Tim, It took a while for me to fine-tune the behavior of the swiping, and now after Omega's agreement, this should be good enough. Could you please give some early feedback on the current approach? Will work on the tests if this looks good to you. Thanks.
Attachment #8575854 -
Flags: feedback?(timdream)
Comment 5•9 years ago
|
||
Comment on attachment 8575854 [details] [review] patch V1 Better now, thanks! :)
Attachment #8575854 -
Flags: ui-review?(ofeng) → ui-review+
Updated•9 years ago
|
Attachment #8575854 -
Flags: feedback?(timdream) → feedback+
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8575854 [details] [review] patch V1 The patch has been updated to add some tests and address the review comment. Tim, could you please help review it again?
Attachment #8575854 -
Attachment description: WIP → patch V1
Attachment #8575854 -
Flags: review?(timdream)
Comment 7•9 years ago
|
||
Comment on attachment 8575854 [details] [review] patch V1 I am having problems with touchstart event listener.
Attachment #8575854 -
Flags: review?(timdream) → review-
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8575854 [details] [review] patch V1 Thanks for the advice. Patch updated to move the event listening to swiping_detector. Please note that SwipeablePanelView still needs to keep the start point of the panning as this.startX since it might change it when the user overscrolls, as the following line does, https://github.com/mozilla-b2g/gaia/pull/28792/files#diff-569ecb8fbc0b7340a3490cf87434e9b1R150
Attachment #8575854 -
Flags: review- → review?(timdream)
Comment 9•9 years ago
|
||
Comment on attachment 8575854 [details] [review] patch V1 I don't like the way _handlePen is organized also the startX and deltaX thing, but I will leave it for you to figure out.
Attachment #8575854 -
Flags: review?(timdream) → review+
Assignee | ||
Comment 10•9 years ago
|
||
I am not sure how to address comment 9 for now, so I'll just land this first to address this UX issue and then come back to this later. Thanks for the suggestion.
Keywords: checkin-needed
Updated•9 years ago
|
Keywords: checkin-needed
Comment 11•9 years ago
|
||
http://docs.taskcluster.net/tools/task-graph-inspector/#HT0yyqwfSaCTTq0u4wlhrA The pull request failed to pass integration tests. It could not be landed, please try again.
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Updated•9 years ago
|
Keywords: checkin-needed
Comment 12•9 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/493754a7ef39ca63d5aebee6bf5c6a4dd0913f9b
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•