Unqork documentation is available in two workspaces: UnqorkAI for the latest AI-first platform, and legacy Unqork for previous versions. Use the drop-down near the logo to switch.

This article covers UnqorkAI features. UnqorkAI requires an active AI capabilities agreement. To upgrade from Unqork 9.0 or learn more, contact your Unqork representative.

Smart Component Editor

Prev Next

The Smart Component Editor is where Creators preview, configure, and test Smart Components. The Definition views are read-only: a component's definition changes through the Build Agent. The editor uses the same shell as the Module Builder and Workflow Builder: a toolbar, area tabs, and a content area. The areas and views available depend on the component type.

To open the Smart Component Editor, click LibraryBig Libraries in the global header, then select Puzzle Smart Components Hub. Select a component from the Explorer panel or the Dashboard to open it in the editor.

Smart Component Editor open on the DatePicker Smart Component in UI view. The canvas displays the component preview, the editing toolbar above displays the light and dark toggle and viewport controls, and the Details panel on the right displays the About, Mock Configuration, and Used In sections.

Editor Layout

The editor layout depends on the component type and active view.

UI Smart Components in UI view include the following areas:

Area Description
Tab bar Displays the parent location (for example, "Smart Components Hub") and the component as an open tab.
Area selector Selects the active area: Definition, Tests, or History. In the Definition area, the UI and Logic view tabs display to the right of the area selector.
Editing toolbar Provides the light/dark mode toggle, theme selector, Direct Select, viewport size selector, and zoom controls.
Canvas Renders the component live in a preview canvas.
Details panel The right panel. Displays About, Mock Configuration, and Used In sections.

Logic Smart Components in Logic view include the following areas:

Area Description
Area selector Selects the active area: Definition, Tests, or History. Only the Logic view is available in the Definition area.
Editing toolbar Provides Direct Select and zoom controls.
Data & Chains panel The left panel. Displays the component's Chains, From Inputs, State, Computed, and Outputs.
Canvas Displays the component's logic as a navigable chain graph.
Details panel The right panel. Displays About, Mock Configuration, and Used In sections.

Query Smart Components in Logic view include the following areas:

Area Description
Area selector Selects the active area: Definition or History. Only the Logic view is available in the Definition area.
Editing toolbar Provides Direct Select and zoom controls.
Data & Chains panel The left panel. Displays the component's Chains, Parameters, Form Collections, and Result.
Canvas Displays the component's query pipeline as a navigable chain graph.
Details panel The right panel. Displays About, Mock Configuration, and Used In sections.

Editor Areas

The editor organizes content into the following areas. Select an area in the area tabs to switch between them.

Area Description
Definition The main editing surface. Displays the component's UI preview or logic tree for editing. The views available in this area depend on the component type.
Tests Runs the component's automated test suite. Tests verify that the component behaves as expected across defined input and output combinations. Not available for Query Smart Components.
History Lists previous revisions of the component. Select a revision to preview it or restore the component to that state. Available for all component types.

History Area

The History area lists the revisions of a Smart Component, grouped by date: Today, This Week, This Month, and then one group for each earlier month. Each revision displays its date and time, its author, and its usage (Public or Private). The current revision displays a Current badge. The area displays the 50 most recent revisions. When more exist, a note reads Showing the 50 most recent of N, where N is the number of revisions that match the current filters.

Use the following filters to find a revision:

Filter Description
Search by author Limits the revisions to those made by a specific Creator.
Date range Limits the revisions to a period. Options include: All Time (default), Today, This Week, or This Month.

Select a revision to preview the component as it was at that time. The preview displays the revision's date, time, and author. Click Restore to return the component to that revision. A confirmation prompt explains that the restore replaces the component's current definition and name with the revision's. The current version stays in the history, and every module that uses the component picks up the change. Restore is unavailable on the current revision.

Views by Component Type

In the Definition area, the views available depend on the component type.

UI Smart Components

View Description
UI Renders the component live in a preview canvas. Use the editing toolbar to activate Direct Select, adjust the viewport width, and zoom the canvas.
Logic Displays the component's logic as an editable visual tree.

Logic Smart Components

Smart Component Editor in Logic view displaying AddTwoNumbers, with the Data & Chains left panel containing Chains, From Inputs, State, and Computed sections, the logic chain canvas in the center, and the Details panel on the right.

View Description
Logic Displays the component's logic as an editable chain graph. The Data & Chains panel provides access to chains, inputs, state, computed values, and outputs.

Query Smart Components

View Description
Logic Displays the component's query pipeline as an ordered chain canvas. The view is read-only. See Smart Component Logic View.

Editing Toolbar

The editing toolbar sits below the area selector. Controls vary by view.

The UI view includes the following controls:

Control Description
Light Mode / Dark Mode Switches the canvas between light and dark mode to preview the component in both themes.
Change Theme Selects a theme to apply to the canvas preview. The selection lasts for the current session only and does not apply the theme to an application. See Applying a Theme.
Direct Select Activates direct selection mode for interacting with elements on the canvas.
Viewport Size Sets the canvas width to simulate different device sizes.
Zoom Adjusts the canvas zoom level. Select the percentage to choose a preset or fit the content.

The Logic view includes the following controls:

Control Description
Direct Select Activates direct selection mode on the logic canvas.
Zoom Adjusts the canvas zoom level.

Details Panel

The Details panel on the right side of the editor includes the following sections.

Section Description
About Displays the component's identity: type, category, usage (Public or Private), draft status, created and modified dates, and description.
Mock Configuration Displays input fields matching what a Creator configures when using this component in the Module Builder. Enter values here to test how the component renders in real time.
Used In Lists every module that references this component, organized by workspace and application.

Drafts and Publishing

Drafts apply to Public Smart Components. When the Build Agent changes a Public Smart Component in the editor, the change goes into a draft. Only one Creator can hold the draft at a time. Saved changes go into the draft and are not live in any module until published. Previous revisions are available in the History area if a rollback is needed. The Build Agent's changes to a Private Smart Component save directly into its module, and no draft is created.

Review Changes displays in the toolbar when the Creator holds the draft. It is unavailable while there are unsaved changes. Selecting it opens a review that displays where the component is used, then offers the following actions:

  • Publish Changes: Makes the draft the live definition immediately in every module using the component. If the new definition drops settings that consuming modules have configured, the review lists those modules for manual follow-up.
  • Discard Changes: Deletes the draft and restores the published version. If discarding would remove configuration that modules set against the draft, the review lists the affected settings and asks for confirmation.

Publishing is blocked when another workspace's component depends on the draft, or when the component is used in modules outside the Creator's access. The review states the reason and offers the Smart Components Hub, where the draft can be duplicated instead. Discard remains available in all cases.

Publish Draft is also available from the component's row menu in the Smart Components Hub and Explorer panel.

If another Creator takes over the draft, the original holder receives a notification, their editor stops accepting saves, and Review Changes is withheld. Any unsaved changes remain on screen. To resume, take the draft back from the draft menu in the toolbar.

Component Actions

Select the EllipsisVertical (ellipsis) in the toolbar to access the following actions.

Action Description
Publish Toolbar button. Displays for a Public component that has never been published, unless the Creator holds an open draft of it. Lists the component in the component tray and makes it available to the Build Agent.
Make Public Toolbar button. Displays only while the component is Private. Opens the module that owns the component on the Make Public dialog, where the Creator names a new Public component and chooses which instances switch to it. By default the Private component is deleted when every instance switches, if the Creator's role grants Delete on Smart Components (Private). The Public component is reusable across the environment and visible to the Build Agent, and it cannot become Private again. See Making Smart Components Public.
icon Accessibility Check Runs an automated accessibility scan on the component and displays results in the editor toolbar. Identifies common issues like missing labels and insufficient color contrast, but does not replace manual testing with tools like WAVE, Lighthouse, or a screen reader. If issues are found, the Build Agent can generate a fix plan. Visible only when UnqorkAI is enabled in the environment.
icon Add to Agent Context Sends this component's logic and data to the Build Agent as context for the current session. Toggles to Remove from Agent Context when the component is already in context. Visible only when UnqorkAI is enabled in the environment.
icon Duplicate Creates a copy of this component in the Smart Components Hub. The copy starts as a draft that only the Creator can see until published. Disabled while the Creator holds an open draft on this component.
icon Promote Opens the Promote dialog. Available for Public components only; a Private component is promoted with its module. Select a target environment and confirm to promote the component. Dependent Smart Components are included by default and can be unchecked before confirming.
icon Export Downloads the component definition as an exportable file. Available for Public components only; a Private component is exported with its module.
icon Settings Opens the component settings dialog. Rename the component, update its description, and set its category. For Query Smart Components, also configure execution behavior and role-based access controls. See Smart Component Settings.
icon Delete Component Permanently removes the component. This action cannot be undone. Components used by any module or open application draft cannot be deleted. Not available for Private components, which are deleted from their module. See Deleting Smart Components.

Focused Component View

The Focused Component View is a Module Builder surface that opens over the canvas when a Creator selects a Smart Component. It displays the component's preview, logic, tests, and revision history in context, without leaving the module. It is available when UnqorkAI is enabled and the Creator has Smart Component view permission.

The header is color-coded by state: teal for Public, slate for Private. A breadcrumb trail displays where the definition lives, then the component name. For a Private component, the trail begins with the module; select it to return to the Module Builder canvas. For a Public component, the trail begins with the Smart Components Hub; when the Creator can open the Hub, select it to open the Hub. Select × or press Esc to close.

Opening Focused Component View

The following entry points are available from Module Builder:

  • Select the component name link in the canvas node header.
  • Select the component name link in the Properties panel header.
  • Select the EllipsisVertical (ellipsis) on a canvas node and select View.

For Public components, the canvas node EllipsisVertical (ellipsis) menu also offers Edit Base, which opens the component in the Smart Components Hub in a new tab.

Public vs. Private Behavior

The Focused Component View behaves differently depending on whether the component is Public or Private.

  • Public: The component is read-only. A banner explains that Public Smart Components cannot be edited inside a module and points to Duplicate and Edit Definition. Select Don't show again in the banner to hide it permanently in this browser. Write actions are unavailable in the Tests and History areas.
  • Private: The view uses the same surfaces as the Smart Component Editor, and its Definition views are read-only. To change the definition, ask the Build Agent in this module. Private components have no drafts. Changes the Build Agent makes save directly into the module, so Review Changes and Discard Draft do not display.

Actions

Action Description
icon Duplicate Opens a confirmation, then creates a Private copy that only this module uses, saves the module, and updates the instance to reference the copy. The confirmation notes when the module has unsaved changes, because the save includes them. The Focused Component View reopens on the new Private component. If the copy is created but the module save fails, a message asks the Creator to save the module to finish. Available for Public components when the module is open for editing and the Creator has permission to create Private Smart Components. Disabled while the Creator holds an open draft of the Public component.
icon Edit Definition Opens the component in the Smart Components Hub in a new tab. Available for Public components only. Equivalent to Edit Base in the canvas node EllipsisVertical (ellipsis) menu. The two read View Definition and View Base for Creators whose role grants view but not edit permission on Smart Components.
Make Public Opens the Make Public dialog, where the Creator names a new Public component and chooses which instances in the module switch to it. Available for Private components when the Creator has publish permission and the module is open for editing. A published version of a module cannot be edited. See Making Smart Components Public.

Changelog

Date Change
2026-11-09 Noted that Export is available for Public components only.
2026-11-12 Stated that the Definition views are read-only and that definitions change through the Build Agent; removed wording that implied manual editing of a definition.
2026-11-05 Noted that the Make Public toolbar deletes the Private component by default only with the Delete grant, and that the Hub crumb is a link only when the Creator can open the Hub.
2026-11-03 Linked Make Public and Delete Component to their new task articles; Delete Component is blocked by open application drafts; corrected the Focused Component View breadcrumb, which begins with the module or the Hub and has no instance crumb; noted that Don't show again applies to this browser and the message for a Duplicate whose module save fails.
2026-10-27 Updated for 9.2: Make Public opens a dialog that creates a new Public component; added the Publish action; Duplicate in the editor starts a Creator-only draft; Promote is Public only and Private components cannot be deleted from the editor; in the Focused Component View, Private components have no drafts, Duplicate makes a module-owned copy after a confirmation, the Public banner points to Duplicate and Edit Definition, and Edit Component is renamed Edit Definition.
2026-10-26 Split the Logic and Query Editor Layout tables — Query has no Tests area and its Data & Chains panel lists Chains, Parameters, Form Collections, and Result; added that Tests is not available for Query Smart Components; clarified that Drafts apply to Public Smart Components only.
2026-10-20 Corrected the History area: revisions are grouped by date, the Restore confirmation is described, Restore is unavailable on the current revision, and ticket numbers were removed from the changelog.
2026-10-19 Added a History Area section covering the revision list, the 50-revision limit, the date range filter, the author search, and the Restore button; corrected the About description to match the Details panel labels; applied editorial and style guide fixes.
2026-10-15 Clarified that Change Theme is a session-only preview.
2026-09-16 Noted that Edit Component and Edit Base read View Component and View Base without the Smart Component edit permission.
2026-09-08 Added Focused Component View section — Module Builder overlay for viewing and editing Smart Components in context; covers entry points, Public/Private behavior, and actions.
2026-09-08 History area description: "versions" → "revisions".
2026-09-04 Renamed Make Discoverable to Make Public; fixed anchor link to #public-and-private; added Add to Agent Context / Remove from Agent Context to Component Actions table.
2026-09-03 Rewrote Editor Layout, Editing Toolbar, and Properties Panel sections: corrected area/view structure; renamed Properties panel → Details panel with accurate About/Mock Configuration/Used In sections; corrected editing toolbar controls; removed Open in Editor (nonexistent label); 13 editorial fixes.
2026-08-31 Updated Make Discoverable description with link to Discoverability concepts.
2026-08-28 Removed the Make Private toolbar action. Discoverability is now one-way: a discoverable component cannot be made private again.
2026-09-16 Clarified Accessibility Check description — replaced "audit" with "automated scan" and added caveat that manual testing is needed for full compliance.
2026-08-27 Renamed the discoverability action from Make Not Discoverable to Make Private, matching the Discoverable and Private nomenclature in the platform.
2026-08-25 Updated Saving and Edit Mode — the toolbar's Publish Changes is now Review Changes, opening a single-draft review with Publish Changes and Discard Changes; documented the refusal reasons and the orphaned-settings report.
2026-08-25 Updated Saving and Edit Mode — removed the Smart Component Changes entry point from the module toolbar; drafts are published or discarded from the SC Editor toolbar or the Smart Components Hub row menu.
2026-08-25 Added inline icons to Component Actions table. Added Editor Areas section documenting Definition, Tests, and History areas. Added Area tabs row to Editor Layout table. Updated Views by Component Type: corrected view names to UI and Logic; removed Config View and Query Pipeline (outdated); removed Tests from Definition views (Tests is now an area). Updated Component Actions: removed Where It's Used and Change History (deleted); added Make Discoverable/Make Not Discoverable as a dedicated toolbar button; added Location column to clarify toolbar vs ellipsis menu. Updated Saving and Edit Mode to reference the History area instead of Change History in the ellipsis menu. Removed Tests as a standalone section (absorbed into Editor Areas). Removed HR dividers between sections.
2026-08-24 Updated Saving and Edit Mode — the displaced holder now gets a notification and the toolbar's draft menu rather than an in-editor displacement banner.
2026-08-24 Updated Query Smart Components view name — Query Pipeline replaced by Logic View.
2026-08-14 Updated Saving and Edit Mode — "Apply Edit" renamed to "Publish Changes"; Smart Component Changes dialog in module toolbar documents Publish/Discard/Take Over.
2026-08-13 Added Saving and Edit Mode section — two-step Save/Apply model, displacement behavior, Change History as rollback .
2026-08-13 Rewrote Component Actions table to match actual ellipsis menu: added Where It's Used, Change History, Duplicate Component, Promote, Export…; corrected labels; removed incorrect Share, Copy ID, and Permissions entries.
2026-08-10 Initial publication. Documents the rebuilt Smart Component Editor: BuilderViewShell-based layout, view sets by component type, editing toolbar, Properties panel, and component actions.