unfoldingWord / gateway-translate

A tool for editing and translating text in USFM markup
MIT License
2 stars 3 forks source link

Edits are not shown in Print/Preview unless the card is reloaded/refreshed #214

Open elsylambert opened 7 months ago

elsylambert commented 7 months ago

When edits are done on a book card and saved and then printed, the Preview does not show the edits. If the page is reloaded, and then previewed again, then the edits are shown.

DOD: edits made to the book card must be displayed when Print/Preview is done.

larsgson commented 7 months ago

This seems to be an issue with editing what is called "grafts" - and my suspicion is that this bug also happens when saving an "unfinished edited graft". I will now evaluate this in more detail and try to find a fix for it.

larsgson commented 6 months ago

I have updated to a new version and this should now be fixed.

elsylambert commented 6 months ago

Verified in v1.1.0 build ba809da at https://deploy-preview-212--gateway-translate.netlify.app/. Edits are shown when Print preview is done. Not seeing the reported problem anymore.

elsylambert commented 6 months ago

Looks good in v1.1.0 build e70834f in develop.

danielklapp commented 6 months ago

Agree that edits are shown in print/preview without having to reload the page. Tested with v1.1.0 build e70834f QA.