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

Issue 1564063002: Fixing the hiding error bubble animation bug on second opening of create user dialog. (Closed)

Created:
4 years, 11 months ago by atanasova
Modified:
4 years, 11 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixing the hiding error bubble animation bug on second opening of create user dialog. This bug was introduced with the fix of adding SUs with the same name. The problem is that the callback that is called when SU are refreshed does not know whether it is called after a new user is created. This causes the dialog to think that it needs to create the error bubble. For some reason the overlay is not closed after the creation of account is done, so the solution is to expose the creationInProgress, so the callback does not proceed. This requires the onSuccess callback to not change the state (otherwise the receiveSupervisedUsers callback continues to be called and cause the error). BUG=575134 Committed: https://crrev.com/5ca1e81c7db5a0d5fb0028ccbb0277a85112b0ac Cr-Commit-Position: refs/heads/master@{#369314}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Fixing the comments #

Patch Set 3 : After offline discussion using the PageManager to check whether the overlay is visible #

Total comments: 2

Patch Set 4 : Fixing comment #

Total comments: 4

Patch Set 5 : Changing to this.visible after Pam's suggestion #

Patch Set 6 : Merge with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M chrome/browser/resources/options/manage_profile_overlay.js View 1 2 3 4 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
atanasova
4 years, 11 months ago (2016-01-07 14:12:38 UTC) #3
Marc Treib
https://codereview.chromium.org/1564063002/diff/1/chrome/browser/resources/options/manage_profile_overlay.js File chrome/browser/resources/options/manage_profile_overlay.js (left): https://codereview.chromium.org/1564063002/diff/1/chrome/browser/resources/options/manage_profile_overlay.js#oldcode762 chrome/browser/resources/options/manage_profile_overlay.js:762: this.updateCreateInProgress_(false); Why remove this? https://codereview.chromium.org/1564063002/diff/1/chrome/browser/resources/options/manage_profile_overlay.js File chrome/browser/resources/options/manage_profile_overlay.js (right): https://codereview.chromium.org/1564063002/diff/1/chrome/browser/resources/options/manage_profile_overlay.js#newcode374 ...
4 years, 11 months ago (2016-01-07 14:42:48 UTC) #4
atanasova
https://codereview.chromium.org/1564063002/diff/1/chrome/browser/resources/options/manage_profile_overlay.js File chrome/browser/resources/options/manage_profile_overlay.js (left): https://codereview.chromium.org/1564063002/diff/1/chrome/browser/resources/options/manage_profile_overlay.js#oldcode762 chrome/browser/resources/options/manage_profile_overlay.js:762: this.updateCreateInProgress_(false); On 2016/01/07 14:42:48, Marc Treib wrote: > Why ...
4 years, 11 months ago (2016-01-07 15:03:10 UTC) #5
Marc Treib
https://codereview.chromium.org/1564063002/diff/1/chrome/browser/resources/options/manage_profile_overlay.js File chrome/browser/resources/options/manage_profile_overlay.js (left): https://codereview.chromium.org/1564063002/diff/1/chrome/browser/resources/options/manage_profile_overlay.js#oldcode762 chrome/browser/resources/options/manage_profile_overlay.js:762: this.updateCreateInProgress_(false); On 2016/01/07 15:03:10, atanasova wrote: > On 2016/01/07 ...
4 years, 11 months ago (2016-01-07 16:11:23 UTC) #6
atanasova
https://codereview.chromium.org/1564063002/diff/1/chrome/browser/resources/options/manage_profile_overlay.js File chrome/browser/resources/options/manage_profile_overlay.js (left): https://codereview.chromium.org/1564063002/diff/1/chrome/browser/resources/options/manage_profile_overlay.js#oldcode762 chrome/browser/resources/options/manage_profile_overlay.js:762: this.updateCreateInProgress_(false); On 2016/01/07 16:11:23, Marc Treib wrote: > On ...
4 years, 11 months ago (2016-01-07 16:22:44 UTC) #7
atanasova
Changes after offline discussion
4 years, 11 months ago (2016-01-07 16:45:09 UTC) #8
Marc Treib
LGTM https://codereview.chromium.org/1564063002/diff/40001/chrome/browser/resources/options/manage_profile_overlay.js File chrome/browser/resources/options/manage_profile_overlay.js (right): https://codereview.chromium.org/1564063002/diff/40001/chrome/browser/resources/options/manage_profile_overlay.js#newcode376 chrome/browser/resources/options/manage_profile_overlay.js:376: // from showing up if the overlay is ...
4 years, 11 months ago (2016-01-07 17:04:16 UTC) #9
atanasova
https://codereview.chromium.org/1564063002/diff/40001/chrome/browser/resources/options/manage_profile_overlay.js File chrome/browser/resources/options/manage_profile_overlay.js (right): https://codereview.chromium.org/1564063002/diff/40001/chrome/browser/resources/options/manage_profile_overlay.js#newcode376 chrome/browser/resources/options/manage_profile_overlay.js:376: // from showing up if the overlay is already ...
4 years, 11 months ago (2016-01-07 17:08:40 UTC) #11
Pam (message me for reviews)
https://codereview.chromium.org/1564063002/diff/60001/chrome/browser/resources/options/manage_profile_overlay.js File chrome/browser/resources/options/manage_profile_overlay.js (right): https://codereview.chromium.org/1564063002/diff/60001/chrome/browser/resources/options/manage_profile_overlay.js#newcode378 chrome/browser/resources/options/manage_profile_overlay.js:378: if (PageManager.getTopmostVisiblePage().pageDiv != this.pageDiv) Do we actually need to ...
4 years, 11 months ago (2016-01-11 18:32:37 UTC) #13
atanasova
https://codereview.chromium.org/1564063002/diff/60001/chrome/browser/resources/options/manage_profile_overlay.js File chrome/browser/resources/options/manage_profile_overlay.js (right): https://codereview.chromium.org/1564063002/diff/60001/chrome/browser/resources/options/manage_profile_overlay.js#newcode378 chrome/browser/resources/options/manage_profile_overlay.js:378: if (PageManager.getTopmostVisiblePage().pageDiv != this.pageDiv) On 2016/01/11 18:32:37, Pam (also ...
4 years, 11 months ago (2016-01-13 16:55:07 UTC) #14
Pam (message me for reviews)
LGTM! https://codereview.chromium.org/1564063002/diff/60001/chrome/browser/resources/options/manage_profile_overlay.js File chrome/browser/resources/options/manage_profile_overlay.js (right): https://codereview.chromium.org/1564063002/diff/60001/chrome/browser/resources/options/manage_profile_overlay.js#newcode378 chrome/browser/resources/options/manage_profile_overlay.js:378: if (PageManager.getTopmostVisiblePage().pageDiv != this.pageDiv) On 2016/01/13 16:55:07, atanasova ...
4 years, 11 months ago (2016-01-13 22:05:10 UTC) #15
atanasova
https://codereview.chromium.org/1564063002/diff/60001/chrome/browser/resources/options/manage_profile_overlay.js File chrome/browser/resources/options/manage_profile_overlay.js (right): https://codereview.chromium.org/1564063002/diff/60001/chrome/browser/resources/options/manage_profile_overlay.js#newcode378 chrome/browser/resources/options/manage_profile_overlay.js:378: if (PageManager.getTopmostVisiblePage().pageDiv != this.pageDiv) On 2016/01/13 22:05:09, Pam (also ...
4 years, 11 months ago (2016-01-13 22:08:52 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1564063002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1564063002/100001
4 years, 11 months ago (2016-01-13 22:11:06 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_dbg on ...
4 years, 11 months ago (2016-01-14 00:18:47 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1564063002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1564063002/100001
4 years, 11 months ago (2016-01-14 00:56:00 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-14 02:17:42 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1564063002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1564063002/100001
4 years, 11 months ago (2016-01-14 02:40:07 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 11 months ago (2016-01-14 03:46:29 UTC) #29
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 03:48:42 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5ca1e81c7db5a0d5fb0028ccbb0277a85112b0ac
Cr-Commit-Position: refs/heads/master@{#369314}

Powered by Google App Engine
This is Rietveld 408576698