Skip to content

feat: rank template search by downloads and show verified badge (#117)#151

Closed
Chucks1093 wants to merge 1 commit into
Nanle-code:masterfrom
Chucks1093:feat/template-search-sort-117
Closed

feat: rank template search by downloads and show verified badge (#117)#151
Chucks1093 wants to merge 1 commit into
Nanle-code:masterfrom
Chucks1093:feat/template-search-sort-117

Conversation

@Chucks1093
Copy link
Copy Markdown
Contributor

Closes #117

Changes

  • Fixed duplicate TemplateRegistry struct definition in templates.rs
  • Added downloads: u64 and verified: bool fields to TemplateEntry
  • Added verified_badge() helper in src/utils/print.rs (colored green ✓)
  • Updated template search output to display download count and verified badge, ranked by popularity
  • Fixed search_templates call sites to pass the tags argument

Notes

  • Results are sorted: verified first, then by download count descending

…e-code#117)

- Fix TemplateRegistry duplicate struct definition
- Add downloads and verified fields to TemplateEntry
- Add verified_badge helper to print.rs
- Update search output to show download count and colored verified badge
- Fix search_templates call sites to pass tags argument

Closes Nanle-code#117

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Chucks1093
Copy link
Copy Markdown
Contributor Author

Closing in favour of a single consolidated PR.

@Chucks1093 Chucks1093 closed this May 28, 2026
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.

Issue 26: Template marketplace search: rank by downloads and verified badge

1 participant