From 65c61c4bab4e1e56ba723fba11401beaf7bcd38e Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 27 Aug 2025 13:48:36 -0500 Subject: [PATCH 01/12] Rename engagement columns --- app/views/cards/container/_engagement.html.erb | 4 ++-- app/views/cards/index/_workflow_filter.html.erb | 4 ++-- app/views/cards/index/engagement/_doing.html.erb | 2 +- app/views/cards/index/engagement/_on_deck.html.erb | 2 +- app/views/entropy/_auto_close.html.erb | 2 +- app/views/public/collections/show/_doing.html.erb | 2 +- app/views/public/collections/show/_on_deck.html.erb | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/cards/container/_engagement.html.erb b/app/views/cards/container/_engagement.html.erb index ed6fdda32..b59aff454 100644 --- a/app/views/cards/container/_engagement.html.erb +++ b/app/views/cards/container/_engagement.html.erb @@ -5,7 +5,7 @@ <%= form.hidden_field :engagement, value: "on_deck" %> <%= form.label :engagement, value: "on_deck", class: "btn", aria: { label: "Move to On Deck"} do %> <%= form.radio_button :engagement, "on_deck", checked: @card.on_deck?, class: "for-screen-reader", data: { action: "change->form#submit" } %> - Maybe? + On Deck <% end %> <% end %> @@ -20,7 +20,7 @@ <%= form.hidden_field :engagement, value: "doing" %> <%= form.label :engagement, value: "doing", class: "btn", aria: { label: "Move to Doing"} do %> <%= form.radio_button :engagement, "doing", checked: @card.doing?, class: "for-screen-reader", data: { action: "change->form#submit" } %> - Yes! + Working On <% end %> <% end %> diff --git a/app/views/cards/index/_workflow_filter.html.erb b/app/views/cards/index/_workflow_filter.html.erb index c5a610e70..d48ba88e0 100644 --- a/app/views/cards/index/_workflow_filter.html.erb +++ b/app/views/cards/index/_workflow_filter.html.erb @@ -1,9 +1,9 @@
diff --git a/app/views/cards/index/engagement/_doing.html.erb b/app/views/cards/index/engagement/_doing.html.erb index cf54fc057..8598d7963 100644 --- a/app/views/cards/index/engagement/_doing.html.erb +++ b/app/views/cards/index/engagement/_doing.html.erb @@ -3,7 +3,7 @@ <%= render "cards/index/workflow_filter", workflow: workflow, filter: filter %> <% else %>

- Yes! + Working On

<% end %> diff --git a/app/views/cards/index/engagement/_on_deck.html.erb b/app/views/cards/index/engagement/_on_deck.html.erb index 4814dd817..cd50efed4 100644 --- a/app/views/cards/index/engagement/_on_deck.html.erb +++ b/app/views/cards/index/engagement/_on_deck.html.erb @@ -1,5 +1,5 @@
-

Maybe?

+

On Deck

<% if page.used? %> <%= render partial: "cards/display/preview", collection: page.records, as: :card, locals: { draggable: true }, cached: true %> diff --git a/app/views/entropy/_auto_close.html.erb b/app/views/entropy/_auto_close.html.erb index f25b4cc5f..c7ce89d34 100644 --- a/app/views/entropy/_auto_close.html.erb +++ b/app/views/entropy/_auto_close.html.erb @@ -16,7 +16,7 @@
- Cards in Maybe?/Yes! + Cards in On Deck/Working On

Back to The Stream after…

<%= form_with model: model, url: url, data: { controller: "form" } do |form| %> <%= render "entropy/knob", diff --git a/app/views/public/collections/show/_doing.html.erb b/app/views/public/collections/show/_doing.html.erb index 557dbd7ff..7e19195ed 100644 --- a/app/views/public/collections/show/_doing.html.erb +++ b/app/views/public/collections/show/_doing.html.erb @@ -1,6 +1,6 @@

- Yes! + Working On

<% if page.used? %> diff --git a/app/views/public/collections/show/_on_deck.html.erb b/app/views/public/collections/show/_on_deck.html.erb index 127e0cf50..5494a2917 100644 --- a/app/views/public/collections/show/_on_deck.html.erb +++ b/app/views/public/collections/show/_on_deck.html.erb @@ -1,6 +1,6 @@

- Maybe? + On Deck

<% if page.used? %> From d8a3397c70487b18e3a1fb6d56dda1ca7d047998 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Wed, 27 Aug 2025 14:45:03 -0500 Subject: [PATCH 02/12] Don't show "All collections" when there's only the default collection --- app/views/filters/menu/collections/_all_option.html.erb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/views/filters/menu/collections/_all_option.html.erb b/app/views/filters/menu/collections/_all_option.html.erb index b499eb0eb..d5b5ade05 100644 --- a/app/views/filters/menu/collections/_all_option.html.erb +++ b/app/views/filters/menu/collections/_all_option.html.erb @@ -1,13 +1,6 @@ <% clear_url_path = user_filtering.self_filter_path(user_filtering.as_params.except(:collection_ids)) %> -<% if Current.user.collections.one? %> - <%= link_to clear_url_path, class: "popup__group", id: "filter-collection-init", data: { filter_target: "item", navigable_list_target: "item" } do %> - <%= tag.div class: "popup__item btn" do %> - <%= Current.user.collections.first.name %> - GO TO - <% end %> - <% end %> -<% elsif Current.user.collections.many? %> +<% if Current.user.collections.many? %>