Drop hasDesignVersion and its per-row template lookup

PerformanceDocsService
Shipped
August 22, 2026 at 7:32 AM UTC
Author
Kamo
Commit
01e2ffd

Every document list ran an esign_templates lookup for EACH row — 100 per page — to answer "is this an original that happens to carry a design". That was how the Modified tab was built before versions existed. The tab is now its own query over modified_kind, nothing else ever read the field, and a search across all four repos found no other consumer. Also: a version that has been trashed and is then opened for editing again is restored rather than handed back trashed. The unique index means a second one of that kind can never be derived, so without this, trashing a version was a one-way door that looked like a bug — the member edits the row it hands back, saves, and it never reappears in the Modified tab, which lists only live rows. Opening something for editing is an unambiguous statement that it is wanted.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing