-
Notifications
You must be signed in to change notification settings - Fork 8.5k
FIX: bring back sidebar filter #32837
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
Conversation
b0ec1a6
to
2a7cb99
Compare
In this PR, filter was removed and replaced by search. #32485 However, moderator should still be able to filter sidebar. Also, plugins like `doc-category` should have filterable sidebar.
2a7cb99
to
c3dea02
Compare
app/assets/javascripts/discourse/app/lib/sidebar/admin-sidebar.js
Outdated
Show resolved
Hide resolved
get filterable() { | ||
return false; | ||
} |
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.
What is the difference between filterable
and searchable
? To me they sound like they're the same thing, so maybe we should include a comment here to clarify what each one does?
This pull request has been mentioned on Discourse Meta. There might be relevant details there: https://meta.discourse.org/t/discourse-doc-categories/322376/123 |
This pull request has been mentioned on Discourse Meta. There might be relevant details there: |
Spec was removed here #38 Because we brought back filter functionality, it is working again - discourse/discourse#32837 Meta: https://meta.discourse.org/t/discourse-doc-categories/322376/123
Spec was removed here #38 Because we brought back filter functionality, it is working again - discourse/discourse#32837 Meta: https://meta.discourse.org/t/discourse-doc-categories/322376/123
In this PR, filter was removed and replaced by search.
#32485
However, moderator should still be able to filter sidebar. Also, plugins like
doc-category
should have filterable sidebar.Moderator:
https://github.com/user-attachments/assets/2604930f-c69a-4ac2-bdac-9ad94eead4bb
Doc category plugin
https://github.com/user-attachments/assets/9ad9f5b4-9d2c-4c2d-9005-e31822acfaab