-
Notifications
You must be signed in to change notification settings - Fork 67
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
Tool to handle artist duplicate/alternate names #419
Comments
Sounds good. I would tweak two things:
|
Actually, let me backpedal a bit. What we're really doing here is DELETEing an artist, but also reassign their work to another artist. So I think this URL scheme makes more sense: Form to delete artist: That form does: DELETE I think that's the more RESTful approach to what we're trying to do. From the perspective of the URLs, the old artist URL will no longer exists (it has been DELETEed) but we passed an option to reassign their artwork to someone else. |
Great, I'll get on this. Thanks for the discussion. I forgot to add some alternatives I considered, but I did consider some of what you wrote, i.e., a Regarding If you want autocomplete, the form will look something like this:
Because of the way autocomplete works, it's the URL name that gets put in the form. It would look a little weird to have just a raw integer ID in the form. Would you like to skip autocomplete? I tried a version of the form without autocomplete and just a large
Those IDs work just fine. They're not displayed to the user, and they obviously are submitted with the form. This screenshot is missing the death years, but you get the idea: It's a lot of artists to sort through for one large |
OK, let's do the same kind of autocomplete that's on the new artwork form, using the full names and not URL names. |
There are a few artist names in the DB that need to be corrected or added as alternate names (see this post for an example).
Job Curtis proposed a tool to handle these cases back in Oct 2023, and in that same thread I described the manual steps that will be automated.
I've done some prototyping with a tool, and the first thing to think about is where the form will live and what the URLs will be. Here's what I propose:
Step 1: Go to the artist you want to delete. As an admin there will be a form at the bottom that reads something like "Delete this artist and reassign artwork."
Step 2: In the form, pick the canonical artist to reassign the artwork to.
Step 3: There is an optional checkbox to add an alternate name (A.K.A.) to the canonical artist.
Step 4: The form submits a
POST
request to/artists/merge
with these parameters:That is, the request parameters are the
UrlName
s of the artists. Theadd-alternate-name
parameter is optional.Here's a rough draft of what it would look like:
If
/artists/merge
is successful, it will redirect to the canonical artist's page (/artworks/joaquin-sorolla
in this case) so that the admin can see all the merged artwork together. There will be a success message at the top. If there is a problem, the admin will stay on the alternate artist, and there will be an error message at the top.Seem reasonable?
The text was updated successfully, but these errors were encountered: