From 4f6d8f0e7d46217442be06ccec081f6dccbb99bf Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Thu, 16 Oct 2025 16:22:41 -0500 Subject: [PATCH 01/19] Don't count closed cards because they're not displayed --- app/models/tag.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/tag.rb b/app/models/tag.rb index 0247a0fa5..9c6e6c260 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -15,6 +15,6 @@ class Tag < ApplicationRecord end def cards_count - cards.count + cards.open.count end end From 391675e615c313a56a99744070d880214d49fc2d Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Thu, 16 Oct 2025 16:49:12 -0500 Subject: [PATCH 02/19] Rename: Collection -> Board --- app/models/filter/resources.rb | 2 +- app/views/collections/edit.html.erb | 4 ++-- app/views/collections/edit/_delete.html.erb | 2 +- app/views/collections/edit/_publication.html.erb | 2 +- app/views/collections/edit/_users.html.erb | 2 +- app/views/collections/new.html.erb | 4 ++-- app/views/filters/menu/_collections.html.erb | 2 +- app/views/filters/menu/_hotkeys.html.erb | 2 +- app/views/filters/settings/_collections.html.erb | 6 +++--- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/models/filter/resources.rb b/app/models/filter/resources.rb index 9110d3727..669b214f4 100644 --- a/app/models/filter/resources.rb +++ b/app/models/filter/resources.rb @@ -23,7 +23,7 @@ module Filter::Resources def collection_titles if collections.none? - Collection.one? ? [ Collection.first.name ] : [ "All collections" ] + Collection.one? ? [ Collection.first.name ] : [ "All boards" ] else collections.map(&:name) end diff --git a/app/views/collections/edit.html.erb b/app/views/collections/edit.html.erb index df0d6dc79..17fb658ff 100644 --- a/app/views/collections/edit.html.erb +++ b/app/views/collections/edit.html.erb @@ -1,4 +1,4 @@ -<% @page_title = "Collection Settings" %> +<% @page_title = "Board Settings" %> <% content_for :header do %> <%= render "filters/menu" %> @@ -18,7 +18,7 @@

Name and Access

-
Choose who can access this Collection
+
Choose who can access this Board
<%= form_with model: @collection, class: "display-contents", data: { diff --git a/app/views/collections/edit/_delete.html.erb b/app/views/collections/edit/_delete.html.erb index a3d6eab5a..29de41ab9 100644 --- a/app/views/collections/edit/_delete.html.erb +++ b/app/views/collections/edit/_delete.html.erb @@ -2,7 +2,7 @@ <%= form_with model: collection, class: "txt-align-center margin-block-start-auto", method: :delete do |form| %> <%= form.button class: "btn txt-negative borderless txt-small", data: { turbo_confirm: "Are you sure you want to permanently delete this Collection?" } do %> <%= icon_tag "trash" %> - Delete this Collection + Delete this Board <% end %> <% end %> <% end %> diff --git a/app/views/collections/edit/_publication.html.erb b/app/views/collections/edit/_publication.html.erb index ae350bddb..cedd85b56 100644 --- a/app/views/collections/edit/_publication.html.erb +++ b/app/views/collections/edit/_publication.html.erb @@ -1,7 +1,7 @@ <%= turbo_frame_tag @collection, :publication do %>

Public link

-
Turn on the Public link to share this collection with anyone in the world. They won’t need to log in and they won’t be able to see anything else in Fizzy.
+
Turn on the Public link to share this Board with anyone in the world. They won’t need to log in and they won’t be able to see anything else in Fizzy.
<% if collection.published? %> diff --git a/app/views/collections/edit/_users.html.erb b/app/views/collections/edit/_users.html.erb index 6e12f5016..2c9dabcbc 100644 --- a/app/views/collections/edit/_users.html.erb +++ b/app/views/collections/edit/_users.html.erb @@ -14,7 +14,7 @@ diff --git a/app/views/collections/new.html.erb b/app/views/collections/new.html.erb index ba9f1151f..5c8339f01 100644 --- a/app/views/collections/new.html.erb +++ b/app/views/collections/new.html.erb @@ -1,4 +1,4 @@ -<% @page_title = "Create a new collection" %> +<% @page_title = "Create a new Board" %> <% content_for :header do %> <%= render "filters/menu" %> @@ -6,7 +6,7 @@
<%= form_with model: @collection, class: "flex flex-column gap txt-large", data: { controller: "form" } do |form| %> -

Create a new collection

+

<%= @page_title %>

diff --git a/app/views/filters/menu/_collections.html.erb b/app/views/filters/menu/_collections.html.erb index 590fb9173..808dbc866 100644 --- a/app/views/filters/menu/_collections.html.erb +++ b/app/views/filters/menu/_collections.html.erb @@ -1,6 +1,6 @@ <% # Using method: :get inside Turbo frame triggers some special Turbo handling where the script_name is lost %> <% if user_filtering.collections.any? %> - <%= collapsible_nav_section "Collections" do %> + <%= collapsible_nav_section "Boards" do %> <%= render partial: "filters/menu/collections/collection", collection: user_filtering.collections, as: :collection %> <% end %> <% end %> diff --git a/app/views/filters/menu/_hotkeys.html.erb b/app/views/filters/menu/_hotkeys.html.erb index 5a1703a23..76cc8b096 100644 --- a/app/views/filters/menu/_hotkeys.html.erb +++ b/app/views/filters/menu/_hotkeys.html.erb @@ -2,7 +2,7 @@ <%= filter_hotkey_link "Home", root_path, 1, "home" %> <%= filter_hotkey_link "Assigned to me", cards_path(assignee_ids: [Current.user.id]), 2, "clipboard" %> <%= filter_hotkey_link "Added by me", cards_path(creator_ids: [Current.user.id]), 3, "person-add" %> - <%= filter_hotkey_link "New Collection", new_collection_path, 4, "collection-add" %> + <%= filter_hotkey_link "New Board", new_collection_path, 4, "collection-add" %> <%= filter_hotkey_link "Notifications", notifications_path, 5, "bell" %> <%= filter_hotkey_link "Account #{tag.span("Settings", class: "visually-hidden")}", account_settings_path, 6, "settings" %>
diff --git a/app/views/filters/settings/_collections.html.erb b/app/views/filters/settings/_collections.html.erb index 80a0811e2..334b0db29 100644 --- a/app/views/filters/settings/_collections.html.erb +++ b/app/views/filters/settings/_collections.html.erb @@ -5,7 +5,7 @@ controller: "dialog multi-selection-combobox", action: "keydown.esc->dialog#close click@document->dialog#closeOnClickOutside", filter_show: user_filtering.show_collections?, - multi_selection_combobox_no_selection_label_value: "Collection…", + multi_selection_combobox_no_selection_label_value: "Board…", multi_selection_combobox_label_prefix_value: "" } do %>