Nested Categories (#1561)

* Prepare entry search for nested categories

* Subcategory implementation

* Remove caching for test stability
This commit is contained in:
Zach Gollwitzer
2024-12-20 11:37:26 -05:00
committed by GitHub
parent a4d10097d5
commit 77def1db40
31 changed files with 297 additions and 234 deletions

View File

@@ -15,6 +15,9 @@
<span class="w-5 h-5">
<%= lucide_icon("check", class: "w-5 h-5 text-gray-500") if is_selected %>
</span>
<% if category.subcategory? %>
<%= lucide_icon "corner-down-right", class: "shrink-0 w-5 h-5 text-gray-400" %>
<% end %>
<%= render partial: "categories/badge", locals: { category: category } %>
<% end %>