Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(12944)

Issue 6652055: Quicken env. redraw after relation add and remove

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by teknico
Modified:
11 years, 6 months ago
Reviewers:
mp+129449, hazmat
Visibility:
Public.

Description

Quicken env. redraw after relation add and remove Do not wait for delta, but update the db and redraw the environment on RPC results, on both relation addition and removal. Also, fix a notification bug on relation removal. https://code.launchpad.net/~teknico/juju-ui/quicken-new-relation-draw/+merge/129449 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Quicken env. redraw after relation add and remove #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -27 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/models/models.js View 1 1 chunk +3 lines, -1 line 0 comments Download
M app/store/notifications.js View 1 4 chunks +10 lines, -11 lines 0 comments Download
M app/views/environment.js View 1 7 chunks +38 lines, -10 lines 1 comment Download
M test/test_application_notifications.js View 1 2 chunks +3 lines, -4 lines 0 comments Download
M test/test_environment_view.js View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 7
teknico
Please take a look.
11 years, 6 months ago (2012-10-12 14:54:31 UTC) #1
hazmat
looks good https://codereview.appspot.com/6652055/diff/1/app/views/environment.js File app/views/environment.js (right): https://codereview.appspot.com/6652055/diff/1/app/views/environment.js#newcode1294 app/views/environment.js:1294: type: endpoints[0][1].name, not quite type != name, ...
11 years, 6 months ago (2012-10-12 19:58:50 UTC) #2
hazmat
I just noticed/realized we're drawing the relation name everywhere.. instead of the interface. it does ...
11 years, 6 months ago (2012-10-12 20:11:18 UTC) #3
hazmat
the relation display_name can be either pushed to another branch/card or done here but the ...
11 years, 6 months ago (2012-10-12 20:48:59 UTC) #4
teknico
Please take a look.
11 years, 6 months ago (2012-10-15 14:42:29 UTC) #5
teknico
hazmat wrote [a fair number of comments :-) ]: > [snip] We believe we addressed ...
11 years, 6 months ago (2012-10-15 14:44:24 UTC) #6
hazmat
11 years, 6 months ago (2012-10-15 18:19:47 UTC) #7
looks good, thanks for the changes.

https://codereview.appspot.com/6652055/diff/7001/app/views/environment.js
File app/views/environment.js (right):

https://codereview.appspot.com/6652055/diff/7001/app/views/environment.js#new...
app/views/environment.js:857: if (bpair.display_name === undefined) {
aha i was wondering where this was being done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b