Skip to content

feat: improve template behavior#7

Merged
WilliamBergamin merged 3 commits into
mainfrom
improve-search-filters
Oct 21, 2025
Merged

feat: improve template behavior#7
WilliamBergamin merged 3 commits into
mainfrom
improve-search-filters

Conversation

@WilliamBergamin

Copy link
Copy Markdown
Contributor

Type of change

  • New feature
  • Bug fix
  • Documentation

Summary

These changes improve the behavior of the template to leverage the toggle filter for templates and samples rather then the multi-select

Screen.Recording.2025-10-21.at.1.58.58.PM.mov

Requirements

  • I have ensured the changes I am contributing align with existing patterns and have tested and linted my code
  • I've read and agree to the Code of Conduct

@WilliamBergamin WilliamBergamin self-assigned this Oct 21, 2025
Comment thread listeners/filters.py Outdated

LANGUAGES_FILTER = Filter(
name="languages",
display_name="Languages",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit - can we also change here a bit to make display_name as Language and add display_name_plural as Languages?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yess let me add that in 💯

Comment thread listeners/filters.py

@cchensh cchensh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you @WilliamBergamin , the changes LGTM and it looks even cleaner, great job. Left small suggestion to add display_name_plural as optional attr for multi select filters

@WilliamBergamin
WilliamBergamin merged commit 65627a0 into main Oct 21, 2025
5 checks passed
@WilliamBergamin
WilliamBergamin deleted the improve-search-filters branch October 21, 2025 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants