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

Issue 1318523011: [Password Manager] Copiable username and origin. Linkable origin elided from the left. (Closed)

Created:
5 years, 3 months ago by kolos1
Modified:
5 years, 1 month ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, vabr+watchlist_chromium.org, arv+watch_chromium.org, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

1. Copiable username and origin. 2. Linkable origin elided from the left. UI mocks: https://folio.googleplex.com/chrome-ux/mocks/321-password-manager/copiable%20username%20and%20origin%20link BUG=483915 Committed: https://crrev.com/00512644944fa28dff9272d31cb3292c17151992 Cr-Commit-Position: refs/heads/master@{#356866}

Patch Set 1 : Copiable origin and username (javascript) #

Patch Set 2 : Copiable username and origin in css. Linkable origin elided from the left. #

Total comments: 14

Patch Set 3 : Replace const std::vector<std::string> with const std::string[] #

Patch Set 4 : Added comments to new css classes. Removed left align for rtl locales. #

Total comments: 16

Patch Set 5 : Changes addressed to reviewer comments #

Total comments: 8

Patch Set 6 : Icons appearance fixed #

Total comments: 13

Patch Set 7 : GetShownOrigin was moved to a separate file (password_ui_utils.h) #

Patch Set 8 : New icon appearance removed #

Patch Set 9 : Tests compilation error fixed #

Total comments: 7

Patch Set 10 : #

Total comments: 20

Patch Set 11 : Small changes in password_ui_utils* #

Total comments: 2

