-
Notifications
You must be signed in to change notification settings - Fork 487
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
Add labels to management toolbar results bar | Fixes #1112 #1130
Add labels to management toolbar results bar | Fixes #1112 #1130
Conversation
Pull Request Test Coverage Report for Build 1137
💛 - Coveralls |
Just started reviewing :) |
<div class="tbar-section"> | ||
{foreach $filterLabel in $filterLabels} | ||
{call ClayLabel.render} | ||
{param closeable: $filterLabel.closeable == false ? false : true /} |
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.
Could this be summed up like this?
{param closeable: $filterLabel.closeable ?: true /}
const filterLabelsValidator = Config.arrayOf( | ||
Config.shapeOf({ | ||
closeable: Config.bool().value(true), | ||
label: Config.string(), |
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.
hey @carloslancha maybe we have to add in ClayLabel to support HTML in the label
API so you can customize it as defined below.
/** | ||
* This renders de clear results button or link | ||
*/ | ||
{template .clearResults} |
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.
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.
If this is a need please open an issue and we can add it later, I prefer do not mix issues here :)
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.
Oh okay, no problem.
hey @carloslancha is this ready to be merged or are you waiting for Patrick to make markup corrections? |
Hey @matuzalemsteles we can merge this and update the markup once Patrick has made it. Thx! |
No description provided.