Skip to content

feat(documents): Word (DOCX) Viewer + Documents category - #140

Merged
slaveofcode merged 1 commit into
developfrom
feat/documents-docx-viewer
Aug 2, 2026
Merged

feat(documents): Word (DOCX) Viewer + Documents category#140
slaveofcode merged 1 commit into
developfrom
feat/documents-docx-viewer

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

What

New Word (DOCX) Viewer tool — opens and renders .docx files entirely in the browser (docx-preview, Apache-2.0): full layout, tables and images. Nothing is uploaded. Includes a Print / Save as PDF action.

Introduces a new Documents category (teal) for the coming family of document viewers/converters (Spreadsheet, EPUB next).

Details

  • src/islands/documents/DocxViewer.tsx — thin island, dynamic-imports docx-preview
  • Registered in tools.ts (docx-viewer, category Documents, beta)
  • New Documents category: type union, registry, colors (teal), EN + ID descriptions
  • Bilingual UI + SEO content (EN + ID) + OG color
  • 638 tests pass, 0 lint errors, build green (/tools/docx-viewer + /id/tools/docx-viewer)

🤖 Generated with Claude Code

Add a client-side DOCX viewer that renders Word documents in the browser
via docx-preview (full layout, tables, images) — nothing is uploaded.
Introduces a new teal 'Documents' category for the coming family of
document viewers/converters. Bilingual (EN + ID) UI, SEO content and OG.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ubfx4XocHcECaL8twp9zsr
@slaveofcode
slaveofcode merged commit dc2f985 into develop Aug 2, 2026
1 of 2 checks passed
@slaveofcode
slaveofcode deleted the feat/documents-docx-viewer branch August 2, 2026 15:00
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