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

Issue 1025703003: [Extensions Page] Fix the flicker of "No extensions" before extension data loads (Closed)

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

Description

[Extensions Page] Fix the flicker of "No extensions" before extension data loads There was a flicker caused because we remove the 'loading' class from the page before the extensions list finishes updating itself (asynchronously). BUG=469053 BUG=469332 Committed: https://crrev.com/5a08803841e50d800538bc4e8da2373c817ab114 Cr-Commit-Position: refs/heads/master@{#321869}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -62 lines) Patch
M chrome/browser/resources/extensions/extension_list.js View 1 2 3 4 5 6 chunks +62 lines, -28 lines 0 comments Download
M chrome/browser/resources/extensions/extensions.css View 1 2 3 2 chunks +4 lines, -11 lines 0 comments Download
M chrome/browser/resources/extensions/extensions.html View 1 2 3 4 2 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/resources/extensions/extensions.js View 1 2 3 4 4 chunks +23 lines, -13 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
Devlin
Dan, mind taking a look? There are, of course, a bunch of other ways we ...
5 years, 9 months ago (2015-03-20 17:02:58 UTC) #3
Dan Beam
i think by far the simplest way would just to be: <div id=no-extensions hidden></div> <div ...
5 years, 9 months ago (2015-03-20 18:18:23 UTC) #4
Dan Beam
i think that'd be a bit easier to understand than the current css hackery
5 years, 9 months ago (2015-03-20 18:19:27 UTC) #5
Devlin
On 2015/03/20 18:19:27, Dan Beam wrote: > i think that'd be a bit easier to ...
5 years, 9 months ago (2015-03-20 19:49:43 UTC) #6
Dan Beam
https://codereview.chromium.org/1025703003/diff/40001/chrome/browser/resources/extensions/extensions.css File chrome/browser/resources/extensions/extensions.css (left): https://codereview.chromium.org/1025703003/diff/40001/chrome/browser/resources/extensions/extensions.css#oldcode6 chrome/browser/resources/extensions/extensions.css:6: transition-duration: 0ms !important; might want to keep this https://codereview.chromium.org/1025703003/diff/40001/chrome/browser/resources/extensions/extensions.html ...
5 years, 9 months ago (2015-03-20 23:13:27 UTC) #7
Devlin
https://codereview.chromium.org/1025703003/diff/40001/chrome/browser/resources/extensions/extensions.css File chrome/browser/resources/extensions/extensions.css (left): https://codereview.chromium.org/1025703003/diff/40001/chrome/browser/resources/extensions/extensions.css#oldcode6 chrome/browser/resources/extensions/extensions.css:6: transition-duration: 0ms !important; On 2015/03/20 23:13:27, Dan Beam wrote: ...
5 years, 9 months ago (2015-03-21 01:07:19 UTC) #8
Dan Beam
https://codereview.chromium.org/1025703003/diff/40001/chrome/browser/resources/extensions/extensions.css File chrome/browser/resources/extensions/extensions.css (left): https://codereview.chromium.org/1025703003/diff/40001/chrome/browser/resources/extensions/extensions.css#oldcode6 chrome/browser/resources/extensions/extensions.css:6: transition-duration: 0ms !important; On 2015/03/21 01:07:18, Devlin wrote: > ...
5 years, 9 months ago (2015-03-21 01:14:10 UTC) #9
Devlin
https://codereview.chromium.org/1025703003/diff/40001/chrome/browser/resources/extensions/extensions.css File chrome/browser/resources/extensions/extensions.css (left): https://codereview.chromium.org/1025703003/diff/40001/chrome/browser/resources/extensions/extensions.css#oldcode6 chrome/browser/resources/extensions/extensions.css:6: transition-duration: 0ms !important; On 2015/03/21 01:14:10, Dan Beam wrote: ...
5 years, 9 months ago (2015-03-21 01:32:23 UTC) #10
Dan Beam
https://codereview.chromium.org/1025703003/diff/80001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/1025703003/diff/80001/chrome/browser/resources/extensions/extension_list.js#newcode147 chrome/browser/resources/extensions/extension_list.js:147: var ExtensionList = cr.ui.define('div'); if cr.ui.define() is limiting, do ...
5 years, 9 months ago (2015-03-21 01:44:20 UTC) #11
Devlin
https://codereview.chromium.org/1025703003/diff/80001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/1025703003/diff/80001/chrome/browser/resources/extensions/extension_list.js#newcode147 chrome/browser/resources/extensions/extension_list.js:147: var ExtensionList = cr.ui.define('div'); On 2015/03/21 01:44:20, Dan Beam ...
5 years, 9 months ago (2015-03-21 04:54:00 UTC) #13
Devlin
Dan, friendly ping?
5 years, 9 months ago (2015-03-23 20:04:17 UTC) #14
Dan Beam
lgtm https://codereview.chromium.org/1025703003/diff/120001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/1025703003/diff/120001/chrome/browser/resources/extensions/extension_list.js#newcode273 chrome/browser/resources/extensions/extension_list.js:273: var node = /** @type {ExtensionFocusRow} */ ($(extension.id)); ...
5 years, 9 months ago (2015-03-23 20:09:15 UTC) #15
Devlin
https://codereview.chromium.org/1025703003/diff/120001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/1025703003/diff/120001/chrome/browser/resources/extensions/extension_list.js#newcode273 chrome/browser/resources/extensions/extension_list.js:273: var node = /** @type {ExtensionFocusRow} */ ($(extension.id)); On ...
5 years, 9 months ago (2015-03-23 20:15:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1025703003/140001
5 years, 9 months ago (2015-03-23 20:15:50 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years, 9 months ago (2015-03-23 22:20:21 UTC) #20
commit-bot: I haz the power
5 years, 9 months ago (2015-03-23 22:21:41 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5a08803841e50d800538bc4e8da2373c817ab114
Cr-Commit-Position: refs/heads/master@{#321869}

Powered by Google App Engine
This is Rietveld 408576698