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

Issue 526633002: Apply object updates from the network without blowing away object identity or UI attributes. (Closed)

Created:
6 years, 3 months ago by Jeffrey Yasskin
Modified:
6 years, 3 months ago
Reviewers:
esprehn, ojan
CC:
ojan, blink-reviews, cbiesinger, dsinclair, jochen (gone - plz use gerrit), leviw_travelin_and_unemployed, michaelpg, szager1, teravest
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Apply object updates from the network without blowing away object identity or UI attributes. After this change, a data update will no longer collapse any expanded sections. BUG=408364 NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181405

Patch Set 1 : Initial #

Total comments: 16

Patch Set 2 : Update names and code arrangement per Ojan's comments. #

Patch Set 3 : Add the beginning of a test. #

Patch Set 4 : Finish test. #

Patch Set 5 : Stop preserving the identity of arrays. #

Patch Set 6 : Simplify and document updateLeft() using the fact that it returns the resulting object. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+497 lines, -55 lines) Patch
A + Tools/GardeningServer/lib/sugar.html View 1 chunk +1 line, -6 lines 0 comments Download
A Tools/GardeningServer/lib/test/update-util-tests.html View 1 2 3 4 5 1 chunk +152 lines, -0 lines 0 comments Download
A Tools/GardeningServer/lib/update-util.html View 1 2 3 4 5 1 chunk +105 lines, -0 lines 0 comments Download
M Tools/GardeningServer/model/ct-commit-list.html View 3 chunks +2 lines, -10 lines 0 comments Download
M Tools/GardeningServer/model/ct-failure.html View 1 1 chunk +3 lines, -0 lines 0 comments Download
M Tools/GardeningServer/model/ct-failure-group.html View 1 1 chunk +2 lines, -1 line 0 comments Download
M Tools/GardeningServer/model/ct-failures.html View 1 2 3 4 6 chunks +16 lines, -11 lines 0 comments Download
A Tools/GardeningServer/model/ct-repository-commit-list.html View 1 1 chunk +22 lines, -0 lines 0 comments Download
M Tools/GardeningServer/model/test/ct-failure-group-tests.html View 10 chunks +15 lines, -15 lines 0 comments Download
M Tools/GardeningServer/model/test/ct-failure-tests.html View 1 2 chunks +11 lines, -3 lines 0 comments Download
M Tools/GardeningServer/model/test/ct-failures-tests.html View 1 2 3 3 chunks +162 lines, -4 lines 0 comments Download
M Tools/GardeningServer/ui/ct-sheriff-o-matic.html View 1 chunk +1 line, -1 line 0 comments Download
M Tools/GardeningServer/ui/test/ct-failure-card-tests.html View 1 chunk +1 line, -1 line 0 comments Download
M Tools/GardeningServer/ui/test/ct-failure-stream-tests.html View 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
Jeffrey Yasskin
I'm missing a test checking that updates preserve the 'expanded' state, and I may have ...
6 years, 3 months ago (2014-08-30 01:55:16 UTC) #2
Jeffrey Yasskin
https://codereview.chromium.org/526633002/diff/20001/Tools/GardeningServer/lib/util.html File Tools/GardeningServer/lib/util.html (right): https://codereview.chromium.org/526633002/diff/20001/Tools/GardeningServer/lib/util.html#newcode18 Tools/GardeningServer/lib/util.html:18: // If they're arrays, true if the elements have ...
6 years, 3 months ago (2014-08-30 03:07:24 UTC) #3
ojan
esprehn, mind taking a quick glance at the approach this patch takes? I expect you'll ...
6 years, 3 months ago (2014-09-02 04:08:03 UTC) #5
esprehn
Sure I'll look tomorrow. To unsubscribe from this group and stop receiving emails from it, ...
6 years, 3 months ago (2014-09-02 06:09:45 UTC) #6
Jeffrey Yasskin
I'm working on the test now. https://codereview.chromium.org/526633002/diff/20001/Tools/GardeningServer/lib/util.html File Tools/GardeningServer/lib/util.html (right): https://codereview.chromium.org/526633002/diff/20001/Tools/GardeningServer/lib/util.html#newcode11 Tools/GardeningServer/lib/util.html:11: var util = ...
6 years, 3 months ago (2014-09-02 21:45:51 UTC) #7
esprehn
This seems really complicated, I don't think you want to be creating objects and then ...
6 years, 3 months ago (2014-09-02 23:00:28 UTC) #8
esprehn
In talking about this with Ojan we can go ahead and try this and see ...
6 years, 3 months ago (2014-09-03 00:44:01 UTC) #9
Jeffrey Yasskin
I think it's not going to be too hard to see what your suggestion looks ...
6 years, 3 months ago (2014-09-03 00:50:43 UTC) #10
esprehn
On 2014/09/03 at 00:50:43, jyasskin wrote: > I think it's not going to be too ...
6 years, 3 months ago (2014-09-03 06:18:57 UTC) #11
Jeffrey Yasskin
I've rebased this on top of https://codereview.chromium.org/536163002/, and I think everything's done except the rewrite ...
6 years, 3 months ago (2014-09-04 00:38:28 UTC) #13
ojan
This lgtm. I'm thinking we should just go ahead and land this so we can ...
6 years, 3 months ago (2014-09-04 17:58:16 UTC) #14
Jeffrey Yasskin
On 2014/09/04 17:58:16, ojan-only-code-yellow-reviews wrote: > This lgtm. > > I'm thinking we should just ...
6 years, 3 months ago (2014-09-04 18:14:12 UTC) #15
Jeffrey Yasskin
On 2014/09/04 18:14:12, Jeffrey Yasskin wrote: > On 2014/09/04 17:58:16, ojan-only-code-yellow-reviews wrote: > > This ...
6 years, 3 months ago (2014-09-04 21:01:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jyasskin@chromium.org/526633002/140001
6 years, 3 months ago (2014-09-04 22:03:49 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-04 22:05:13 UTC) #19
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as 181405

Powered by Google App Engine
This is Rietveld 408576698