Skip to content

Version preview shows blank table instead of a permission error #1336

Description

@shsteimer

Description

Follow-up to #1333 / #1335.

getData in blocks/sheet/utils/index.js skips emitting sheet-load-status for version-preview loads (versionId set) — intentionally, since firing it would incorrectly toggle the main sheet's grid/not-permitted banner over a historical-version fetch. But that means a 401/403 loading a specific version currently falls back to getDefaultSheet() silently: da-version-review (blocks/sheet/da-version-review.js) has no error handling at all and just renders the empty result as a blank table.

Expected

A failed version load should surface a "Sign in required" / "Not permitted" message in the version-preview panel itself, not a blank table.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions