Skip to content

WIP: TEAMFOUR-113-initial cut at styling service detail#172

Closed
mwhagedorn wants to merge 19 commits into
masterfrom
feature/service_details
Closed

WIP: TEAMFOUR-113-initial cut at styling service detail#172
mwhagedorn wants to merge 19 commits into
masterfrom
feature/service_details

Conversation

@mwhagedorn
Copy link
Copy Markdown
Contributor

superceded by #175

@WAT-TeamFour
Copy link
Copy Markdown

From Jenkins: There was a test failure while running Jenkins tests.

}
];
this.showServiceDetail = function(service) {
this.currentService = service;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: formatting

@ongk
Copy link
Copy Markdown
Contributor

ongk commented Apr 6, 2016

Can you also update the PR title to include the JIRA ticket number? We've been doing something like: TEAMFOUR-123 - [Short PR description]. Thanks.

@WAT-TeamFour
Copy link
Copy Markdown

From Jenkins: There was a test failure while running Jenkins tests.

@mwhagedorn mwhagedorn changed the title WIP: initial cut at styling service detail WIP: TEAMFOUR-113-initial cut at styling service detail Apr 6, 2016
@WAT-TeamFour
Copy link
Copy Markdown

From Jenkins: There was a test failure while running Jenkins tests.

@WAT-TeamFour
Copy link
Copy Markdown

From Jenkins: There was a test failure while running Jenkins tests.

}

ApplicationServiceDetailController.$inject = [
'$state'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think you need $state here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I wont but the person who does 'add' will...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree with @ongk

@WAT-TeamFour
Copy link
Copy Markdown

From Jenkins: There was a test failure while running Jenkins tests.

@@ -0,0 +1,37 @@
(function () {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This file should be:

/cloud-foundry/view/applications/application/services/service/service.directive.js

</p>
</div>
<div class="row">
{{ ::applicationServiceDetailCtrl.service.entity.description }}. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Remove extra whitespace.

@WAT-TeamFour
Copy link
Copy Markdown

From Jenkins: There was a test failure while running Jenkins tests.

}

angular.extend(ApplicationServiceDetailController.prototype, {
close: function() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Format: missing whitespace after function.

@sean-sq-chen
Copy link
Copy Markdown
Contributor

This directive shouldn't define controller with it. There is not logic for itself. All it does is passing in parent controller and parent controller's properties and call methods on the parent. We can remove the controller and remove all the bindings and the isolated scope. code will be simplified a lot.

@mwhagedorn
Copy link
Copy Markdown
Contributor Author

@mwhagedorn mwhagedorn closed this Apr 7, 2016
@sean-sq-chen sean-sq-chen deleted the feature/service_details branch April 8, 2016 21:37
irfanhabib pushed a commit that referenced this pull request Jun 1, 2017
nwmac pushed a commit that referenced this pull request Jun 6, 2017
richard-cox pushed a commit that referenced this pull request Jan 30, 2018
Added trackby to tables and card views
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants