gui/components/DplRefineBar

The DPL refine toolbar for the Manage-tab block editor — a single tidy row of AI refinements. Each dimension (Detail, Complexity, Focus, Intensity, Variety) is one stepper combo: a centered label flanked by (less) and + (more) buttons, so a five-way set of one-click tweaks fits on one line without a wall of parallel buttons. A lone Cleanup pill rounds it out.

The bar is presentational: it renders the module:gui/lib/dpl/dplRefine catalog and reports the picked action up via onRefine(action). The parent (module:gui/components/ManageBlockEditor) owns the text-provider call, applies the result, validates it, and drives the busy/undo state. The free-text Modify/Draft control lives separately in the editor's corner (DplAskCorner).

Description:
  • The DPL refine toolbar for the Manage-tab block editor — a single tidy row of AI refinements. Each dimension (Detail, Complexity, Focus, Intensity, Variety) is one stepper combo: a centered label flanked by (less) and + (more) buttons, so a five-way set of one-click tweaks fits on one line without a wall of parallel buttons. A lone Cleanup pill rounds it out.

    The bar is presentational: it renders the module:gui/lib/dpl/dplRefine catalog and reports the picked action up via onRefine(action). The parent (module:gui/components/ManageBlockEditor) owns the text-provider call, applies the result, validates it, and drives the busy/undo state. The free-text Modify/Draft control lives separately in the editor's corner (DplAskCorner).

Source: