Skip to content

AO3-7616 Fix Share widgets to hide username for anonymous works - #6052

Open
domvrk wants to merge 10 commits into
otwcode:masterfrom
domvrk:AO3-7616
Open

domvrk wants to merge 10 commits into
otwcode:masterfrom
domvrk:AO3-7616

Conversation

@domvrk

@domvrk domvrk commented Oct 1, 2026

Copy link
Copy Markdown

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-7616 (Please fill in issue number and remove this comment.)

Purpose

Fix Twitter and Tumblr Share Widgets to hide username if work is in anonymous collection for either Admin or Owner of the work.

Credit

domvrk (he/him)

Jira: Dominic M

@sarken

sarken commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

Hi, domvrk!

Thank you so much for this pull request. I haven't reviewed the changes, but I wanted to note that the test failure looks like it's real. I'm going to put the Reviewed: Action Needed label on this for now to indicate it's not quite ready yet. Once you've got the tests passing, we'll switch it back to Awaiting Review.

In the meantime, I've updated the Jira issue status to In Review so no one mistakenly creates a duplicate pull request.

Unfortunately, Jira has been unreliable about showing us new accounts in the admin panel lately, and I can't find your account. If you can either reply here or send an email to otw-coders@transformativeworks.org with your account email address, we should be able to get that fixed and update your permissions.

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

@domvrk

domvrk commented Oct 2, 2026

Copy link
Copy Markdown
Author

Jira Email: cinimod964@gmail.com

@sarken

sarken commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Thanks for addressing the test failure! I've set the label back to "Awaiting Review" and updated your Jira permissions. Everything should be set the next time you log in, but if you run into issues, you can let us know here or via email and we'll look into it.

@Bilka2 Bilka2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for working on this! It looks like the visibility: "public" option already stops the creator name from showing for anonymous creations. What do you think about using that instead of adding a new option?

@domvrk

domvrk commented Oct 3, 2026

Copy link
Copy Markdown
Author

Thanks for working on this! It looks like the visibility: "public" option already stops the creator name from showing for anonymous creations. What do you think about using that instead of adding a new option?

Whoops. Thought I saw a reason not to initially, but upon re-review it looks fine to use. Thanks!

@Bilka2 Bilka2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for changing the option! I have some more review feedback, now more about the concrete code and tests

Comment thread spec/helpers/byline_helper_spec.rb Outdated
Comment thread spec/helpers/byline_helper_spec.rb Outdated
Comment thread app/helpers/share_helper.rb Outdated
Comment thread app/helpers/share_helper.rb
Comment thread app/helpers/share_helper.rb Outdated

This branch has not been deployed

No deployments
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