Draft

Key point: Edits to a comment or document that are auto-saved at regular intervals during any editing session.

To save you time and protect your work, PageSeeder automatically saves content that you type in the app as a draft. It can be a comment before you post it or a document edit before you save the document.

A draft comment is only visible to the writer but draft document edits are visible to other users in the fragment history. The document view also flags where a draft edit exists by displaying a blue banner to the left of the fragment if no other user holds a draft on the fragment, in which case, a red icon is displayed). A yellow banner indicates that the edits have not yet been saved as a draft.

All drafts for your account are available on the my drafts page.

Throughout the user interface, the icon indicates a draft.

Draft comments

When using the comment dialog to create or reply to a comment, a pause of a few seconds triggers any updates to be saved as a draft.

When the draft is, the Saved draft message appears briefly at the bottom of the dialog: 

After selecting Post comment or Reply, the draft is posted to the group as a comment. Until that time or unless the comment is abandoned, the draft remains available in your My drafts page even if you have closed the comment dialog or left the page.

Draft comments include not only the content of your message, but also the title, labels and any attachment.

Draft document edits

While the edit mode is active, PageSeeder continually scans the content for changes from what was last saved as a draft or using the normal save feature. Any time updates exist but haven’t been saved, the fragment is considered “dirty” and is highlighted with a bright yellow bar to the left.

Any pause in typing for a few seconds triggers the draft save and the display of the icon. The loading icon might flash briefly while the draft content is being saved.

Any edit automatically saves as a draft, but the system doesn’t commit an edit to the document without explicitly selecting Save. Also, in the event of the browser closing prematurely, it’s possible that an edit isn’t saved as a draft. To minimize the potential for lost work, users are encouraged to save frequently.

Saving drafts

If you have drafts or dirty edits in your document, PageSeeder shows you the number of unsaved changes in the top right-hand corner of the document toolbar. For example: 1 unsaved change. If you click that button, PageSeeder saves all the unsaved changes.

You can also save all the unsaved changes by pressing Control+S on Windows or Command+S on macOS.

If you only want to save the current edit, you can click the icon beside the fragment you edited.

Resuming work on your own drafts

Unless another user has rejected your draft:

  • When you return to the document, your previous draft edit is automatically loaded when you switch to edit mode. You can resume editing normally.
  • You can also view all your draft edits on the My drafts page. You can return to the document to resume editing, OR
  • You can view your edit in the fragment history panel or document history panel, and discard or save your edit from there.

If another user unlocks, edits and saves a fragment that you had an existing draft on, their content is the current content that loads when you return to the document. In this case, you are no longer able to see your draft content.

Handling drafts from other users

If a user forgets to save their changes, it makes it difficult for other users to contribute. There are options that let contributors review and accept or reject the draft of another contributor.

Unlocking content on which another user has a draft

If you view a document that another user has created a draft in, to the left of the fragment, you see a red icon. If you hold the cursor over the icon, you see the creator’s name and the date and time they created the draft. The draft is also recorded in the fragment history panel and document history panel.

The current content of the fragment is the last saved content, not the content of the users’ draft as they haven’t saved that content yet.

To edit the fragment, click the icon to open the Unlock this fragment dialog.

Unlock this fragment dialog

Ideally, it is best to avoid having multiple drafts or having to merge changes. Although it’s best to wait until a concurrent editor is finished, the following options are available in cases where that doesn’t happen.

When you click a icon, this dialog opens and the following details are shown:

  • The author who is holding a draft.
  • The time and date their draft was created.
  • The content of their draft.

A message confirms the author and when they created their draft and, when user is in edit mode, there are three action buttons:

  • Accept – click to accept the draft content as a normal edit—when saved, the draft content becomes the current content. The edit is recorded in the fragment history and document history as draft content from the original author.
  • Reject – click to discard the draft and revert to the previous content. The rejected draft content is not recorded in the fragment history and is no longer in the draft owners’ My drafts.
  • Ignore – only displays when in edit mode—click to ignore the draft content. The draft content is still available.

These buttons are intended for when someone leaves the fragment in draft state and forgets about it. If a user has a recent draft on the document, that is, less than one hour old, you see a message stating “...Accept, Reject or Ignore are NOT recommended while someone else is editing.”

There is also an option to add an edit note to any of the actions before clicking Confirm to finalize it.

To save time, you can Accept or Reject another users' draft when you aren’t in edit mode.

User edits content at same time you are editing

See Concurrent editing.

The current content is the last saved content. Draft content is available in a users’ My drafts or in the fragment history—click the icon to the right of the fragment, then click the icon.