Document page refactor layout
Draft
CO
7h ago+13452+13452+01234567890123456789012345678901234567890123456789-451-451-012345678901234567890123456789
Summary by cubic
Refactors the organization document pages into a panel-free detail page that brings the collaborative editor, review cards, and document-management cards together on one route. The document renders on A4 pages with a fixed editor toolbar, collaborator presence avatars, and a collapsible details column, and suggestion toggling and editor menus are reworked. Review cards now act on comments and suggestions, and a second view lists every comment thread and scrolls to its anchor.
Tests +871 -3
- Extend suggestion-editor tests for renamed lifecycle callbacks and per-style suggestion retoggling.
- Add coverage for review-card layout and review-anchor positioning, plus a full e2e run of suggestion threads covering reply, accept, reject, and thread resolution.
App: console +9151 -59
- Add the panel-free document detail page with A4 pagination, a fixed editor toolbar, presence avatars, review cards anchored to the document text, and a collapsible details column.
- Add control, approver, and signatory cards with paginated lists, plus publish, archive, delete, and PDF-export actions.
- Give review cards accept/reject, edit, delete, and reply actions, and add an all-comments view that lists resolved and suggestion threads and scrolls to each anchor.
- Give every suggestion its own thread so decisions and the proposed text land in the comment history, and auto-reject suggestions whose edits are undone.
- Update document routes, the organization shell, and English, French, and Dutch locales.
Package: n8n-node +12 -0
- Changelog notes that document suggestions now expose their comment thread and the anchor quote from when they were accepted or rejected.
Agents +98 -0
- Document connection-count guidance and applying the detail shell to routes.