Repository navigation
Fix Slides de-render crashes and add Docs/Slides regression CI - #70
Conversation
|
Live Slides verification after merge Tested merged commit
Screenshots below are paired before/after. The existing sandbox contains legacy layouts and narrow image bounds, so restored source sometimes wraps tightly; this test verifies de-rendering and status reporting, not layout changes. Single image — before / after
Multiple images with other objects — before / after
De-render All, no image selection — before / after
Alt-text follow-up: #69 is still open and changes Docs only. Its exact head No production Apps Script project or Marketplace release was updated. Marketplace preparation is pending the requested screenshot approval. |








Fix a Slides de-render crash caused by reading
Common.DerenderResultat runtime, and stop replacing unrelated server exceptions with “please select image.” Both De-render All and De-render Selection now use local status constants that preserve the sidebar's existing numeric protocol.Human intent
Cause and change
A read-only download of the Slides project HEAD contains runtime
Common.DerenderResultaccesses. Its pinned Common v8 has no enum object: the const enum was erased during compilation. Isolated Slides transpilation leaves those property accesses intact. A full-program build can inline them, which explains why merely running that build can hide the regression.Add a local Slides enum with explicit values matching the sidebar's type declarations. No Common library update is required. Sidebar failure handlers now display escaped server error details and restore the buttons/loading state. The existing test/CI work also fixes the Workspace harness's dependency on an ignored build output and adds Slides delimiter coverage.
Evidence and validation
Success/InvalidUrl.editEquations:selectionType=PAGE_ELEMENT, one selected image, andCommon.DerenderResult=undefined.Limits and release
The older Slides v7 deployment inlines these constants correctly. The reporter's installed version and affected presentation have not been identified, so the verified defect in project HEAD is not proof of the exact deployed failure they encountered. Tests execute real downloaded/compiled code with local Apps Script doubles, not a live Google Slides session.
No Apps Script push, release, merge, or Marketplace update was performed. The original checkout's unrelated uncommitted work is untouched. Tracking: AGENTS-109.