-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Show author names next to final result in author merge tool #10297
base: master
Are you sure you want to change the base?
Conversation
@ananyakaligal are you sure all the commits you want are here? The diff looks like only a variable was renamed. |
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.
cool |
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.
Taking a look at this one while on a call with @RayBB , @mekarpeles !
Thank you @ananyakaligal !
@cdrini I think your comments on this one didn't come through with the PR review :/ |
@@ -191,11 +191,11 @@ export default { | |||
}, | |||
|
|||
async merge() { | |||
if (!this.master_key || !this.records || !this.editions) | |||
if (!this.master_key || !this.enhancedRecords || !this.editions) |
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.
Darn :D Ah the issue was here; we don't want to use the enhancedRecords
during the merge
, since that will result in the extra author name fields being saved to Open Library! We just want the fields for display.
So you will likely have to create a helper method that can run this function with either .records
or .enhancedRecords
, and use one for the actual merge that's saved to Open Library, and the other just for display. Let us know if you have any questions 👍
Closes #10292
Adds author names next to the merged works in the merge view, improving clarity by making it easier to identify duplicate authors. It ensures author names are shown consistently throughout the process, not just next to unmerged works.
Technical
Added enhancedRecords to the merge function in
MergeTable.vue
Testing
npm run serve --component=MergeUI.
Screenshot
Stakeholders
@RayBB