Skip to content

AO3-7323 Update introductory text on logged-out homepage#5629

Merged
Bilka2 merged 5 commits intootwcode:masterfrom
LateNghtz:AO3-7323/Update-introductory-text-on-homepage
Mar 21, 2026
Merged

AO3-7323 Update introductory text on logged-out homepage#5629
Bilka2 merged 5 commits intootwcode:masterfrom
LateNghtz:AO3-7323/Update-introductory-text-on-homepage

Conversation

@LateNghtz
Copy link
Copy Markdown
Contributor

@LateNghtz LateNghtz commented Mar 11, 2026

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-7323

Purpose

Update introductory text on logged-out homepage to:
"A non-profit, non-commercial archive for transformative fanworks; created by and for fans of books, music, art, games, shows, movies, real-person fiction (RPF), and other fandoms."

and:

adds “(AO3)” to the text underneath the statistics line

Credit

He/Him: nghz

Copy link
Copy Markdown
Collaborator

@sarken sarken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, nghz!

Thank you so much for this pull request. I took a quick look at it and the changes themselves look good, although the failing test in features/other_a/homepage.feature: need to be updated to look for the next text. (Since this is your first pull request and the issue is meant to be low effort, it's up to you whether or not you'd like to try updating the i18n methods as Reviewdog requests.)

For now, I've updated the Jira issue status to In Review so no one mistakenly creates a duplicate pull request. If you'd like the ability to comment on, assign, and transition issues in the future, you're welcome to create a Jira account! It makes things a bit easier for us on the organizational side if the Full Name on your Jira account either closely matches the name you'd like us to credit in the release notes or includes it in parentheses, e.g. "Nickname (CREDIT NAME)."

Once you've done that (or if you've already done it -- Jira has been unreliable about showing us new accounts in the admin panel lately), you can either reply here or send an email to otw-coders@transformativeworks.org with your account name and email address and we'll set up the permissions for you.

Thanks again for contributing! If you have any questions, you can contact us at the same email address listed above.

@LateNghtz
Copy link
Copy Markdown
Contributor Author

Hi, nghz!

Thank you so much for this pull request. I took a quick look at it and the changes themselves look good, although the failing test in features/other_a/homepage.feature: need to be updated to look for the next text. (Since this is your first pull request and the issue is meant to be low effort, it's up to you whether or not you'd like to try updating the i18n methods as Reviewdog requests.)

For now, I've updated the Jira issue status to In Review so no one mistakenly creates a duplicate pull request. If you'd like the ability to comment on, assign, and transition issues in the future, you're welcome to create a Jira account! It makes things a bit easier for us on the organizational side if the Full Name on your Jira account either closely matches the name you'd like us to credit in the release notes or includes it in parentheses, e.g. "Nickname (CREDIT NAME)."

Once you've done that (or if you've already done it -- Jira has been unreliable about showing us new accounts in the admin panel lately), you can either reply here or send an email to otw-coders@transformativeworks.org with your account name and email address and we'll set up the permissions for you.

Thanks again for contributing! If you have any questions, you can contact us at the same email address listed above.

Hi! Thanks a lot for taking a look at the PR and for the feedback :)

I've now updated the failing test in features/other_a/homepage.feature to match the new text. I also updated the ts helpers to t and added the corresponding i18n keys as suggested.

I've also created a Jira account now. Please let me know if there's anything else I should adjust!

@LateNghtz LateNghtz force-pushed the AO3-7323/Update-introductory-text-on-homepage branch 4 times, most recently from 3b036bc to 37f70b8 Compare March 12, 2026 14:47
@LateNghtz LateNghtz force-pushed the AO3-7323/Update-introductory-text-on-homepage branch from 37f70b8 to 607d48c Compare March 12, 2026 16:14
Copy link
Copy Markdown
Collaborator

@sarken sarken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one more thing about the code -- sorry for not linking to our i18n Standards in my previous comment!

Regarding Jira, we've been having some trouble with the admin panel not updating, and I'm afraid I can't find your account. Can you either reply here or send an email to otw-coders@transformativeworks.org with your account name and email address so we can fix it?

Thanks!

Comment thread app/views/home/_intro_module.html.erb Outdated
<h2 class="heading"><%= t(".intro_description") %></h2>
<p class="stats"><%= ts("more than %{fandom_count} fandoms | %{user_count} users | %{work_count} works", fandom_count: content_tag(:span, number_with_delimiter(@fandom_count), class: "count"), user_count: content_tag(:span, number_with_delimiter(@user_count), class: "count"), work_count: content_tag(:span, number_with_delimiter(@work_count), class: "count")).html_safe %></p>
<p class="parent"><%= ts("The Archive of Our Own is a project of the") %> <%= link_to ts("Organization for Transformative Works"), "http://transformativeworks.org" %>.</p>
<p class="parent"><%= t(".parent_org_intro") %> <%= link_to t(".parent_org_name"), "http://transformativeworks.org" %>.</p>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make things easier for our translators, we prefer interpolation over separate strings. Could you update this to use our standards for hyperlinks in translations? (You'll need to move the . before the </p> tag into the locale file as well.)

@LateNghtz LateNghtz force-pushed the AO3-7323/Update-introductory-text-on-homepage branch from ee75d5e to ce2eaec Compare March 13, 2026 20:25
Comment thread app/views/home/_intro_module.html.erb Outdated
<h2 class="heading"><%= t(".intro_description") %></h2>
<p class="stats"><%= ts("more than %{fandom_count} fandoms | %{user_count} users | %{work_count} works", fandom_count: content_tag(:span, number_with_delimiter(@fandom_count), class: "count"), user_count: content_tag(:span, number_with_delimiter(@user_count), class: "count"), work_count: content_tag(:span, number_with_delimiter(@work_count), class: "count")).html_safe %></p>
<p class="parent"><%= ts("The Archive of Our Own is a project of the") %> <%= link_to ts("Organization for Transformative Works"), "http://transformativeworks.org" %>.</p>
<p class="parent"><%= t(".parent_org_intro_html", parent_org_link: link_to(t(".parent_org_name"), "http://transformativeworks.org")) %></p>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the names don't quite line up with our guidelines. It should be either

  • parent_org_link for the variable representing the hyperlink and parent_org for the text used in the link, or
  • parent_org_name_link for the hyperlink's variable and parent_org_name for the text.

I'd recommend the first one since it's shorter.

Copy link
Copy Markdown
Collaborator

@sarken sarken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@LateNghtz
Copy link
Copy Markdown
Contributor Author

Thank you!

No problem, and thank you for assisting me with my first PR!

@Bilka2 Bilka2 merged commit e7961c6 into otwcode:master Mar 21, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants