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

Issue 1447183005: [MD Extensions] Fix item sorting (Closed)

Created:
5 years, 1 month ago by Devlin
Modified:
5 years, 1 month ago
Reviewers:
michaelpg
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org, Dan Beam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Extensions] Fix item sorting Items are sorted (unpacked first, then alphabetical by name, then alphabetical by id). Move this sorting to the manager, since there are now sections (so sorting them in the service doesn't make sense). BUG=529395 Committed: https://crrev.com/3d6968a0264075f5c079f3de4c4e486507761f8f Cr-Commit-Position: refs/heads/master@{#360477}

Patch Set 1 #

Total comments: 24

Patch Set 2 : Michael's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -86 lines) Patch
M chrome/browser/resources/md_extensions/manager.js View 1 2 chunks +37 lines, -7 lines 0 comments Download
M chrome/browser/resources/md_extensions/service.js View 1 5 chunks +7 lines, -32 lines 0 comments Download
M chrome/test/data/webui/extensions/cr_extensions_browsertest.js View 1 6 chunks +53 lines, -29 lines 0 comments Download
M chrome/test/data/webui/extensions/extension_item_test.js View 1 chunk +2 lines, -18 lines 0 comments Download
M chrome/test/data/webui/extensions/extension_manager_test.js View 1 2 chunks +53 lines, -0 lines 0 comments Download
M chrome/test/data/webui/extensions/extension_test_util.js View 1 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Devlin
Michael's up! Dan FYI. https://codereview.chromium.org/1447183005/diff/1/chrome/browser/resources/md_extensions/manager.js File chrome/browser/resources/md_extensions/manager.js (right): https://codereview.chromium.org/1447183005/diff/1/chrome/browser/resources/md_extensions/manager.js#newcode9 chrome/browser/resources/md_extensions/manager.js:9: * Compares two extensions to ...
5 years, 1 month ago (2015-11-18 00:38:57 UTC) #2
michaelpg
Not thrilled about making the sort O(n^2) just because sorting in the service "doesn't make ...
5 years, 1 month ago (2015-11-18 09:08:46 UTC) #3
Devlin
On 2015/11/18 09:08:46, michaelpg wrote: > Not thrilled about making the sort O(n^2) just because ...
5 years, 1 month ago (2015-11-18 17:17:00 UTC) #4
michaelpg
lgtm https://codereview.chromium.org/1447183005/diff/1/chrome/browser/resources/md_extensions/service.js File chrome/browser/resources/md_extensions/service.js (right): https://codereview.chromium.org/1447183005/diff/1/chrome/browser/resources/md_extensions/service.js#newcode36 chrome/browser/resources/md_extensions/service.js:36: this.manager_.addItem(extension, this); On 2015/11/18 17:16:59, Devlin wrote: > ...
5 years, 1 month ago (2015-11-18 20:01:17 UTC) #5
Devlin
https://codereview.chromium.org/1447183005/diff/1/chrome/browser/resources/md_extensions/service.js File chrome/browser/resources/md_extensions/service.js (right): https://codereview.chromium.org/1447183005/diff/1/chrome/browser/resources/md_extensions/service.js#newcode36 chrome/browser/resources/md_extensions/service.js:36: this.manager_.addItem(extension, this); On 2015/11/18 20:01:17, michaelpg wrote: > as ...
5 years, 1 month ago (2015-11-18 23:23:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1447183005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1447183005/20001
5 years, 1 month ago (2015-11-18 23:25:37 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-19 01:53:46 UTC) #9
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 01:55:15 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3d6968a0264075f5c079f3de4c4e486507761f8f
Cr-Commit-Position: refs/heads/master@{#360477}

Powered by Google App Engine
This is Rietveld 408576698