-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat: Add checkbox to sidebar filters in explore route. #3263
Conversation
Push any test commit, Let |
{{#each dateRanges as |dateRange|}} | ||
<div class="field"> | ||
<div class="ui checkbox"> | ||
<input type="checkbox" onChange={{action 'selectDateFilter' dateRange.key}} checked={{if (eq dateType dateRange.key) 'active'}}> |
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.
use semantic-ui-ember checkbox.
{{#each Category.subTopics as |subCategory|}} | ||
<div class="field inner item"> | ||
<div class="ui checkbox"> | ||
<input type="checkbox" onChange={{action 'selectCategory' Category.name subCategory.slug}} checked={{if (eq sub_category subCategory.slug) 'active'}}> |
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.
use semantic-ui-ember checkbox.
{{#each model.eventTypes as |eventType|}} | ||
<div class="field"> | ||
<div class="ui checkbox"> | ||
<input type="checkbox" onChange={{action 'selectEventType' eventType.name}} checked={{if (eq event_type eventType.name) 'active'}}> |
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.
use semantic-ui-ember checkbox.
<div class="grouped fields"> | ||
<div class="field"> | ||
<div class="ui checkbox"> | ||
<input type="checkbox" onChange={{action 'selectTicketType' 'free'}} checked={{if (eq ticket_type 'free') 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.
use semantic-ui-ember checkbox.
</div> | ||
</div> | ||
<div class="field"> | ||
<div class="ui checkbox checkbox"> |
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.
use semantic-ui-ember checkbox.
I have made the requested changes. |
<div class="grouped fields"> | ||
{{#each Category.subTopics as |subCategory|}} | ||
<div class="field inner item"> | ||
{{ui-checkbox label=subCategory.name class='toggle' checked=(if (eq sub_category subCategory.slug) 'active') onChange=(action 'selectCategory' Category.name subCategory.slug)}} |
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.
924d319
to
8bcc2ee
Compare
Fixes: #3098
Short description of what this resolves:
There are no checkboxes in the sidebar filter of explore route.
Changes proposed in this pull request:
Checklist
development
branch.Screenshots