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

Issue 2594883002: DevTools: [Persistence] introduce badged icons instead of checkmarks (Closed)

Created:
4 years ago by lushnikov
Modified:
3 years, 12 months ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: [Persistence] introduce badged icons instead of checkmarks This patch introduces badged icons instead of green checkmarks. To achieve this, this CL does: - introduce a bunch of new icons - introduce UI.Icon.combine method, which overlays an array of icons atop of each other. The result of this operation is a span which has dimensions of the first icon. BUG=675856 R=dgozman Committed: https://crrev.com/6bf007fcb5625e6e883570fd9eeca7b2594ac85d Cr-Commit-Position: refs/heads/master@{#440194}

Patch Set 1 #

Patch Set 2 : update test #

Patch Set 3 : missing jsdoc #

Total comments: 1

Patch Set 4 : rebaseline atop pfeldman #

Patch Set 5 : move #

Total comments: 6

Patch Set 6 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -101 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js View 1 2 3 1 chunk +8 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-navigator.html View 1 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-navigator-expected.txt View 1 2 3 1 chunk +42 lines, -42 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/smallIcons.png View Binary file 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/smallIcons_2x.png View Binary file 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/src/optimize_png.hashes View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/src/smallIcons.svg View 2 chunks +3 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/src/svg2png.hashes View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/src/toolbarButtonGlyphs.svg View 1 2 3 2 chunks +110 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/toolbarButtonGlyphs.png View 1 2 3 Binary file 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/toolbarButtonGlyphs_2x.png View 1 2 3 Binary file 0 comments Download
M third_party/WebKit/Source/devtools/front_end/persistence/PersistenceUtils.js View 1 2 3 2 chunks +21 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js View 1 2 3 4 5 2 chunks +21 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css View 1 2 3 4 1 chunk +12 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Icon.js View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/inspectorSyntaxHighlight.css View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/tabbedPane.css View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (13 generated)
lushnikov
please, take a look
4 years ago (2016-12-21 00:51:30 UTC) #1
dgozman
lgtm https://codereview.chromium.org/2594883002/diff/40001/third_party/WebKit/Source/devtools/front_end/ui/Icon.js File third_party/WebKit/Source/devtools/front_end/ui/Icon.js (right): https://codereview.chromium.org/2594883002/diff/40001/third_party/WebKit/Source/devtools/front_end/ui/Icon.js#newcode225 third_party/WebKit/Source/devtools/front_end/ui/Icon.js:225: 'badge-navigator-file-sync-error': {x: -320, y: -72, width: 32, height: ...
4 years ago (2016-12-21 02:44:40 UTC) #10
lushnikov
all done, thanks! https://codereview.chromium.org/2594883002/diff/80001/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js File third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js (right): https://codereview.chromium.org/2594883002/diff/80001/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js#newcode964 third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js:964: defaultIcon.classList.add('icon-container'); On 2016/12/21 02:44:40, dgozman wrote: ...
4 years ago (2016-12-21 02:58:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2594883002/100001
3 years, 12 months ago (2016-12-21 17:57:47 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
3 years, 12 months ago (2016-12-21 20:07:09 UTC) #17
commit-bot: I haz the power
3 years, 12 months ago (2016-12-21 20:09:12 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6bf007fcb5625e6e883570fd9eeca7b2594ac85d
Cr-Commit-Position: refs/heads/master@{#440194}

Powered by Google App Engine
This is Rietveld 408576698