Introduce a means to hide sections for filtering only

This commit is contained in:
Jason Zimdars
2025-12-01 16:21:35 -06:00
parent 27efd1f8c3
commit b2feab1e60
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -111,6 +111,10 @@
}
}
.nav__section--secret:not([data-is-filtering]) {
display: none;
}
.nav__header {
--actions-width: 2rem;
+1 -1
View File
@@ -1,4 +1,4 @@
<%= collapsible_nav_section "Quick filters", data: { hide_when_empty: true } do %>
<%= collapsible_nav_section "Quick filters", class: "nav__section popup__section nav__section--secret" do %>
<%= filter_place_menu_item cards_path(indexed_by: :golden), "Golden cards", "filter" %>
<%= filter_place_menu_item cards_path(indexed_by: :stalled), "Stalled cards", "filter" %>
<%= filter_place_menu_item cards_path(indexed_by: :postponing_soon), "Cards closing soon", "filter" %>