-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[added] Thumbnail component including docs and tests #488
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
[added] Thumbnail component including docs and tests #488
Conversation
I imagine adding tests would be a good idea! 😄 |
@mathieumg I've added tests in the commit to test/ThumbnailSpec.js - is there somewhere else I should be adding tests to? I'm confused regarding the warnings, there seem to be a lot of them! Looks like there are several linting errors in Thumbnail.js and a few other files. |
I skimmed the file names before making my comment, looks like I missed that one... Sorry! |
</Grid> | ||
); | ||
|
||
React.render(thumbnailInstance, mountNode); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change your tabs to spaces? I know this is a small thing but it keeps with consistency throughout the project. We have an .editorconfig
file at the repo root. Editor Config has plugins for the most popular code editors out there, and will ensure that this style is maintained for you.
@JordanTheriault If you can answer the lastest comments, and rebase and we will be able to merge! |
@dozoisch Back from vacation, I will respond then rebase once it's determined its ready to go. |
@JordanTheriault Awesome! |
237ac0a
to
a1a5868
Compare
I've rebased and fixed the issue @mtscout6 mentioned above with the spacing when no children are present. I'm receiving warnings regarding self-closing components.
Can anyone advise on how I can change the ThumbnailSpec to fix these warnings? |
@JordanTheriault Change those to |
Although this is failing Travis, it passes lint/test/etc locally. Any advice? |
I tried to send you a shout out on gitter, this is because of babel/babel-eslint#96. |
It passes locally for me as well. Can you squash the commits? |
a763d2a
to
cb30941
Compare
Sorry for the turn around but can you amend your commit message to follow the commit message guidelines as prescribed in the Contributing Guide? This will ensure that this change is documented in the changelog on the next release. |
Added in commit cb30941 by @JordanTheriault PR #488
For Issue #56 Added the thumbnail component, docs, and tests.
Modeled the docs after the bootstrap doc.
I'm new to this repo, so please let me know if you see anything I should change even if it's just best practices. :)