Skip to content

Split pfCard examples to be included separately in patternfly-toolkit. #220

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 1 commit into from
Apr 11, 2016

Conversation

dlabrecq
Copy link
Member

@dlabrecq dlabrecq commented Apr 1, 2016

@dtaylor113 and @jeff-phillips-18 please review.

@dtaylor113
Copy link
Member

LGTM: I would just suggest making the titles be:

pfCard: Timeframe Filters
pfCard: Trend Charts
pfCard: Multiple Utilization Bars

Either a colon ":" or perhaps a dahs "-". -thanks

@dlabrecq
Copy link
Member Author

dlabrecq commented Apr 5, 2016

I can't do the colon ":", but dash "-" works fine. When colon is added, the "pfCard:" prefix isn't shown.

@dtaylor113
Copy link
Member

ok, sounds good

@jeff-phillips-18
Copy link
Member

Did you think about putting the examples in a different location from the actual directives? This would have less clutter in the actual code directories and make the examples easily distinguished from additional directives.

@dlabrecq
Copy link
Member Author

dlabrecq commented Apr 5, 2016

I actually tried placing examples under the doc name "patternfly.examples". In this scenario, the directive only contained one example (i.e., utilization), while "pfCard Trend" and "pfCard Timeframe" were split out.

The new examples appeared as a block, somewhere in the middle of everything else. My thinking was it may be best to keep all the pfCard examples together? It could be confusing jumping around in order to find all examples?

I can throw an example together if you would like to review that, first?

@dlabrecq
Copy link
Member Author

dlabrecq commented Apr 5, 2016

I created an alternate example #221 with pfCard examples under the "patternfly.examples" doc name. Please take a look and let me know what you think?

@dtaylor113
Copy link
Member

I think Jeff was just talking about moving the actual files to an 'examples' directory -leaving the ngdoc @NAMEs the same. Just concerned about cluttering up the number of files in the actual directive directories

@dlabrecq
Copy link
Member Author

dlabrecq commented Apr 5, 2016

Ok, that's easy enough.

@jeff-phillips-18
Copy link
Member

@dtaylor113 exactly. The concern is more about cluttering the directory and not being clear which files contain examples vs the actual directives.

@dlabrecq
Copy link
Member Author

dlabrecq commented Apr 8, 2016

@jeff-phillips-18, I've moved the new files to their own examples directory.

…y-toolkit.

Added dash "-" to example labels (e.g., "pfCard - Trend") per code review comments.
Moved new examples to their own directory. (+1 squashed commit)
@dtaylor113
Copy link
Member

LGTM

1 similar comment
@jeff-phillips-18
Copy link
Member

LGTM

@jeff-phillips-18 jeff-phillips-18 merged commit 947ff27 into patternfly:master Apr 11, 2016
@dlabrecq dlabrecq deleted the PTNFLY-examples branch April 12, 2016 21:28
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