Bring back button to expand to grid view

This commit is contained in:
Jason Zimdars
2025-11-11 16:52:43 -06:00
parent 4a75d7ed40
commit ea943a8a40
3 changed files with 15 additions and 0 deletions
@@ -6,6 +6,11 @@
<div class="cards__transition-container">
<header class="cards__header">
<%= render "boards/show/expander", title: "Done", count: board.cards.closed.count, column_id: "closed-cards" %>
<%= link_to public_board_columns_closed_path(board.publication.key), class: "cards__maximize-button btn btn--circle txt-x-small borderless", data: { turbo_frame: "_top" } do %>
<%= icon_tag "grid", class: "translucent" %>
<span class="for-screen-reader">Maximize column</span>
<% end %>
</header>
<%= column_frame_tag :closed_column, src: public_board_columns_closed_path(board.publication.key) %>
@@ -7,6 +7,11 @@
<div class="cards__transition-container">
<header class="cards__header">
<%= render "boards/show/expander", title: column.name, count: column.cards.active.count, column_id: dom_id(column) %>
<%= link_to public_board_column_path(column.board.publication.key, column), class: "cards__maximize-button btn btn--circle txt-x-small borderless", data: { turbo_frame: "_top" } do %>
<%= icon_tag "grid", class: "translucent" %>
<span class="for-screen-reader">Maximize column</span>
<% end %>
</header>
<%= column_frame_tag dom_id(column, :cards), src: public_board_column_path(column.board.publication.key, column) %>
@@ -6,6 +6,11 @@
<div class="cards__transition-container">
<header class="cards__header">
<%= render "boards/show/expander", title: "Not Now", count: board.cards.postponed.count, column_id: "not-now" %>
<%= link_to public_board_columns_not_now_path(board.publication.key), class: "cards__maximize-button btn btn--circle txt-x-small borderless", data: { turbo_frame: "_top" } do %>
<%= icon_tag "grid", class: "translucent" %>
<span class="for-screen-reader">Maximize column</span>
<% end %>
</header>
<%= column_frame_tag :not_now_column, src: public_board_columns_not_now_path(board.publication.key) %>