Skip to content

Unify document viewer experience - #14

Merged
naaiyy merged 3 commits into
mainfrom
agent/unify-viewer-experience
Aug 13, 2026
Merged

Unify document viewer experience#14
naaiyy merged 3 commits into
mainfrom
agent/unify-viewer-experience

Conversation

@naaiyy

@naaiyy naaiyy commented Aug 13, 2026

Copy link
Copy Markdown

Summary

  • replace format-specific controls with one accessible, Pierre-based viewer control system
  • add a shared viewer stage and fix DOCX fitting, PowerPoint rail scrolling, thumbnail resource bounds, and safe slide centering
  • bound playground preview and Markdown panes and expand the PowerPoint test fixture to 10 slides
  • add the new public viewer UI package to the lockstep alpha release system and centralize release package inventory

Why

The viewers had duplicated control APIs and inconsistent layout ownership. Search reserved empty space, DOCX could overflow its host at normal zoom, PowerPoint navigation and slide placement were unstable, and the playground panes could grow with their content.

This refactor makes the publishable renderer packages own those behaviors. The playground now only hosts and demonstrates them.

Breaking alpha API change

Consumers must replace renderControls and showDefaultControls with controls and onControls.

Validation

  • complete build and TypeScript checks for all workspace packages
  • 135 tests passed
  • viewer bundle and ingestion performance budgets passed
  • packed server and umbrella package closure checks passed
  • release metadata and changeset status passed
  • production dependency audit found no known vulnerabilities
  • two-axis adversarial review completed; all hard findings and release risks were corrected

@naaiyy
naaiyy merged commit b0b5eb8 into main Aug 13, 2026
5 checks passed
@naaiyy
naaiyy deleted the agent/unify-viewer-experience branch August 13, 2026 11:24
naaiyy added a commit that referenced this pull request Aug 13, 2026
## Summary

- advance all nine public AnyDoc viewer packages to `0.1.0-alpha.14`
- update every internal workspace dependency to the same lockstep
version
- consume and archive the unified viewer changeset

## Release

After this PR merges, tag `viewer-v0.1.0-alpha.14` to start the verified
npm publication workflow. Alpha packages publish under the `next`
dist-tag.

## Validation

- release metadata validation passed
- publish plan includes all nine viewer packages
- feature PR #14 passed all five required CI jobs before merge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant