Skip to content
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

Fix pdf resplitting #380

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Fix pdf resplitting #380

merged 1 commit into from
Jan 29, 2025

Conversation

laritakr
Copy link
Contributor

Story

There were a few pieces of the pdf resplitting process that were not fully valkyrized.

  • This commit valkyrizes the resplitting, and fixes a bug with removing the child works from the initial split.
  • Note that this also fixes the connection to delete the spawned child works when the parent work is deleted.

Ref notch8/palni_palci_knapsack#80

Expected Behavior Before Changes

PDF resplitting had numerous errors

Expected Behavior After Changes

Using the PDF resplit button successfully removes prior child works and creates new ones
Deleting a work which has child works split from a PDF will also delete the child works.

Screenshots / Video

Original work with "highlighted" child works:
Screenshot 2025-01-29 at 5 19 47 PM

After resplit (highlighted works were deleted & replaced with new child work)
Screenshot 2025-01-29 at 5 20 50 PM

Original child work no longer found
Screenshot 2025-01-29 at 5 21 05 PM

Notes

There were a few pieces of the pdf resplitting process that were not
fully valkyrized. This commit valkyrizes the resplitting, and fixes
a bug with removing the child works from the initial split.

Ref notch8/palni_palci_knapsack#80
@laritakr laritakr merged commit 98faa0a into main Jan 29, 2025
3 of 4 checks passed
@laritakr laritakr deleted the fix-resplit branch January 29, 2025 22:57
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.

2 participants