|
|
Created:
4 years, 3 months ago by sammiequon Modified:
4 years, 3 months ago CC:
chromium-reviews, alemate+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Descriptionchromeos: Backspace and enter key works as intended.
Previously clicking the backspace to erase all characters would cause input box to lose focus. Fixed this by removing the disabled state.
Previously clicking enter keyboard key after touching a number button would cause an additional number to get appended to the password string before sending the password. Fixed this by removing the default enter key = tap on polymers button.
BUG=647709, 648772
TEST=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/d3ca9dd939132cfcc9be5f7aac1c4086b4a94a45
Cr-Commit-Position: refs/heads/master@{#420658}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Removed polymer internal method. #Patch Set 3 : Removed blank-space class. #
Total comments: 2
Patch Set 4 : Rebased. #Patch Set 5 : Fixed patch set 3 errros. #
Total comments: 2
Patch Set 6 : Nit. #
Messages
Total messages: 24 (13 generated)
Description was changed from ========== chromeos: Backspace and enter key works as intended. Previously clicking the backspace to erase all characters would cause input box to lose focus. Fixed this by removing the disabled state. Previously clicking enter keyboard key after touching a number button would cause an additional number to get appended to the password string before sending the password. Fixed this by removing the default enter key = tap on polymers button. BUG=647709,648772 ========== to ========== chromeos: Backspace and enter key works as intended. Previously clicking the backspace to erase all characters would cause input box to lose focus. Fixed this by removing the disabled state. Previously clicking enter keyboard key after touching a number button would cause an additional number to get appended to the password string before sending the password. Fixed this by removing the default enter key = tap on polymers button. BUG=647709,648772 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
Description was changed from ========== chromeos: Backspace and enter key works as intended. Previously clicking the backspace to erase all characters would cause input box to lose focus. Fixed this by removing the disabled state. Previously clicking enter keyboard key after touching a number button would cause an additional number to get appended to the password string before sending the password. Fixed this by removing the default enter key = tap on polymers button. BUG=647709,648772 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== chromeos: Backspace and enter key works as intended. Previously clicking the backspace to erase all characters would cause input box to lose focus. Fixed this by removing the disabled state. Previously clicking enter keyboard key after touching a number button would cause an additional number to get appended to the password string before sending the password. Fixed this by removing the default enter key = tap on polymers button. BUG=647709,648772 TEST=none CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
sammiequon@chromium.org changed reviewers: + jdufault@chromium.org
Patchset #1 (id:1) has been deleted
jdufault@ - Please take a look. Thanks!
https://codereview.chromium.org/2357743002/diff/20001/chrome/browser/resource... File chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html (left): https://codereview.chromium.org/2357743002/diff/20001/chrome/browser/resource... chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html:100: opacity: 0.26; Unused css? https://codereview.chromium.org/2357743002/diff/20001/chrome/browser/resource... File chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js (right): https://codereview.chromium.org/2357743002/diff/20001/chrome/browser/resource... chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js:106: digitButtons[i]._unlistenKeyEventListeners(); Is this a polymer internal method? If so, we should try to find another way to fix the problem.
https://codereview.chromium.org/2357743002/diff/20001/chrome/browser/resource... File chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html (left): https://codereview.chromium.org/2357743002/diff/20001/chrome/browser/resource... chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html:100: opacity: 0.26; On 2016/09/20 22:53:59, jdufault wrote: > Unused css? Yeah, forgot to remove when the submit button was moved to the user pod. https://codereview.chromium.org/2357743002/diff/20001/chrome/browser/resource... File chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js (right): https://codereview.chromium.org/2357743002/diff/20001/chrome/browser/resource... chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js:106: digitButtons[i]._unlistenKeyEventListeners(); On 2016/09/20 22:54:00, jdufault wrote: > Is this a polymer internal method? If so, we should try to find another way to > fix the problem. Done. Replaced with keyEventTarget which is part of the paper-button public api.
lgtm https://codereview.chromium.org/2357743002/diff/60001/chrome/browser/resource... File chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js (right): https://codereview.chromium.org/2357743002/diff/60001/chrome/browser/resource... chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js:96: * Removes the space/enter key binds from the polymer iron-a11y-keys-behavior. I would move the function comment into the function itself (above line 100) and just have /** @override */ here.
https://codereview.chromium.org/2357743002/diff/60001/chrome/browser/resource... File chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js (right): https://codereview.chromium.org/2357743002/diff/60001/chrome/browser/resource... chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js:96: * Removes the space/enter key binds from the polymer iron-a11y-keys-behavior. On 2016/09/22 20:04:01, jdufault wrote: > I would move the function comment into the function itself (above line 100) and > just have /** @override */ here. Done.
The CQ bit was checked by sammiequon@chromium.org to run a CQ dry run
sammiequon@chromium.org changed reviewers: + xiyuan@chromium.org
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
xiyuan@ - Please take a look. Thanks!
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.chromium.org/2357743002/diff/100001/chrome/browser/resourc... File chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js (right): https://codereview.chromium.org/2357743002/diff/100001/chrome/browser/resourc... chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js:262: this.value += numberValue; nit: get rid of |numberValue| and use event.target.getAttribute('value') directly here.
https://codereview.chromium.org/2357743002/diff/100001/chrome/browser/resourc... File chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js (right): https://codereview.chromium.org/2357743002/diff/100001/chrome/browser/resourc... chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js:262: this.value += numberValue; On 2016/09/23 16:32:45, xiyuan wrote: > nit: get rid of |numberValue| and use event.target.getAttribute('value') > directly here. Done.
The CQ bit was checked by sammiequon@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from jdufault@chromium.org, xiyuan@chromium.org Link to the patchset: https://codereview.chromium.org/2357743002/#ps120001 (title: "Nit.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== chromeos: Backspace and enter key works as intended. Previously clicking the backspace to erase all characters would cause input box to lose focus. Fixed this by removing the disabled state. Previously clicking enter keyboard key after touching a number button would cause an additional number to get appended to the password string before sending the password. Fixed this by removing the default enter key = tap on polymers button. BUG=647709,648772 TEST=none CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== chromeos: Backspace and enter key works as intended. Previously clicking the backspace to erase all characters would cause input box to lose focus. Fixed this by removing the disabled state. Previously clicking enter keyboard key after touching a number button would cause an additional number to get appended to the password string before sending the password. Fixed this by removing the default enter key = tap on polymers button. BUG=647709,648772 TEST=none CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
Message was sent while issue was closed.
Committed patchset #6 (id:120001)
Message was sent while issue was closed.
Description was changed from ========== chromeos: Backspace and enter key works as intended. Previously clicking the backspace to erase all characters would cause input box to lose focus. Fixed this by removing the disabled state. Previously clicking enter keyboard key after touching a number button would cause an additional number to get appended to the password string before sending the password. Fixed this by removing the default enter key = tap on polymers button. BUG=647709,648772 TEST=none CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== chromeos: Backspace and enter key works as intended. Previously clicking the backspace to erase all characters would cause input box to lose focus. Fixed this by removing the disabled state. Previously clicking enter keyboard key after touching a number button would cause an additional number to get appended to the password string before sending the password. Fixed this by removing the default enter key = tap on polymers button. BUG=647709,648772 TEST=none CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/d3ca9dd939132cfcc9be5f7aac1c4086b4a94a45 Cr-Commit-Position: refs/heads/master@{#420658} ==========
Message was sent while issue was closed.
Patchset 6 (id:??) landed as https://crrev.com/d3ca9dd939132cfcc9be5f7aac1c4086b4a94a45 Cr-Commit-Position: refs/heads/master@{#420658} |