Content
View differences
Updated by Wieland Lindenthal about 8 hours ago
**As** a user
**I want to** view and edit a real-time collaboration document
**Acceptance criteria**
* The document view is composed of
* Sidebar left with the document module's sub-menu submenu
* A main content area containing the rich-text document, which contains
* A page Page header that contains
* Breadcrumb navigation (with Project name / Document name (shotened))
BlockNote editor
* Document title <mention class="mention" data-id="68941" data-type="work_package" data-text="##68941">##68941</mention>
* Type selector (hidden on mobile for now Split screen to save space)
* A list of avatars of users that are currently also viewing or editing that page (<mention class="mention" data-id="68938" data-type="work_package" data-text="##68938">##68938</mention>)
* An indicator when the document was last saved. (<mention class="mention" data-id="68939" data-type="work_package" data-text="##68939">##68939</mention>)
* A three-dots actions menu containing the following actions
* Rename document which triggers the edit in place from above.
* (Nice to have) Copy URL to clipboard
* (Nice to have) Duplicate
* Delete document (<mention class="mention" data-id="69080" data-type="work_package" data-text="##69080">##69080</mention>)
* The header does not have a "Save" button. Saving is done automatically.
* The document content
* Rendered in either show mode (<mention class="mention" data-id="68699" data-type="work_package" data-text="##68699">##68699</mention>) or edit mode (##, depending on the users permission
* Showing real-time edits and cursor positions of connected users
* even when the user right with only has (for now) the permission to view and not to edit.
**Files** tab.
* The document content is rendered and edited with a BlockNote editor.
Routes:
* During loading of the content a skeleton is shown <mention class="mention" data-id="69016" data-type="work_package" data-text="##69016">##69016</mention>
* Header and document form a visual block inside the content area that gives it a document-like look and feel
* centered
* with a maximum width of (<mention class="mention" data-id="72513" data-type="user" data-text="@Parimal Satyal">@Parimal Satyal</mention>?) `documents/<id>` (one route for improved readability
* they scroll together, on both, desktop readOnly and mobile
Write)
* A right panel
Breakpoints
* (For now)
_To be specified_
* Only lists the attachments
* Allows uploading attachments
* When viewed in tablet portrait read-only mode or slimmer the right panel is rendered below the document content
* At a later point of time (out of scope for now)
* the right panel will hold multiple tabs, similar to a work package (Activity, Files, Relations, ...)
* Routes:
* `documents/<id>` (one route for both, read-only and write)
defined in <mention class="mention" data-id="68699" data-type="work_package" data-text="##68699">##68699</mention>&nbsp;
**Out of scope**
* further information tabs such as activity, versions, relations, ...
**I want to** view and edit a real-time collaboration document
**Acceptance criteria**
* The document view is composed of
* Sidebar left with the document module's sub-menu
* A main content area containing the rich-text document, which contains
* A page
* Type selector (hidden on mobile for now
* A list of avatars of users that are currently also viewing or editing that page (<mention class="mention" data-id="68938" data-type="work_package" data-text="##68938">##68938</mention>)
* An indicator when the document was last saved. (<mention class="mention" data-id="68939" data-type="work_package" data-text="##68939">##68939</mention>)
* A three-dots actions menu containing the following actions
* Rename document which triggers the edit in place from above.
* (Nice to have) Copy URL to clipboard
* (Nice to have) Duplicate
* Delete document (<mention class="mention" data-id="69080" data-type="work_package" data-text="##69080">##69080</mention>)
* The header does not have a "Save" button. Saving is done automatically.
* The document content
* Rendered in either show mode (<mention class="mention" data-id="68699" data-type="work_package" data-text="##68699">##68699</mention>) or edit mode (##, depending on the users permission
* Showing real-time edits and cursor positions of connected users
* even when the user
* Header and document form a visual block inside the content area that gives it a document-like look and feel
* centered
* with a maximum width of (<mention class="mention" data-id="72513" data-type="user" data-text="@Parimal Satyal">@Parimal Satyal</mention>?)
* they scroll together, on both, desktop
* Allows uploading attachments
* When viewed in tablet portrait
* At a later point of time (out of scope for now)
* the right panel will hold multiple tabs, similar to a work package (Activity, Files, Relations, ...)
* Routes:
* `documents/<id>` (one route for both, read-only and write)
* further information tabs such as activity, versions, relations, ...