Skip to main content

Options

The Guidance Card supports four lifecycle states, single and table change sections, and an optional linked reference.

States

default shows selectable diffs with Accept, Edit, and Reject actions. accepted, rejected, and skipped collapse the same content into a read-only disclosure that starts closed — expand it to review what was suggested.

Change Sections

A change section is either single — one or more scalar diff rows — or table — one or more labeled line-item tables. Combine both types, in any order, within changeSections to build a mixed review. referenceHref turns the reference label into a link that opens the related estimate or invoice in a new tab. Omit it to render the label as plain text.

Behavior

In the default state, every change starts selected; the card tracks its own selection from there and disables its footer actions once everything is deselected.

Selection

When a section has more than one selectable change, each row starts checked and gets its own checkbox — uncheck a row to exclude it before accepting. A lone change omits the checkbox entirely; Accept always applies to it.

Actions

Accept and Edit are enabled by default — every change starts selected — and disable only once every change is deselected. Reject is always available and needs no selection. Accept and Edit each receive the ids of the currently selected changes and table rows.

Keyboard Interaction

Users can navigate, select, and act on the Guidance Card using standard keyboard controls.
Last modified on July 24, 2026