tritium-legal makes document previews format-agnostic

The fork replaces a Word-only document download path with one route that can safely serve any supported file type.

workflowinfrastructure

This is a small plumbing change with a practical payoff: document viewers can now retrieve the active version of a file whether it is a Word document, PDF, or another supported format.

The approach also keeps existing links working, forwarding old Word-specific requests to the new general route. That matters because the platform sometimes needs to pass file contents through its own backend instead of sending the browser directly to cloud storage, where browser security restrictions can disrupt document previews, particularly for tracked changes.

For legal teams, it is a quiet step toward more consistent review across mixed document sets, without forcing existing integrations to change.

So what Worth a GitHub look for teams building document review workflows that need reliable previews beyond Word files.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

2 commits from tritium-legal/mike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
a0dcc4e0 add raw File bytes streaming to API Drew Miller 2026-08-07 ↗ GitHub
55afeef3 consolidate file getter endpoints Drew Miller 2026-08-10 ↗ GitHub

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-985.md from inside the repo you want the changes in.

⬇ Download capture-thread-985.md