Skip to content

Remove unused method from SaveBookHelper#11776

Merged
mekarpeles merged 2 commits intomasterfrom
rm-unused-method
Feb 9, 2026
Merged

Remove unused method from SaveBookHelper#11776
mekarpeles merged 2 commits intomasterfrom
rm-unused-method

Conversation

@jimchamp
Copy link
Copy Markdown
Collaborator

Follow-up to #8261
In support of micro edits.

#8261 totally removes the ability to add new contributor, identifier, and classifications to /config/edition via the edit book UI. This branch removes the corresponding backend code.

Technical

Testing

  • Edits to books can still be made without error

Screenshot

Stakeholders

@jimchamp jimchamp marked this pull request as ready for review January 30, 2026 01:51
Copilot AI review requested due to automatic review settings January 30, 2026 01:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes backend code that supported adding contributors, identifiers, and classifications to /config/edition via the edit book UI. This functionality was already removed from the frontend in PR #8261, making this backend code unused.

Changes:

  • Removed the unused process_new_fields method from the SaveBookHelper class
  • Removed the call to process_new_fields in the save method
  • Removed unused imports (json and as_admin)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mekarpeles mekarpeles merged commit 2bdd03e into master Feb 9, 2026
14 checks passed
@mekarpeles mekarpeles deleted the rm-unused-method branch February 9, 2026 20:57
bhardwajparth51 added a commit to bhardwajparth51/openlibrary that referenced this pull request Feb 17, 2026
* Remove used method

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants