Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Implement basics for ServiceUnit token/view. #239

Merged
merged 2 commits into from Apr 21, 2014

Conversation

kadams54
Copy link
Contributor

Right now primarily a code review as this isn't wired into anything yet.

@jujugui
Copy link
Contributor

jujugui commented Apr 15, 2014

Test FAILed.
Refer to this link for build results: http://ci.jujugui.org:8080/job/juju-gui/728/

@jujugui
Copy link
Contributor

jujugui commented Apr 15, 2014

Test PASSed.
Refer to this link for build results: http://ci.jujugui.org:8080/job/juju-gui/729/

var container, utils, models, views, view, id, title, Y;

before(function(done) {
Y = YUI(GlobalConfig).use(['juju-views',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why load in all of the views for this one suite? You should just load in the files you need and are testing.

@hatched
Copy link
Contributor

hatched commented Apr 15, 2014

Thanks for this branch! I'd be interested to know if the patch solves the test failure issue. Please let me know if you have any questions about the comments above.

@jujugui
Copy link
Contributor

jujugui commented Apr 16, 2014

Test PASSed.
Refer to this link for build results: http://ci.jujugui.org:8080/job/juju-gui/736/

<div class="icons">
<a href class="move"><i class="sprite token-move"></i></a>
</div>
<div class="machines" style="display: none;">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd expect this to be dynamic html. This is ok here, but let's add an XXX to remind us to refactor this out. This machine list will change as you interact with machine view and would need to be rerendered as you clicked on the button.

@mitechie
Copy link
Contributor

I'd like to chat on this branch. I feel like there's a lot of overlap with Huw's work and getting outside the scope of being an unplaced unit token.

@jujugui
Copy link
Contributor

jujugui commented Apr 18, 2014

Test PASSed.
Refer to this link for build results: http://ci.jujugui.org:8080/job/juju-gui/753/

@jujugui
Copy link
Contributor

jujugui commented Apr 18, 2014

Test PASSed.
Refer to this link for build results: http://ci.jujugui.org:8080/job/juju-gui/754/

machines: this.get('machines').filterByParent(null),
containers: [] // XXX Need to find query for getting containers
}).render();
unitList.append(node);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should only happen after hte loop is done. Create a list and append them in one swoop. Hitting the dom for each node created will slow things down.

@mitechie
Copy link
Contributor

Couple of small bits of feedback on the latest set and then 👍 to land. Let's make sure we have cards on the board to update a lot of the missing bits in here.

@jujugui
Copy link
Contributor

jujugui commented Apr 21, 2014

Test PASSed.
Refer to this link for build results: http://ci.jujugui.org:8080/job/juju-gui/757/

@kadams54
Copy link
Contributor Author

Thanks all for bearing with me through the branch. :shipit:

@jujugui
Copy link
Contributor

jujugui commented Apr 21, 2014

Status: merge request accepted. Url: http://ci.jujugui.org:8080/job/juju-gui-merge

jujugui added a commit that referenced this pull request Apr 21, 2014
Right now primarily a code review as this isn't wired into anything yet.
@jujugui jujugui merged commit 0fca136 into juju:develop Apr 21, 2014
@kadams54 kadams54 deleted the deployed-unit-tokens branch November 24, 2014 21:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants