Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

ClayCards #196

Closed
wants to merge 55 commits into from
Closed

ClayCards #196

wants to merge 55 commits into from

Conversation

carloslancha
Copy link
Collaborator

No description provided.

@carloslancha carloslancha mentioned this pull request Dec 5, 2017
@carloslancha carloslancha changed the title Add tests for required params in ClayCards ClayCards Dec 5, 2017
@deprecate deprecate deleted a comment from coveralls Dec 5, 2017
@deprecate deprecate deleted a comment from coveralls Dec 5, 2017
@deprecate deprecate deleted a comment from coveralls Dec 5, 2017
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 84.049% when pulling f5c07d0 on carloslancha:pr-192 into 1573d35 on metal:master.

@matuzalemsteles
Copy link
Collaborator

Just started reviewing :)

:octocat: Sent from GH.

Copy link
Collaborator

@matuzalemsteles matuzalemsteles left a comment

Choose a reason for hiding this comment

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

Separating the markings by some components would be ideal or would it be the most elegant way to do it than many if terms? since we can share lots of markups, like the image, folder variants...

You could check the indentation on the soy, some are inconsistent. Just to organize.

* Content Renderer name of card.
* @instance
* @memberof ClayCard
* @type {?array|undefined}
Copy link
Collaborator

Choose a reason for hiding this comment

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

SF: Should be {?array}.

* Flag to indicate if the card is disabled or not.
* @instance
* @memberof ClayCard
* @type {?bool|undefined}
Copy link
Collaborator

Choose a reason for hiding this comment

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

SF: Should be {?bool}.

* Flag to indicate if the card is selectable or not.
* @instance
* @memberof ClayCard
* @type {?bool|undefined}
Copy link
Collaborator

Choose a reason for hiding this comment

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

SF: Should be {?bool}.

* Flag to indicate if the card is selected or not.
* @instance
* @memberof ClayCard
* @type {?bool|undefined}
Copy link
Collaborator

Choose a reason for hiding this comment

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

SF: Should be {?bool}.

* The path to the SVG spritemap file containing the icons.
* @instance
* @memberof ClayCard
* @type {!string}
Copy link
Collaborator

Choose a reason for hiding this comment

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

SF: Should be ?string|undefined. Since the soy is used optionally.

* Flag to indicate if the card is selectable or not.
* @instance
* @memberof ClayUserCard
* @type {?bool|undefined}
Copy link
Collaborator

Choose a reason for hiding this comment

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

SF: Should be {?bool}.

* Flag to indicate if the card is selected or not.
* @instance
* @memberof ClayUserCard
* @type {?bool|undefined}
Copy link
Collaborator

Choose a reason for hiding this comment

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

SF: Should be {?bool}.

* The path to the SVG spritemap file containing the icons.
* @instance
* @memberof ClayUserCard
* @type {!string}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we can leave ?String|undefined since it is not used icon in some cases. What do you think?

* Url to be applied to the title of the card.
* @instance
* @memberof ClayUserCard
* @type {?string}
Copy link
Collaborator

Choose a reason for hiding this comment

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

SF: Should be {?string|undefined}.

/**
* Metal ClayHorizontalCard component.
*/
class ClayHorizontalCard extends Component {}
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would not be better ClayFolderCard since this component is intended for this use case, could generate some confusion. What do you think?

@carloslancha
Copy link
Collaborator Author

Hey @matuzalemsteles could you please do the SF (based on https://github.com/google/closure-compiler/wiki/Annotating-JavaScript-for-the-Closure-Compiler) and resent?

Thx!

@matuzalemsteles
Copy link
Collaborator

Resent here #201.

@carloslancha carloslancha deleted the pr-192 branch December 22, 2017 18:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants