Skip to content

Convert card module from directives to components #369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 14, 2016

Conversation

dgutride
Copy link
Member

@dgutride dgutride commented Dec 9, 2016

This completes the entire card module conversion - all unit tests work, ngdocs work correctly and all examples are building and working.

@dgutride
Copy link
Member Author

dgutride commented Dec 9, 2016

@dtaylor113 - the boolean/alt-layout is marked as deprecated, not the status card - this is not a change from the current behavior

@dtaylor113
Copy link
Member

LGTM. Minor issue, not introduced in this PR, but the card examples titles are sort of looking like params? I don't think the @name likes dashes:

@name patternfly.card.directive:pfCard - Timeframe Filters

image

</a>
</li>
</ul>
<div uib-dropdown class="card-pf-time-frame-filter">
Copy link
Member

Choose a reason for hiding this comment

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

Just curious. Was this change because we upgraded to UI Bootstrap?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah - it actually came in from master (it was a contributed change after we branched for 4.0) - I ported it in so I wouldn't lose the change.

@dlabrecq

@dlabrecq
Copy link
Member

LGTM. I'd merge it, but not sure there are any changes need in regard to @dtaylor113 's comment?

@dtaylor113
Copy link
Member

My issues shouldn't hold up merging this PR :-)

@dgutride
Copy link
Member Author

@dlabrecq @dtaylor113 - I looked into those dashes in the name and we can't change that. ngdocs uses the @name parameter to generate the left-hand navigation and if we remove those dashes, we'll end up with multiple entries in the navigation with the same name.

@dlabrecq
Copy link
Member

Ok @dtaylor113, I'll merge.

@dlabrecq dlabrecq merged commit 1038b87 into patternfly:branch-4.0-dev Dec 14, 2016
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.

3 participants