17Documentation
Two ways of working: in drafts, or on a single trunk
Every project works in one of two ways. Most work in drafts; a very small team can write straight into the documents. What differs, who each one suits, and how the switch is made.
Why there are two
Both ways keep one rule: there is always exactly one place to write in. They differ in which place it is.
- Branch development (the default): you write in a draft. The approved version is read-only and changes only when a draft is written into it.
- Single trunk: there are no drafts. Everybody writes straight into the project’s documents, and one button writes what is accepted into the approved version.
A third, mixed way, with the approved version writable and drafts beside it, does not exist, on purpose: comparing a draft with the approved version would then lie, and nobody would know whose unfinished changes those are. A small team that now and then needs a separate proposal has the project switched to drafts for that time.
In drafts
Most projects work this way, and most of this guide describes it. In short:
- The approved version is read-only, for people and for Agent Delta alike. The page says “This is the approved version — read-only.” and has an Edit button.
- Every change is made in a draft, a working copy of the whole project. Several can run at once, each on its own topic.
- A change has three states: in progress → accepted (✓) → written into the approved version, after a confirmation.
- Before that you can ask for approval: a colleague gets an e-mail and a notification. See the chapter Approval and writing into the approved version.
- When two people in two drafts change the same place, the write stops and walks you through the wording, place by place.
Who it suits: teams where somebody looks at a change before it is in force; where several topics run at once; where a long proposal should wait; where a record of who approved what is needed.
On a single trunk
For small teams that want as few steps as possible. The project has no drafts, and the app never says the word.
- Everybody writes straight into the project’s documents. What you type saves itself: those are the changes in progress.
- ✓ accepts a change (on its card or in the Changes in documents panel), ↩ returns it to work in progress, ✗ throws it away.
- Write into the approved version (1) on the panel’s third card writes everything accepted into the approved version in one step. No confirmation.
- Work in progress stays where it is until somebody accepts it.
Who it suits: two to five people who trust each other, work on one topic at a time and need no approval in the app. Two steps, ✓ and the write, are enough for them.
What differs on the screen
| In the app | What it means |
|---|---|
| The first bead of the column | In drafts: “Project Nordwind · Shorter warranty deadlines”, a press opens the Drafts menu. Single trunk: only “Project Nordwind Service”; a press opens the Project menu (see the picture). |
| The right end of the tab strip | In drafts: the draft’s name in its colour, or “Approved version”. Single trunk: nothing. |
| The document | In drafts: on the approved version read-only, with an Edit button. Single trunk: you write at once. |
| The Changes in documents panel | In drafts: four steps, and Write into the approved version… on its card, with a confirmation. Single trunk: three steps, no approval request, and one button Write into the approved version (1). |
| The head of the panel | In drafts: the ⋮ Branch actions. Single trunk: none. |
| Projects → the project card | In drafts: the row Active drafts. Single trunk: none. |
| Help | On a single trunk the tips and Explain cards speak of the project, never of a draft. |
Side by side
| In the app | What it means |
|---|---|
| Where you write | In drafts: in a draft. Single trunk: straight in the project’s documents. |
| The approved version | In drafts: read-only. Single trunk: what was last written in; the documents themselves stay writable. |
| Topics at once | In drafts: as many as there are drafts. Single trunk: one shared copy. |
| The way of a change | In drafts: in progress → ✓ accepted → Write into the approved version…, with a confirmation. Single trunk: in progress → ✓ accepted → Write into the approved version (1), without one. |
| A colleague’s approval | In drafts: an approval request. Single trunk: none in the app, you agree among yourselves. |
| Two people, one place | In drafts: sorted out at the write, place by place. Single trunk: cannot happen, everybody writes into the one copy, live. |
| A public link shows | Both: the approved version, never what is in progress or merely accepted. |
| History | In drafts: every draft and its write. Single trunk: one line of writes, each one version. |
| Who switches it | Both: your company’s account manager, or the instance administrator. |
| Who it suits | In drafts: teams with approvals and several topics at once. Single trunk: two to five people, one topic, as few steps as possible. |
Writing in on a single trunk
- Write in the document. The change appears as a revision.
- Accept it with ✓: on the card beside the page, or in the Changes in documents panel.
- In the panel press the card Write into the approved version. It unfolds and holds the button Write into the approved version (1); the number says how many accepted documents will be written in.
- Press it. With no further question everything accepted goes into the approved version, and the button says Written in for a moment.
- One press is one new version in the history. Whoever presses is its author; a colleague’s accepted changes go out together with yours.
- Work in progress (Onboarding in the picture) stays where it is, and goes in once somebody accepts it.
- With nothing accepted the button is grey and says: “Nothing to write — accept a change (✓) first.”
- On a single trunk Delta edits the project’s documents directly but never writes into the approved version by herself: her changes wait for ✓ like anybody’s.
Nothing is lost before the write
Accepted and in-progress changes are backed up to a server outside the app as you go: what is accepted after every ✓, what is in progress every five minutes. If a backup ever fails, one of two sentences says so:
| In the app | What it means |
|---|---|
| “Published here, but the git server does not have it yet — the push failed.” | In red, in the Changes in documents panel. The write into the approved version is made; only its copy on the backup server is missing. Press Retry. |
| “Accepted changes are saved here, but their backup to the git server failed — it is retried on the next accept.” | A quiet amber sentence at the accepted changes. Nothing of the approved version is missing, and the app retries by itself. |
Public links on a single trunk
A public link shows the approved version, never what is in progress or merely accepted. Fix a typo, and the customer sees it in the link only after the write. A document that has never been written in cannot be shared yet: “This document is not published yet — a public link would show nothing. Publish it first.” A new link is made in Profi.
How the way of working is switched
Only your company’s account manager or the instance administrator can change it, not a company administrator and not a member. A company administrator sees in Projects → Way of working how the project works, and a sentence saying who makes the change; the cards are grey for them.
- The account manager opens Way of working in the project’s settings and presses the other card.
- A window opens, Switch to single trunk (or Switch to branch development). Under “After the switch:” it lists what changes for the members, say “all members (3) write straight into the project’s documents”, and that you can switch back.
- The app checks the project (“Checking the project…”). It answers either “Nothing stands in the way.” or “First, this has to be done:” with a list. Until then the switch button is grey.
- Once that is done, they press Check again and switch.
- The app reloads for all members. The switch is written into the audit.
Going to a single trunk is held up by:
- every open draft: it must be written in or closed. The window says for each how many revisions nobody has decided yet, say “The draft “Shorter warranty deadlines” is still open — 4 unaccepted revisions. Publish it or close it.”;
- a write or an update running right now;
- Delta still working in the project.
Drafts put aside do not matter: on a single trunk they are invisible, and they come back after a switch back.
Going back to drafts is held up by anything the approved version does not have yet, because it becomes read-only again:
- text not saved yet;
- changes in progress that nobody accepted or discarded;
- accepted changes not yet written in;
- written versions not yet backed up;
- Delta working in the project.
After a switch to drafts people’s tabs stay open, but the documents in them are on the approved version, read-only.