From 1d06b307501e50d39c86f7672084b18c4fb6ba53 Mon Sep 17 00:00:00 2001 From: Mango <115376077+Mangooomango@users.noreply.github.com> Date: Sat, 25 Jul 2026 18:55:02 -0400 Subject: [PATCH 1/5] AO3-7534 Update text on Media Category tag pages Issue https://otwarchive.atlassian.net/browse/AO3-7534 Purpose Instead of always showing "You can use it to filter works and to filter bookmarks" for all Media Category tag pages, it will only show it to then filterable ones. It will show "It's a %{canonical_tag_link}." to no filters. Testing Instructions 1. Go to Media Category tags for Theater, Anime, and Manga. 2. Check that it says "It is a canonical tag." instead of "You can use it to filter works and to filter bookmarks." 3. Go to canonical tag for different category 4. Check that it says "You can use it to filter works and to filter bookmarks." If you have a Jira account with access, please update or comment on the issue with any new or missing testing instructions instead. You can remove this section if there are already full testing instructions in the Jira issue. Credit Mango (She/her) --- config/locales/views/en.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/locales/views/en.yml b/config/locales/views/en.yml index 12b3e8d85da..41bfca63921 100644 --- a/config/locales/views/en.yml +++ b/config/locales/views/en.yml @@ -2400,6 +2400,7 @@ en: wrangling_status: Wrangling status show: canonical_html: It's a %{canonical_tag_link}. You can use it to %{filter_works_link} and to %{filter_bookmarks_link}. + canonical_html_no_filters: It's a %{canonical_tag_link}. canonical_tag: canonical tag fandom_relationship_tags: Relationship tags in this fandom filter_bookmarks: filter bookmarks From 8e474c426dddf405a33c967c8e29ba487af1fcda Mon Sep 17 00:00:00 2001 From: Mango <115376077+Mangooomango@users.noreply.github.com> Date: Sat, 25 Jul 2026 19:12:48 -0400 Subject: [PATCH 2/5] AO3-7534 Update text on Media Category tag pages Issue https://otwarchive.atlassian.net/browse/AO3-7534 Purpose Instead of always showing "You can use it to filter works and to filter bookmarks" for all Media Category tag pages, it will only show it to then filterable ones. It will show "It's a %{canonical_tag_link}." to no filters. Testing Instructions 1. Go to Media Category tags for Theater, Anime, and Manga. 2. Check that it says "It is a canonical tag." instead of "You can use it to filter works and to filter bookmarks." 3. Go to canonical tag for different category 4. Check that it says "You can use it to filter works and to filter bookmarks." If you have a Jira account with access, please update or comment on the issue with any new or missing testing instructions instead. You can remove this section if there are already full testing instructions in the Jira issue. Credit Mango (She/her) --- app/views/tags/show.html.erb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/views/tags/show.html.erb b/app/views/tags/show.html.erb index 32a908401c3..28f2bc75046 100644 --- a/app/views/tags/show.html.erb +++ b/app/views/tags/show.html.erb @@ -24,10 +24,15 @@
<%= ts("This tag belongs to the %{tag_class} Category.", :tag_class => @tag.class::NAME) %> <% if @tag.canonical %> - <%= t(".canonical_html", - canonical_tag_link: link_to(t(".canonical_tag"), archive_faq_path("glossary", anchor: "canonicaldef")), - filter_works_link: link_to(t(".filter_works"), tag_works_path(@tag)), - filter_bookmarks_link: link_to(t(".filter_bookmarks"), tag_bookmarks_path(@tag))) %> + <% if @tag.is_a?(Media) %> + <%= t(".canonical_html_no_filters", + canonical_tag_link: link_to(t(".canonical_tag"), archive_faq_path("glossary", anchor: "canonicaldef"))) %> + <% else %> + <%= t(".canonical_html", + canonical_tag_link: link_to(t(".canonical_tag"), archive_faq_path("glossary", anchor: "canonicaldef")), + filter_works_link: link_to(t(".filter_works"), tag_works_path(@tag)), + filter_bookmarks_link: link_to(t(".filter_bookmarks"), tag_bookmarks_path(@tag))) %> + <% end %> <% if @tag.is_a?(Fandom) %> <%= t(".list_fandom_tags_html", fandom_relationship_tags_link: link_to(t(".fandom_relationship_tags"), fandom_path(@tag))) %> <% end %> From af3ce69d2afc2864504d7b361e5867ce4aa32e6f Mon Sep 17 00:00:00 2001 From: Mango <115376077+Mangooomango@users.noreply.github.com> Date: Wed, 5 Aug 2026 21:55:29 -0400 Subject: [PATCH 3/5] Update en.yml --- config/locales/views/en.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/views/en.yml b/config/locales/views/en.yml index 41bfca63921..21eb0f26ff1 100644 --- a/config/locales/views/en.yml +++ b/config/locales/views/en.yml @@ -2399,8 +2399,8 @@ en: type: Type wrangling_status: Wrangling status show: - canonical_html: It's a %{canonical_tag_link}. You can use it to %{filter_works_link} and to %{filter_bookmarks_link}. - canonical_html_no_filters: It's a %{canonical_tag_link}. + canonical_html: It's a %{canonical_tag_link}. + filterable_html: You can use it to %{filter_works_link} and to %{filter_bookmarks_link}. canonical_tag: canonical tag fandom_relationship_tags: Relationship tags in this fandom filter_bookmarks: filter bookmarks From 22c988efc0679f35e11c63f1dbfbb8fef1717806 Mon Sep 17 00:00:00 2001 From: Mango <115376077+Mangooomango@users.noreply.github.com> Date: Wed, 5 Aug 2026 22:02:35 -0400 Subject: [PATCH 4/5] Update show.html.erb --- app/views/tags/show.html.erb | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app/views/tags/show.html.erb b/app/views/tags/show.html.erb index 28f2bc75046..d240ca2c3d7 100644 --- a/app/views/tags/show.html.erb +++ b/app/views/tags/show.html.erb @@ -24,15 +24,18 @@
<%= ts("This tag belongs to the %{tag_class} Category.", :tag_class => @tag.class::NAME) %> <% if @tag.canonical %> - <% if @tag.is_a?(Media) %> - <%= t(".canonical_html_no_filters", + <%= t(".canonical_html", canonical_tag_link: link_to(t(".canonical_tag"), archive_faq_path("glossary", anchor: "canonicaldef"))) %> - <% else %> - <%= t(".canonical_html", - canonical_tag_link: link_to(t(".canonical_tag"), archive_faq_path("glossary", anchor: "canonicaldef")), + + <% if !@tag.is_a?(Media) %> + <%= t(".filterable_html", filter_works_link: link_to(t(".filter_works"), tag_works_path(@tag)), filter_bookmarks_link: link_to(t(".filter_bookmarks"), tag_bookmarks_path(@tag))) %> + <% end %> +<% end %> + + <% if @tag.is_a?(Fandom) %> <%= t(".list_fandom_tags_html", fandom_relationship_tags_link: link_to(t(".fandom_relationship_tags"), fandom_path(@tag))) %> <% end %> From 9d71b5cc6260cd10f9076803a4c42fdcecb91aed Mon Sep 17 00:00:00 2001 From: Mango <115376077+Mangooomango@users.noreply.github.com> Date: Tue, 11 Aug 2026 22:37:32 -0400 Subject: [PATCH 5/5] Update show.html.erb --- app/views/tags/show.html.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/tags/show.html.erb b/app/views/tags/show.html.erb index d240ca2c3d7..44c3ca157bc 100644 --- a/app/views/tags/show.html.erb +++ b/app/views/tags/show.html.erb @@ -29,9 +29,8 @@ <% if !@tag.is_a?(Media) %> <%= t(".filterable_html", - filter_works_link: link_to(t(".filter_works"), tag_works_path(@tag)), - filter_bookmarks_link: link_to(t(".filter_bookmarks"), tag_bookmarks_path(@tag))) %> - + filter_works_link: link_to(t(".filter_works"), tag_works_path(@tag)), + filter_bookmarks_link: link_to(t(".filter_bookmarks"), tag_bookmarks_path(@tag))) %> <% end %> <% end %>