From 346ecc34af746e68fa32b59f8907c53bc49c9904 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Thu, 6 Feb 2025 16:24:05 -0600 Subject: [PATCH] Projects -> Collections --- app/models/filter/summarized.rb | 2 +- app/views/accounts/users/index.html.erb | 2 +- app/views/bubbles/_filters.html.erb | 2 +- app/views/bubbles/index.html.erb | 2 +- app/views/bubbles/show.html.erb | 2 +- app/views/buckets/index.html.erb | 4 ++-- app/views/events/index.html.erb | 2 +- app/views/filters/_dialog.html.erb | 4 ++-- app/views/notifications/index.html.erb | 2 +- test/models/filter_test.rb | 4 ++-- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/models/filter/summarized.rb b/app/models/filter/summarized.rb index 71f692c12..ee0e41060 100644 --- a/app/models/filter/summarized.rb +++ b/app/models/filter/summarized.rb @@ -38,7 +38,7 @@ module Filter::Summarized if buckets.any? "in #{buckets.pluck(:name).to_choice_sentence}" else - "in all projects" + "in all collections" end end diff --git a/app/views/accounts/users/index.html.erb b/app/views/accounts/users/index.html.erb index f95fe6994..840a40e3e 100644 --- a/app/views/accounts/users/index.html.erb +++ b/app/views/accounts/users/index.html.erb @@ -9,7 +9,7 @@
- <%= link_to "Projects", root_path %> + <%= link_to "Collections", root_path %> <%= link_to "Activity", events_path %>

<%= @page_title %>

diff --git a/app/views/bubbles/_filters.html.erb b/app/views/bubbles/_filters.html.erb index c9e677051..3572e5b42 100644 --- a/app/views/bubbles/_filters.html.erb +++ b/app/views/bubbles/_filters.html.erb @@ -2,7 +2,7 @@ data-action="keydown.esc->dialog#close:stop click@document->dialog#closeOnClickOutside turbo:before-cache@document->dialog#close">

<% if filter.buckets.none? %> - All projects + All collections <% elsif filter.buckets.one? %> <%= filter.buckets.first.name %> <% else %> diff --git a/app/views/bubbles/index.html.erb b/app/views/bubbles/index.html.erb index c9b37fe45..65dad8a6e 100644 --- a/app/views/bubbles/index.html.erb +++ b/app/views/bubbles/index.html.erb @@ -14,7 +14,7 @@
- <%= link_to "Projects", root_path %> + <%= link_to "Collections", root_path %> <%= link_to "Activity", events_path %>
<%= render "bubbles/filters", filter: @filter %> diff --git a/app/views/bubbles/show.html.erb b/app/views/bubbles/show.html.erb index c09a6e2c6..6a0399acb 100644 --- a/app/views/bubbles/show.html.erb +++ b/app/views/bubbles/show.html.erb @@ -12,7 +12,7 @@