Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Issue 1230313009: [Android] Make enhanced bookmark editing UI more straightforward. (Closed)

Created:
5 years, 5 months ago by Kibeom Kim (inactive)
Modified:
5 years, 4 months ago
Reviewers:
Ian Wen, newt (away)
CC:
chromium-reviews, ianwen+watch_chromium.org, newt (away)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Make enhanced bookmark editing UI more straightforward. - We didn't save when a dialog is dismissed by tapping outside on tablet, which can be also confusing as there is no save UI concept. So save onPause always. - User should know when we won't save what user typed if it fails validation. But blocking dialog exit is too invasive, and sometimes we don't have a control (tapping outside on tablet.) So show warning as user types. BUG=510253 Committed: https://crrev.com/5886fc8beb1ae5714f25a8bb1c76a42bfe88272c Cr-Commit-Position: refs/heads/master@{#342719}

Patch Set 1 #

Patch Set 2 : #

Total comments: 13

Patch Set 3 : addressed comments #

Total comments: 16

Patch Set 4 : removed less important changes for M45 merge #

Total comments: 4

Patch Set 5 : Also update EnhancedbookmarkAddEditFolderActivity #

Total comments: 4

Patch Set 6 : updated margins #

Total comments: 8

Patch Set 7 : patchset 6 comments #

