Conversation
getData silently fell back to an empty default sheet for any non-ok response (401/403 included), so a no-access sheet looked identical to an empty one. Mirrors canvas's not-permitted messaging; 404 still falls through to an editable blank sheet. Fixes #1333 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
shsteimer
marked this pull request as ready for review
September 14, 2026 18:27
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Module-level loadError plus threading a wrapper element through setSheet/reloadSheet was awkward. getData now emits sheet-load-error / sheet-load-ok on document, mirroring the existing sheet-dirty / sheet-clean convention in utils/utils.js, and sheet.js listens once in init() instead of passing a DOM node down the call chain. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Points at follow-up issue #1336 instead of implying da-version-review already surfaces version-load failures elsewhere. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
showNotPermittedhandling for the doc editor.getDatasignals load status viasheet-load-error/sheet-load-okdocument events rather than module-level state, matching the existingsheet-dirty/sheet-cleanconvention inutils/utils.js.Fixes #1333
Preview: https://sheetacc--da-live--adobe.aem.live
Test plan
🤖 Generated with Claude Code