Allow editors to add or remove subsection callout styling - #775
Conversation
|
@benbrasso maybe we can use this one as the test case for Jana and Yasmine to review in dev? |
|
@mikec-ai, yes, agreed. Separately, review the following guidance in the Builder Wiki on when to use callout boxes and determine if wording adjustments are needed in the new component in NOFO Builder: When should I use a callout box (or callout component)? Callout boxes are best for short, high-priority content that applicants need to notice quickly. Common uses include:
Avoid using callout boxes for long narrative content or detailed policy explanations — those belong in the body of the NOFO. The goal is to surface information that applicants might otherwise miss, not to highlight everything. Adding a callout box in NOFO Builder Select Configure section on the relevant section, then select Add subsection where you want the callout box to appear. Check the Is callout box checkbox and enter your content. Importing a callout box from Word NOFO Builder automatically recognizes 1x1 tables in your Word document as callout boxes on import. Make sure any content you want displayed as a callout box is inside a 1x1 table in Word before importing. |
|
@mikec-ai I'd also consider positioning it immediately before the page break component. I.e., semantically, it probably makes sense to identify the subsection, then decide on decorative options. Also, take a look in prod now, where is the current callout box positioned on the edit subsection page. Ideally, we'd be consistent with its position on the edit pages. |
|
@benbrasso see the last comment about the update made |
|
@mikec-ai any reason we don't want to use the same component and content that we already have built? I think the help text isn't needed. A lot of information creates unnecessary noise and cognitive load.
|
|
@benbrasso reused the same component and content now |



Summary
Why
Subsections already stored callout state and Builder already rendered both callout and regular subsections, but the edit screen submitted the existing value through a hidden field. Editors therefore could not correct callout styling without changing and reimporting the source document or requesting engineering support.
This exposes the existing state as an intentional editing choice without redesigning callout recognition or rendering.
Closes #772.
User impact
Editors can now apply or remove callout styling while preserving the subsection's name, heading level, content, order, anchor, page-break setting, and table-of-contents behavior.
Recognized Step 1 callouts retain their existing portrait right-margin placement. Reimport remains source-authoritative, and the previous manual state remains available in the archived revision.
Validation
maingit diff --checkpassedVisual evidence
Before, the subsection edit screen did not expose the stored callout state.
After this change, it presents a USWDS tile checkbox with placement and reimport guidance.