Patch Set 8 : reverted mojo change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -66 lines) Patch
M chrome/android/java/res/layout/eb_edit.xml View 1 2 3 4 5 6 2 chunks +12 lines, -13 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkAddEditFolderActivity.java View 1 2 3 4 5 6 3 chunks +18 lines, -26 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java View 1 2 3 4 5 6 6 chunks +28 lines, -19 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/widget/EmptyAlertEditText.java View 1 2 3 4 5 6 2 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 23 (4 generated)
Kibeom Kim (inactive)
5 years, 5 months ago (2015-07-20 18:16:02 UTC) #2
Ian Wen
https://codereview.chromium.org/1230313009/diff/20001/chrome/android/java/res/layout/eb_edit.xml File chrome/android/java/res/layout/eb_edit.xml (right): https://codereview.chromium.org/1230313009/diff/20001/chrome/android/java/res/layout/eb_edit.xml#newcode38 chrome/android/java/res/layout/eb_edit.xml:38: <!-- A trick to avoid focusing the below EditText ...
5 years, 5 months ago (2015-07-20 18:41:58 UTC) #3
Kibeom Kim (inactive)
https://codereview.chromium.org/1230313009/diff/20001/chrome/android/java/res/layout/eb_edit.xml File chrome/android/java/res/layout/eb_edit.xml (right): https://codereview.chromium.org/1230313009/diff/20001/chrome/android/java/res/layout/eb_edit.xml#newcode38 chrome/android/java/res/layout/eb_edit.xml:38: <!-- A trick to avoid focusing the below EditText ...
5 years, 5 months ago (2015-07-20 20:04:48 UTC) #4
Ian Wen
This CL gives me the impression that the changes are created in an ad-hoc way. ...
5 years, 5 months ago (2015-07-21 19:59:05 UTC) #5
Ian Wen
This CL gives me the impression that the changes are created in an ad-hoc way. ...
5 years, 5 months ago (2015-07-21 19:59:21 UTC) #6
Ted C
https://codereview.chromium.org/1230313009/diff/40001/chrome/android/java/res/layout/eb_edit.xml File chrome/android/java/res/layout/eb_edit.xml (right): https://codereview.chromium.org/1230313009/diff/40001/chrome/android/java/res/layout/eb_edit.xml#newcode44 chrome/android/java/res/layout/eb_edit.xml:44: android:focusable="true" Can you set these values to false on ...
5 years, 5 months ago (2015-07-21 20:21:08 UTC) #7
Kibeom Kim (inactive)
https://codereview.chromium.org/1230313009/diff/40001/chrome/android/java/res/layout/eb_edit.xml File chrome/android/java/res/layout/eb_edit.xml (right): https://codereview.chromium.org/1230313009/diff/40001/chrome/android/java/res/layout/eb_edit.xml#newcode40 chrome/android/java/res/layout/eb_edit.xml:40: in this context. --> On 2015/07/21 19:59:05, Ian Wen ...
5 years, 4 months ago (2015-08-04 20:54:04 UTC) #8
Ian Wen
This CL looks good to me in general. Hold back for one question. https://codereview.chromium.org/1230313009/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java File ...
5 years, 4 months ago (2015-08-05 00:44:27 UTC) #9
Kibeom Kim (inactive)
Also updated EnhancedBookmarkAddEditFolderActivity https://codereview.chromium.org/1230313009/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java File chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java (right): https://codereview.chromium.org/1230313009/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java#newcode91 chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java:91: mTitleEditText.validate(); On 2015/07/20 20:04:48, Kibeom Kim ...
5 years, 4 months ago (2015-08-05 10:14:20 UTC) #10
Kibeom Kim (inactive)
-tedchoc@ +newt@: ptal
5 years, 4 months ago (2015-08-06 23:10:30 UTC) #12
Ian Wen
I downloaded the patch and played with it a bit. It looks pretty neat. https://codereview.chromium.org/1230313009/diff/80001/chrome/android/java/res/layout/eb_edit.xml ...
5 years, 4 months ago (2015-08-07 17:22:53 UTC) #13
Kibeom Kim (inactive)
newt@: ptal https://codereview.chromium.org/1230313009/diff/80001/chrome/android/java/res/layout/eb_edit.xml File chrome/android/java/res/layout/eb_edit.xml (right): https://codereview.chromium.org/1230313009/diff/80001/chrome/android/java/res/layout/eb_edit.xml#newcode29 chrome/android/java/res/layout/eb_edit.xml:29: <LinearLayout On 2015/08/07 17:22:53, Ian Wen wrote: ...
5 years, 4 months ago (2015-08-10 19:02:15 UTC) #14
newt (away)
https://codereview.chromium.org/1230313009/diff/100001/chrome/android/java/res/layout/eb_edit.xml File chrome/android/java/res/layout/eb_edit.xml (right): https://codereview.chromium.org/1230313009/diff/100001/chrome/android/java/res/layout/eb_edit.xml#newcode60 chrome/android/java/res/layout/eb_edit.xml:60: android:textAppearance="?android:attr/textAppearanceSmall" Beware that textAppearanceSmall is different on L vs ...
5 years, 4 months ago (2015-08-10 20:15:43 UTC) #15
Kibeom Kim (inactive)
https://codereview.chromium.org/1230313009/diff/100001/chrome/android/java/res/layout/eb_edit.xml File chrome/android/java/res/layout/eb_edit.xml (right): https://codereview.chromium.org/1230313009/diff/100001/chrome/android/java/res/layout/eb_edit.xml#newcode60 chrome/android/java/res/layout/eb_edit.xml:60: android:textAppearance="?android:attr/textAppearanceSmall" On 2015/08/10 20:15:43, newt wrote: > Beware that ...
5 years, 4 months ago (2015-08-10 21:14:24 UTC) #16
newt (away)
revert changes in mojo, then lgtm
5 years, 4 months ago (2015-08-10 21:21:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230313009/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1230313009/140001
5 years, 4 months ago (2015-08-10 22:14:42 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 4 months ago (2015-08-10 22:52:29 UTC) #21
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/5886fc8beb1ae5714f25a8bb1c76a42bfe88272c Cr-Commit-Position: refs/heads/master@{#342719}
5 years, 4 months ago (2015-08-10 22:53:12 UTC) #22
Kibeom Kim (inactive)
5 years, 4 months ago (2015-08-11 16:05:05 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/1278963004/ by kkimlabs@chromium.org.

The reason for reverting is: http://crbug.com/519368.

Powered by Google App Engine
This is Rietveld 408576698