All articles

Working with Buddy

Review Buddy's proposed changes

Buddy, the assistant built into Weft, never edits your document directly. A new document, a change you asked for, a fix for a flagged issue or a revision against an uploaded original all come back as a proposal: a preview of the document as it would be. Your document stays untouched until you accept.

Before you start

Proposals come from asking Buddy, which in the hosted app needs the editor role or higher (roles run viewer, editor, admin, owner). Local mode — one person, documents kept in the browser — has no roles. Reviewing works the same in both.

While Buddy works

A status chip sits beside Generate in the app bar. While Buddy works it pulses and says what Buddy is doing — "Buddy is editing this…", for example — next to a Stop button. Stop cancels the request and leaves your document unchanged, though Buddy may finish the step it is on. The dialogs you ask from also show Cancel while they wait.

When Buddy generates a new document in the hosted app, the canvas shows it forming under Buddy is drafting…, with its own Stop. There is nothing to accept until it finishes.

What a proposal looks like

When the answer arrives, the chip reads Buddy proposed changes and the canvas switches to a read-only preview of the proposed document, under a review bar headed:

  • Proposed template — a new document Buddy generated;
  • Proposed change — a change you asked for, to a block, a selection or the whole document;
  • Proposed fix — a fix for a flagged issue (Ask Buddy to fix);
  • Proposed revision — a revision against the original you uploaded.

When the changes are listed one by one (below), each changed block is outlined and tagged Changed in the Flow view. A proposal you can only take whole has no tags. Switch to Paged in the bar above the canvas to see the proposal as printed pages, without the tags.

Buddy's proposed change under review. A bar headed Proposed change reads 1 of 2 changes selected and lists two text changes, the heading change marked Rejected, with Discard and Accept 1 buttons. Below it, a read-only preview of the document shows the changed paragraph outlined and tagged Changed.

Accept or reject changes one by one

When Buddy only changed blocks that were already in the document, the review bar lists each change: a tag (Binding, Content or Style, listed in that order), a one-line summary such as "Heading text changed", the old and new value for text and binding changes, and a Reject button.

  1. Press Reject on each change you do not want. It turns to Rejected, the preview puts that block back as it was, and its Changed tag disappears.
  2. Changed your mind? Press Rejected to take the change back.
  3. Check the count under the heading, for example "3 of 4 changes selected".
  4. Press Accept 3 — the button counts what you kept, and reads Accept all when you rejected nothing.

If you reject every change, the accept button is greyed out: press Discard instead. The same happens when Buddy returned the document unchanged.

Accept or discard the whole proposal

When a proposal adds or removes a block at the outermost level of the document (not inside a section or other container), or in its page header, page footer, cover page or back cover, changes the kind of block at a position there, or changes document-wide settings such as the theme or the watermark, the bar has no list and reads "Preview only — your document is untouched until you accept." A generated document is almost always of this kind.

Press Accept all to take it, or Discard to leave your document exactly as it was.

What pauses while you review

Until you accept or discard, the live document is frozen:

  • Undo and Redo, and their shortcuts;
  • moving, duplicating, grouping and deleting blocks in the outline;
  • the properties panel and its toggle;
  • in the ⋯ menu, starting a new document, loading a saved one and deleting the open one;
  • Publish and Save as a copy… in the Save ▾ menu, the caret beside Save;
  • switching the data the preview uses, in the data pill above the document;
  • asking Buddy for another change to this document;
  • running a quick command with Run in the dialog that opens from Generate.

Most frozen controls say why, in their tooltip or under the menu item: "Finish reviewing Buddy's proposal (Accept or Discard) first."

Save still works, and saves your document without the proposal. A proposal is held only in the open page, so reloading or closing the tab discards one you have not accepted — while one is waiting, your browser asks you to confirm before you leave the page.

After you accept

  • A proposal with a change list lands as a single step, however many changes you kept: Undo takes them all back.
  • A whole proposal replaces the document in one go, also as a single step: Undo puts back the document as it was before you accepted, and further Undo reaches the edits you made before it.
  • A generated document taken whole, which is almost always how one arrives, becomes a new, unsaved document; saving it creates a new template, and the template you had open stays in your library. Because it is a new document, its undo history starts fresh: Undo cannot bring back what you had. Use Rewind below, or Load the template again. Every other proposal, including a generated one that came with a change list, changes the document you had open.

The activity feed

Press the status chip to open the activity feed. When Buddy is idle the chip shows an activity icon, with the tooltip "Activity — what you and Buddy changed this session"; it appears after the session's first change. The feed lists every change in this session, newest first, each tagged Buddy or You, with its time.

  • Filter it with All, Buddy or You.
  • The heading counts them, for example "Buddy made 2 of 9 changes".
  • Undo last edit, shown when there is something to undo, does the same as Undo.

The feed covers the current session only and starts empty after you reload the page.

Rewind to before a Buddy change

In the feed, each Buddy change you accepted is named for the point it returns to, such as "Before generating" or "Before editing: heading".

  1. Open the feed and find the row.
  2. Press Rewind.
  3. Confirm Rewind to before this change? with Rewind.

The whole document, and the data the preview was using, go back to how they were before that change, which also undoes the edits made after it; those stay listed in the feed, and a new row records the rewind. Undo cannot reverse a rewind. A live Salesforce or HubSpot record is the one thing that does not come back: Weft never keeps a copy of one in your browser, so the preview shows no data until you pick the record again.

Weft keeps rewind points for the last ten Buddy changes you accepted, in this browser on this device rather than in your workspace. Rewind appears only on rows in the current feed, so nothing from before a reload can be rewound, and opening a different document clears the points. Rewind is greyed out while a proposal waits for review.

What next