-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AO3-6875 Add additional wrangling status filtering options to tag search #5029
AO3-6875 Add additional wrangling status filtering options to tag search #5029
Conversation
Hi, Metallicity! Thank you so much for this pull request. I'm checking in with the Tag Wrangling team about whether they'd like the "Canonical or synonymous" option added, and someone will be along to review the code soon. In the meantime, I've updated the Jira issue status to In Review, so no one will mistakenly create 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! You can just reply here with the account name and we'll set up the permissions for you. (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).") Thanks again for contributing! If you have any questions, you can contact us at [email protected]. |
@sarken I just joined the otwarchive Jira with an account named "Metallicity". |
@metallicity Great! I've given your account the permissions I mentioned and updated the issue to assign it to you and add your testing instructions. The Tag Wrangling team has also approved the inclusion of the "Canonical or synonymous" option, so this is ready for review! I did notice some Reviewdog comments about using the old |
ca89de9
to
bbe047d
Compare
I moved all the "wrangling status" option labels into |
bbe047d
to
914b01f
Compare
538a86b
to
1d466b0
Compare
Addressed both comments. Nothing that I wasn't half expecting, I had already gone back and forth on which way Also re-requested you for review, @redsummernight, but feel free to take yourself off if it's better to just leave it with a general "Awaiting Review" tag or something. |
Because we're adding a new field to tag index, we'll need to reindex all tags on production when deploying this change by running: TagIndexer.index_from_db But I think it may be possible to do wrangling status filtering not by adding a new field, but by checking the existing field |
218771d
to
8004014
Compare
@redsummernight Intuitively, using just the value of |
It should be safe to remove the Needs Reindex label on this PR now, since I reverted all the changes that using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The approach looks good! Just some minor comments.
b08b2d2
to
8979d69
Compare
8979d69
to
c146ebd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you!
@metallicity the wranglers say thank you for this improvement! |
@metallicity hi, just popping by from wranglerland to confirm that we wranglers are indeed overjoyed with the improvement! thank you for all the effort you've put into it <3 |
Pull Request Checklist
as the first thing in your pull request title (e.g.
AO3-1234 Fix thing
)until they are reviewed and merged before creating new pull requests.
Issue
https://otwarchive.atlassian.net/browse/AO3-6875
Purpose
This PR expands the existing options for filtering based on wrangling status on the Tag Search page. Previously, users could only filter on canonical tags, non-canonical tags, or both. Now the options also allow distinguishing between tags that are synonyms of canonical tags, in every combination of these wrangling statuses.
(Notably, this includes a "Canonical or synonymous" option that was omitted from the original ticket description. It seemed like an obviously useful addition, and required no additional tracking within the tag index data model to support, but it would be easy enough to remove it from the page if there is some concern over showing too many options to the user.)
Testing Instructions
References
#4144 - Original PR introducing the "wrangling status" section of the Tag Search page
Credit
Metallicity (they/them)