Patch Set 12 : Changes with StringPiece #

Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -100 lines) Patch
M chrome/browser/resources/options/password_manager.js View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/resources/options/password_manager_list.css View 1 2 3 4 5 6 7 8 9 3 chunks +25 lines, -1 line 0 comments Download
M chrome/browser/resources/options/password_manager_list.js View 1 2 3 4 5 6 7 14 chunks +134 lines, -56 lines 0 comments Download
M chrome/browser/ui/webui/options/password_manager_handler.cc View 1 2 3 4 5 6 5 chunks +64 lines, -38 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/password_ui_utils.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +23 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/password_ui_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +38 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/password_ui_utils_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +37 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 50 (15 generated)
kolos1
Hello Evan! Please, review my changes. Thanks. Best regards, Maxim Kolosovskiy
5 years, 3 months ago (2015-09-08 16:11:42 UTC) #3
Evan Stade
On 2015/09/08 16:11:42, kolos1 wrote: > Hello Evan! > > Please, review my changes. Thanks. ...
5 years, 3 months ago (2015-09-10 17:21:49 UTC) #4
kolos1
Hi! Copiable username and origin is done in CSS. I also made some other changes ...
5 years, 2 months ago (2015-09-29 16:35:12 UTC) #8
Evan Stade
https://codereview.chromium.org/1318523011/diff/80001/chrome/browser/resources/options/password_manager_list.css File chrome/browser/resources/options/password_manager_list.css (right): https://codereview.chromium.org/1318523011/diff/80001/chrome/browser/resources/options/password_manager_list.css#newcode71 chrome/browser/resources/options/password_manager_list.css:71: #saved-passwords-list .left-elided-url, can you just do .left-elided-url{...}? https://codereview.chromium.org/1318523011/diff/80001/chrome/browser/resources/options/password_manager_list.css#newcode75 chrome/browser/resources/options/password_manager_list.css:75: ...
5 years, 2 months ago (2015-09-29 18:06:53 UTC) #9
kolos1
https://codereview.chromium.org/1318523011/diff/80001/chrome/browser/resources/options/password_manager_list.css File chrome/browser/resources/options/password_manager_list.css (right): https://codereview.chromium.org/1318523011/diff/80001/chrome/browser/resources/options/password_manager_list.css#newcode71 chrome/browser/resources/options/password_manager_list.css:71: #saved-passwords-list .left-elided-url, On 2015/09/29 18:06:52, Evan Stade wrote: > ...
5 years, 2 months ago (2015-09-29 18:29:01 UTC) #10
Evan Stade
https://codereview.chromium.org/1318523011/diff/80001/chrome/browser/resources/options/password_manager_list.css File chrome/browser/resources/options/password_manager_list.css (right): https://codereview.chromium.org/1318523011/diff/80001/chrome/browser/resources/options/password_manager_list.css#newcode75 chrome/browser/resources/options/password_manager_list.css:75: direction: rtl; On 2015/09/29 18:29:01, kolos1 wrote: > This ...
5 years, 2 months ago (2015-09-29 18:53:07 UTC) #11
kolos1
Hi, I made some changes addressed to reviewers' comments. Please review them. CL has been ...
5 years, 2 months ago (2015-10-05 18:43:23 UTC) #12
Evan Stade
can you post a screenshot of a URL being elided in RTL? https://codereview.chromium.org/1318523011/diff/120001/chrome/browser/resources/options/password_manager.js File chrome/browser/resources/options/password_manager.js ...
5 years, 2 months ago (2015-10-05 18:59:42 UTC) #13
kolos1
Hi, Evan! Screenshots for left elided URL are here. Please review new changes. Regards, Maxim ...
5 years, 2 months ago (2015-10-06 18:52:33 UTC) #14
kolos1
Sorry, forgot to copy the link to screenshots https://code.google.com/p/chromium/issues/detail?id=483915#c16
5 years, 2 months ago (2015-10-06 18:56:38 UTC) #15
kolos1
Hi Evan! Friendly ping, could you review my changes, please? Best regards, Maxim Kolosovskiy
5 years, 2 months ago (2015-10-13 16:42:53 UTC) #17
Evan Stade
https://codereview.chromium.org/1318523011/diff/140001/chrome/browser/resources/options/password_manager_list.js File chrome/browser/resources/options/password_manager_list.js (right): https://codereview.chromium.org/1318523011/diff/140001/chrome/browser/resources/options/password_manager_list.js#newcode13 chrome/browser/resources/options/password_manager_list.js:13: /** @const */ var ORIGIN_FIELD = 'origin'; I don't ...
5 years, 2 months ago (2015-10-13 17:15:01 UTC) #18
Evan Stade
On 2015/10/13 16:42:53, kolos1 wrote: > Hi Evan! > > Friendly ping, could you review ...
5 years, 2 months ago (2015-10-13 17:15:22 UTC) #19
kolos1
Hi, vabr@chromium.org: Please review changes in affiliation_utils* pkotwicz@chromium.org: Please review changes in large_icon_service*, large_icon_url_parser*, fallback_icon_url_parser.h ...
5 years, 2 months ago (2015-10-15 09:34:54 UTC) #23
kolos1
Hi Evan, Thanks. I made some changes addressed to your comments (password_manager_list.js, password_manager_handler.cc). Please review ...
5 years, 2 months ago (2015-10-15 09:43:01 UTC) #25
kolos1
5 years, 2 months ago (2015-10-15 09:44:40 UTC) #27
vabr (Chromium)
components/password_manager/core/browser/* LGTM with some comments. Thanks! Vaclav https://codereview.chromium.org/1318523011/diff/200001/components/password_manager/core/browser/affiliation_utils.h File components/password_manager/core/browser/affiliation_utils.h (right): https://codereview.chromium.org/1318523011/diff/200001/components/password_manager/core/browser/affiliation_utils.h#newcode212 components/password_manager/core/browser/affiliation_utils.h:212: std::string GetShownOrigin(const ...
5 years, 2 months ago (2015-10-15 11:58:26 UTC) #28
pkotwicz
https://codereview.chromium.org/1318523011/diff/200001/ui/webui/resources/js/util.js File ui/webui/resources/js/util.js (right): https://codereview.chromium.org/1318523011/diff/200001/ui/webui/resources/js/util.js#newcode357 ui/webui/resources/js/util.js:357: getFaviconImageSet('', 16); This code confuses me. Here is my ...
5 years, 2 months ago (2015-10-15 15:44:26 UTC) #29
kolos1
https://codereview.chromium.org/1318523011/diff/200001/ui/webui/resources/js/util.js File ui/webui/resources/js/util.js (right): https://codereview.chromium.org/1318523011/diff/200001/ui/webui/resources/js/util.js#newcode357 ui/webui/resources/js/util.js:357: getFaviconImageSet('', 16); If the url is insecure, we show ...
5 years, 2 months ago (2015-10-15 20:22:46 UTC) #30
pkotwicz
https://codereview.chromium.org/1318523011/diff/200001/ui/webui/resources/js/util.js File ui/webui/resources/js/util.js (right): https://codereview.chromium.org/1318523011/diff/200001/ui/webui/resources/js/util.js#newcode357 ui/webui/resources/js/util.js:357: getFaviconImageSet('', 16); Sorry for my misunderstanding. I think that ...
5 years, 2 months ago (2015-10-15 21:10:55 UTC) #31
Evan Stade
https://codereview.chromium.org/1318523011/diff/200001/chrome/browser/resources/options/password_manager_list.js File chrome/browser/resources/options/password_manager_list.js (right): https://codereview.chromium.org/1318523011/diff/200001/chrome/browser/resources/options/password_manager_list.js#newcode306 chrome/browser/resources/options/password_manager_list.js:306: getIconBasedOnUrlSecurity(this.url, this.isUrlSecure); indent https://codereview.chromium.org/1318523011/diff/200001/chrome/browser/ui/webui/large_icon_source.h File chrome/browser/ui/webui/large_icon_source.h (right): https://codereview.chromium.org/1318523011/diff/200001/chrome/browser/ui/webui/large_icon_source.h#newcode43 chrome/browser/ui/webui/large_icon_source.h:43: ...
5 years, 2 months ago (2015-10-15 23:46:32 UTC) #32
kolos1
https://codereview.chromium.org/1318523011/diff/200001/chrome/browser/resources/options/password_manager_list.js File chrome/browser/resources/options/password_manager_list.js (right): https://codereview.chromium.org/1318523011/diff/200001/chrome/browser/resources/options/password_manager_list.js#newcode306 chrome/browser/resources/options/password_manager_list.js:306: getIconBasedOnUrlSecurity(this.url, this.isUrlSecure); On 2015/10/15 23:46:32, Evan Stade wrote: > ...
5 years, 2 months ago (2015-10-16 14:19:26 UTC) #33
Evan Stade
(is this patch still waiting for review? It seems like it's stuck on pkotwicz's concerns?
5 years, 2 months ago (2015-10-23 22:08:37 UTC) #36
kolos1
It was decided to postpone using the fallback icons. So, I rolled back some changes. ...
5 years, 1 month ago (2015-10-26 08:52:14 UTC) #37
Evan Stade
lgtm https://codereview.chromium.org/1318523011/diff/280001/chrome/browser/resources/options/password_manager_list.css File chrome/browser/resources/options/password_manager_list.css (right): https://codereview.chromium.org/1318523011/diff/280001/chrome/browser/resources/options/password_manager_list.css#newcode26 chrome/browser/resources/options/password_manager_list.css:26: input[type='text'].inactive-item { do you need the input part ...
5 years, 1 month ago (2015-10-26 18:41:13 UTC) #38
kolos1
https://codereview.chromium.org/1318523011/diff/280001/chrome/browser/resources/options/password_manager_list.css File chrome/browser/resources/options/password_manager_list.css (right): https://codereview.chromium.org/1318523011/diff/280001/chrome/browser/resources/options/password_manager_list.css#newcode26 chrome/browser/resources/options/password_manager_list.css:26: input[type='text'].inactive-item { You are right. The class name is ...
5 years, 1 month ago (2015-10-27 08:24:36 UTC) #39
Evan Stade
https://codereview.chromium.org/1318523011/diff/280001/chrome/browser/resources/options/password_manager_list.js File chrome/browser/resources/options/password_manager_list.js (right): https://codereview.chromium.org/1318523011/diff/280001/chrome/browser/resources/options/password_manager_list.js#newcode13 chrome/browser/resources/options/password_manager_list.js:13: /** @const */ var ORIGIN_FIELD = 'origin'; On 2015/10/27 ...
5 years, 1 month ago (2015-10-27 16:51:37 UTC) #40
vabr (Chromium)
Thanks, Maxim. I left some comments at the 3 new files, but still LGTM. Cheers, ...
5 years, 1 month ago (2015-10-28 14:10:19 UTC) #41
kolos1
Some small changes in password_ui_utils* https://codereview.chromium.org/1318523011/diff/300001/components/password_manager/core/browser/password_ui_utils.cc File components/password_manager/core/browser/password_ui_utils.cc (right): https://codereview.chromium.org/1318523011/diff/300001/components/password_manager/core/browser/password_ui_utils.cc#newcode7 components/password_manager/core/browser/password_ui_utils.cc:7: #include <iosfwd> On 2015/10/28 ...
5 years, 1 month ago (2015-10-29 13:55:25 UTC) #42
vabr (Chromium)
Hi Maxim, LGTM, but please do address the comment about StringPiece before landing. I'm happy ...
5 years, 1 month ago (2015-10-29 14:16:45 UTC) #43
kolos1
https://codereview.chromium.org/1318523011/diff/300001/components/password_manager/core/browser/password_ui_utils.cc File components/password_manager/core/browser/password_ui_utils.cc (right): https://codereview.chromium.org/1318523011/diff/300001/components/password_manager/core/browser/password_ui_utils.cc#newcode26 components/password_manager/core/browser/password_ui_utils.cc:26: for (std::string prefix : kRemovedPrefixes) { Ah, I see. ...
5 years, 1 month ago (2015-10-29 14:50:57 UTC) #44
vabr (Chromium)
LGTM, thank you Maxim! Vaclav https://codereview.chromium.org/1318523011/diff/300001/components/password_manager/core/browser/password_ui_utils.cc File components/password_manager/core/browser/password_ui_utils.cc (right): https://codereview.chromium.org/1318523011/diff/300001/components/password_manager/core/browser/password_ui_utils.cc#newcode26 components/password_manager/core/browser/password_ui_utils.cc:26: for (std::string prefix : ...
5 years, 1 month ago (2015-10-29 15:23:22 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1318523011/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1318523011/340001
5 years, 1 month ago (2015-10-29 15:36:30 UTC) #48
commit-bot: I haz the power
Committed patchset #12 (id:340001)
5 years, 1 month ago (2015-10-29 16:59:15 UTC) #49
commit-bot: I haz the power
5 years, 1 month ago (2015-10-29 17:00:32 UTC) #50
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/00512644944fa28dff9272d31cb3292c17151992
Cr-Commit-Position: refs/heads/master@{#356866}

Powered by Google App Engine
This is Rietveld 408576698