feat: add custom widget flow workbench
This commit is contained in:
1 parent
c32a5317ca
commit
a6bdbbb4ea
259 files changed
+23875
-1293
No files matched your search
@@ -798,7 +798,7 @@
|
||||
},
|
||||
"create": {
|
||||
"title": "Create Custom Widget",
|
||||
"subtitle": "Define an API URL, authentication, and how to display the response data."
|
||||
"subtitle": "Build a widget with JSX, local services, Homarr integrations, or no external data."
|
||||
},
|
||||
"tabs": {
|
||||
"ariaLabel": "Custom widget sections",
|
||||
@@ -1168,6 +1168,363 @@
|
||||
"username": "Username",
|
||||
"password": "Password",
|
||||
"savedPlaceholder": "••••••• (saved, leave empty to keep)"
|
||||
},
|
||||
"flow": {
|
||||
"input": "Input",
|
||||
"output": "Output",
|
||||
"arrange": "Arrange",
|
||||
"fit": "Fit all",
|
||||
"focus": "Focus selection",
|
||||
"connect": "Connect nodes",
|
||||
"zoomIn": "Zoom in",
|
||||
"zoomOut": "Zoom out",
|
||||
"codeOwned": "Edit this relationship in the inspector or JSX. Connect a source to a request, or an action to a query to refresh it.",
|
||||
"missing": "This node no longer exists.",
|
||||
"layoutFailed": "Could not arrange this graph. Your positions were preserved.",
|
||||
"undo": "Undo",
|
||||
"redo": "Redo",
|
||||
"reset": "Reset to saved",
|
||||
"resetDescription": "Replace the current draft with the last saved definition? Credentials stay unchanged.",
|
||||
"form": "Form view",
|
||||
"canvas": "Flow view",
|
||||
"workshop": "Workshop",
|
||||
"library": "Node library",
|
||||
"search": "Search nodes or endpoints",
|
||||
"add": "Add a node",
|
||||
"outline": "Outline",
|
||||
"general": "General settings",
|
||||
"preview": "Widget preview",
|
||||
"dockPreview": "Change preview position",
|
||||
"inspector": "Inspector",
|
||||
"assistant": "Assistant",
|
||||
"manifest": "JSON",
|
||||
"duplicate": "Duplicate",
|
||||
"kind": {
|
||||
"source": "Source",
|
||||
"query": "Query",
|
||||
"action": "Action",
|
||||
"options": "Options",
|
||||
"widget": "Widget",
|
||||
"group": "Group",
|
||||
"native": "Native capability",
|
||||
"fragment": "View fragment",
|
||||
"preference": "Preference",
|
||||
"content": "Shared content"
|
||||
},
|
||||
"askAssistant": "Describe the change",
|
||||
"sendAssistant": "Edit with Assistant",
|
||||
"assistantUnavailable": "Configure the Homarr Assistant to edit this draft conversationally.",
|
||||
"stalePreview": "Draft changed. Showing the last query data; test again to validate this revision.",
|
||||
"remix": "Remix in workbench",
|
||||
"browse": "Browse Workshop",
|
||||
"publish": "Publish saved widget",
|
||||
"viewSubmission": "View linked submission",
|
||||
"saveBeforeUpdate": "Save or reset your draft before publishing or installing an update.",
|
||||
"unlinked": "This widget is not linked to a Workshop submission. Publish it to start sharing.",
|
||||
"checkUpdates": "Check for updates",
|
||||
"revision": "Installed revision {installed} · Latest revision {latest}",
|
||||
"localChanges": "You have customized this widget. Keep your version or install the update as a separate copy.",
|
||||
"sourceChanges": "Sources or authentication requirements changed. Install a separate copy to configure them.",
|
||||
"diff": {
|
||||
"sources": "Sources and authentication",
|
||||
"requests": "Queries, actions and permissions",
|
||||
"options": "Configuration options",
|
||||
"template": "JSX template",
|
||||
"authentication": "Authentication requirements",
|
||||
"queries": "Queries",
|
||||
"actions": "Actions and confirmations",
|
||||
"permissions": "Request permissions",
|
||||
"native": "Native capabilities",
|
||||
"stylesheet": "Scoped stylesheet",
|
||||
"fragments": "Reusable views",
|
||||
"preferences": "Saved preferences",
|
||||
"content": "Shared content and write permissions"
|
||||
},
|
||||
"installed": "Installed",
|
||||
"upstream": "Workshop",
|
||||
"installUpdate": "Install reviewed update",
|
||||
"updateConfirmation": "Replace the saved definition with this revision? Local service URLs and credentials are preserved.",
|
||||
"installCopy": "Install as a separate copy",
|
||||
"rollback": "Restore previous package",
|
||||
"rollbackConfirmation": "Restore the package saved before the last update? This replaces the current saved definition.",
|
||||
"recovery": "Keep a recovery draft on this browser",
|
||||
"recoverTitle": "A recovery draft is available",
|
||||
"recover": "Restore draft",
|
||||
"discardRecovery": "Discard draft",
|
||||
"publishNew": "Publish new",
|
||||
"publishUpdate": "Update my linked submission",
|
||||
"publishRemix": "Publish a remix with attribution",
|
||||
"linkFailed": "Publication succeeded, but the local widget could not be linked. You can manage the published submission in Workshop.",
|
||||
"relationship": {
|
||||
"source": "Service source",
|
||||
"data": "Query data",
|
||||
"invoke": "User invocation",
|
||||
"invalidates": "Refresh after action",
|
||||
"option": "Configuration binding",
|
||||
"composition": "View composition",
|
||||
"preference": "Persisted preference",
|
||||
"content": "Shared content"
|
||||
},
|
||||
"start": "Start building",
|
||||
"describe": "Describe what to build",
|
||||
"withoutData": "Start without data",
|
||||
"connectHttp": "Connect an HTTP service",
|
||||
"startOver": "Replace current draft?",
|
||||
"startOverDescription": "Start with a new widget template. You can undo this change.",
|
||||
"group": "Group selection",
|
||||
"ungroup": "Ungroup",
|
||||
"arrangeSelection": "Arrange selection",
|
||||
"removeReferenced": "Remove referenced request?",
|
||||
"removeReferencedDescription": "The following objects reference this request: {references}. Removing it leaves those references as errors until you update them.",
|
||||
"selectNode": "Select {name}",
|
||||
"noNodes": "No matching nodes",
|
||||
"deleteSelection": "Delete selection",
|
||||
"deleteSelectionDescription": "Remove these objects from the draft: {names}",
|
||||
"resolveReferences": "Resolve references first",
|
||||
"resolveReferencesDescription": "These objects still use the selection. Open them to remove or change the reference before deleting. Nothing will be reconnected automatically.",
|
||||
"delete": "Delete",
|
||||
"cancel": "Cancel",
|
||||
"addNextStep": "Add next step",
|
||||
"nextStepFor": "Connect a new node to {name}.",
|
||||
"focusBranch": "Focus this branch",
|
||||
"allNodes": "Back to all nodes",
|
||||
"canvasControls": "Canvas controls",
|
||||
"nodeKeyboardHelp": "Press Enter or Space to select. Use arrow keys to move, F2 to edit, and Escape to clear selection.",
|
||||
"nodePointerHelp": "Select a node to open its inspector.",
|
||||
"nodeMoved": "Node moved to {x}, {y}.",
|
||||
"edgeKeyboardHelp": "Press Enter or Space to inspect this connection. Delete removes refresh links; edit other connections in the inspector. Press Escape to clear selection.",
|
||||
"connectFrom": "Connect from",
|
||||
"connectTo": "Connect to",
|
||||
"disconnect": "Remove refresh connection",
|
||||
"toggleLibrary": "Show or hide node library",
|
||||
"toggleInspector": "Show or hide inspector",
|
||||
"togglePreview": "Show or hide preview",
|
||||
"resizeLibrary": "Resize node library",
|
||||
"resizeInspector": "Resize inspector",
|
||||
"resizePreview": "Resize preview",
|
||||
"groupName": "Group name",
|
||||
"invalidGraphJson": "Fix the source, request, option or capability JSON before editing the graph. Your draft is preserved.",
|
||||
"invalidDeletion": "Resolve draft errors before deleting referenced objects. You can still edit them in the inspector.",
|
||||
"extensions": "Capabilities",
|
||||
"changelog": "What changed in this revision?",
|
||||
"publicationRevision": "Updating revision {revision}. The {count} existing screenshots will be retained.",
|
||||
"differentWorkshop": "This widget belongs to a different Workshop endpoint. Switch back to that endpoint to check for updates.",
|
||||
"chooseIntegration": "Choose an integration",
|
||||
"noIntegrations": "No accessible integrations found",
|
||||
"problems": "Problems ({count})",
|
||||
"noProblems": "Draft is valid",
|
||||
"extensionDescription": "Add Homarr capabilities, scoped CSS, reusable views and saved preferences. These features use the v3 widget format.",
|
||||
"invalidExtensions": "Fix the capabilities JSON before editing individual fields.",
|
||||
"stylesheet": "Scoped CSS",
|
||||
"native": "Native capabilities",
|
||||
"extensionsJson": "Advanced JSON",
|
||||
"extensionsJsonDescription": "Edit the complete v3 extensions document. Structured editors preserve invalid JSON until you repair it here. A blank value keeps the original v2 format.",
|
||||
"chooseCapability": "Homarr capability",
|
||||
"addCapability": "Add capability",
|
||||
"nativeConfirmationTitle": "Confirm service action",
|
||||
"nativeConfirmationMessage": "Run {capability} with the selected parameters?",
|
||||
"nativeIntegrationLabel": "Integration for {capability}",
|
||||
"nativeBindingHelp": "Use nativeId=\"{id}\" on NativeQuery or NativeActionButton in JSX. Configure input bindings in Advanced JSON.",
|
||||
"welcomeTemplate": "Hello, Homarr",
|
||||
"installIntegrations": "Connect existing Homarr integrations",
|
||||
"installIntegrationsHint": "These choices stay in this Homarr instance. You can leave them empty and configure each widget on its board later.",
|
||||
"configureIntegrationLater": "Configure later",
|
||||
"useIntegration": "Use a Homarr integration",
|
||||
"embedUrl": "App URL",
|
||||
"embeddedApp": "Embedded app",
|
||||
"configureEmbed": "Set the app URL in widget options.",
|
||||
"embedApp": "Embed an app",
|
||||
"serverFetchHint": "Homarr fetches this URL from its server or container. An embed or link instead opens in your browser.",
|
||||
"suggestNetworkScope": "Use suggested {scope} network access",
|
||||
"bindingInspectorHint": "Insert a data field at the JSX cursor. The inspector shows up to 100 fields and five levels.",
|
||||
"insertBinding": "Insert binding",
|
||||
"workbench": "Custom widget workbench",
|
||||
"inspectPreview": "Inspect JSX",
|
||||
"previewTheme": "Preview theme",
|
||||
"themeApp": "App",
|
||||
"themeLight": "Light",
|
||||
"themeDark": "Dark",
|
||||
"pinAssistant": "Pin assistant",
|
||||
"unpinAssistant": "Unpin assistant",
|
||||
"nativeNestedJson": "Complex nested value (JSON)",
|
||||
"nativeInvalidJson": "Enter valid JSON to apply this value.",
|
||||
"nativeLiteral": "Fixed value",
|
||||
"nativeOptionBinding": "Saved option",
|
||||
"nativeParamBinding": "Invocation parameter",
|
||||
"nativeUseDefault": "Use service default",
|
||||
"nativeInputValue": "{name} value",
|
||||
"nativeMissingOption": "Choose an existing saved option with a compatible value type.",
|
||||
"nativeParameterName": "Parameter name",
|
||||
"nativeParameterHelp": "The widget supplies this value when it invokes the capability. This requires a manual trigger.",
|
||||
"nativeInvalidId": "Start with a letter; use letters, numbers, hyphens, or underscores (up to 64 characters).",
|
||||
"nativeParameterType": "{name} type",
|
||||
"nativeTestTitle": "Test this capability",
|
||||
"nativeTestNeedsPreview": "Run Test and preview for the current draft before testing this capability.",
|
||||
"nativeTestLiveDisabled": "Disable live preview actions and create a new preview to simulate this action here.",
|
||||
"nativeTestSimulate": "Simulate action",
|
||||
"nativeTestQuery": "Run query",
|
||||
"nativeTestStaleResult": "This result belongs to an earlier draft, preview, or parameter value.",
|
||||
"nativeTestSimulated": "Action simulated. No service change was made.",
|
||||
"nativeTestStatus": "Response status: {status}",
|
||||
"nativeRenameInvalidDraft": "Resolve the draft errors before renaming so all JSX references can be updated safely.",
|
||||
"nativeId": "Capability ID",
|
||||
"nativeRename": "Rename",
|
||||
"nativeTrigger": "Trigger",
|
||||
"nativeManualRequired": "Invocation parameters require a manual trigger.",
|
||||
"nativeTriggerLoad": "When the widget loads",
|
||||
"nativeTriggerManual": "When the widget invokes it",
|
||||
"nativePermission": "Required board permission",
|
||||
"nativePermissionView": "View",
|
||||
"nativePermissionModify": "Modify",
|
||||
"nativePermissionFull": "Full access",
|
||||
"nativeConfirmation": "Action confirmation",
|
||||
"nativeConfirmationTitleLabel": "Title",
|
||||
"nativeConfirmationMessageLabel": "Message",
|
||||
"nativeConfirmationButton": "Confirm button label",
|
||||
"nativeConfirmationDestructive": "Destructive action",
|
||||
"nativeSchemaUnavailable": "The capability input schema is unavailable. Reconnect to Homarr or edit these inputs as JSON.",
|
||||
"nativeAdvancedInputs": "Advanced inputs",
|
||||
"extensionEditor": {
|
||||
"views": "Views",
|
||||
"preferences": "Preferences",
|
||||
"sharedContent": "Shared content",
|
||||
"fragmentHelp": "Reuse a named JSX view with the View component. Pass values through props; the view also receives widget data and theme bindings.",
|
||||
"preferenceHelp": "Save typed preferences in this browser, separately for each user and widget. A bound control uses persist=\"name\"; exports contain only these defaults.",
|
||||
"contentHelp": "Share editable values through the board. Bind a control with content=\"name\", then commit explicitly with ContentSaveButton. Preview saves stay in memory.",
|
||||
"invalidCollection": "This collection is not a JSON object. Repair Advanced JSON before using its structured editor.",
|
||||
"invalidEntry": "This entry has an unsupported shape. Repair it in Advanced JSON; its current value has been preserved.",
|
||||
"selectfragment": "View",
|
||||
"selectpreference": "Preference",
|
||||
"selectcontent": "Shared value",
|
||||
"newfragment": "New view name",
|
||||
"newpreference": "New preference name",
|
||||
"newcontent": "New shared value name",
|
||||
"createfragment": "Create view",
|
||||
"createpreference": "Create preference",
|
||||
"createcontent": "Create shared value",
|
||||
"deletefragment": "Delete view",
|
||||
"deletepreference": "Delete preference",
|
||||
"deletecontent": "Delete shared value",
|
||||
"invalidName": "Use a unique name starting with a letter, with letters, numbers, dashes, or underscores.",
|
||||
"entryLimit": "This collection supports up to {maximum} entries.",
|
||||
"newViewText": "Reusable view",
|
||||
"viewCode": "View JSX",
|
||||
"useInJsx": "Use in JSX",
|
||||
"copied": "Copied",
|
||||
"deleteBlocked": "Resolve references before deleting",
|
||||
"resolveJsxFirst": "Fix JSX errors so Homarr can check every reference before deleting this entry.",
|
||||
"referencedBy": "This entry is used by the following views. Update their JSX first.",
|
||||
"widgetJsx": "Widget JSX",
|
||||
"valueType": "Value type",
|
||||
"typeChangeHelp": "Changing the type resets its default value. Update any bound controls to match.",
|
||||
"defaultValue": "Default value",
|
||||
"text": "Text",
|
||||
"number": "Number",
|
||||
"toggle": "Toggle",
|
||||
"textList": "Text list",
|
||||
"numberList": "Number list",
|
||||
"listValue": "Default value {index}",
|
||||
"removeValue": "Remove default value {index}",
|
||||
"addValue": "Add a value",
|
||||
"writePermission": "Required board permission to save",
|
||||
"permissionModify": "Can modify the board",
|
||||
"permissionFull": "Full board access"
|
||||
},
|
||||
"nativeTestDataTruncated": "Showing the first 32,768 characters of this response.",
|
||||
"execution": {
|
||||
"idle": "Not run",
|
||||
"loading": "Running",
|
||||
"success": "Success",
|
||||
"error": "Error",
|
||||
"simulated": "Simulated",
|
||||
"stale": "Draft changed",
|
||||
"noJournal": "No requests have run in this preview session.",
|
||||
"noData": "No response is available for this request."
|
||||
},
|
||||
"requestJournal": "Request journal",
|
||||
"viewJournal": "View journal",
|
||||
"inspectRequest": "Inspect request {name}",
|
||||
"viewQueryData": "View query data",
|
||||
"latestResponse": "Latest response",
|
||||
"allQueryData": "All query data",
|
||||
"enterFullscreen": "Full screen",
|
||||
"exitFullscreen": "Exit full screen",
|
||||
"backToWidgets": "Custom widgets",
|
||||
"startDescription": {
|
||||
"describe": "Ask the assistant to build or change the current draft.",
|
||||
"integration": "Use services already connected to Homarr.",
|
||||
"http": "Connect a local or remote API and render its response.",
|
||||
"static": "Build with JSX and styles. No service is required.",
|
||||
"embed": "Display an app using its browser URL.",
|
||||
"workshop": "Find a shared widget to remix. Opens in a new tab."
|
||||
},
|
||||
"browseWorkshop": "Browse Workshop",
|
||||
"httpResponse": "Service response",
|
||||
"httpSetupHint": "Configure the source URL and query path, then choose Test and preview.",
|
||||
"libraryHint": "Add a block, then configure it in the inspector.",
|
||||
"moreBlocks": "Views and saved state",
|
||||
"clearSearch": "Clear search",
|
||||
"nodeCount": "{visible} of {total} nodes",
|
||||
"nodeHelp": {
|
||||
"source": "A service address and authentication for HTTP requests.",
|
||||
"query": "Read service data. A source is created if needed.",
|
||||
"action": "Change something in a service when a user clicks.",
|
||||
"options": "Expose settings when adding this widget to a board.",
|
||||
"native": "Use configured Homarr integrations without writing HTTP requests.",
|
||||
"fragment": "Reuse a named JSX view in this widget.",
|
||||
"preference": "Keep a user's choices across visits in this browser.",
|
||||
"content": "Save widget content shared with board viewers."
|
||||
},
|
||||
"startingPoints": "Starting points",
|
||||
"moreOptions": "More workbench options",
|
||||
"canvasOptions": "Canvas",
|
||||
"stylesAndCapabilities": "Styles and capabilities",
|
||||
"backToNode": "Back to node",
|
||||
"previewControls": "Preview controls",
|
||||
"previewDisplay": "Display",
|
||||
"previewActionsSimulated": "Actions simulated",
|
||||
"editJsx": "Edit JSX",
|
||||
"bindingTitle": "Connect to widget",
|
||||
"bindingDescription": "Choose how this connection changes the widget. Apply adds a binding while preserving existing JSX.",
|
||||
"bindingCatalogLoading": "Loading capability fields…",
|
||||
"bindingCatalogError": "Could not load capability fields.",
|
||||
"bindingRetry": "Retry",
|
||||
"bindingDisplay": "Show data as",
|
||||
"bindingJson": "JSON response",
|
||||
"bindingText": "Text",
|
||||
"bindingList": "List",
|
||||
"bindingTable": "Table",
|
||||
"bindingDataPath": "Response field",
|
||||
"bindingDataPathHint": "Leave empty for the whole response. Use dots for nested fields, such as systems.0.name. Suggestions come from the latest preview.",
|
||||
"bindingColumns": "Table columns",
|
||||
"bindingColumnsHint": "Comma-separated fields from each row, such as name, cpu, memory. Up to 8 columns and 50 rows.",
|
||||
"bindingButtonLabel": "Button label",
|
||||
"bindingParameterHint": "Map each invocation parameter. A new control adds an editable input beside the query or action.",
|
||||
"bindingParameterSource": "Value from",
|
||||
"bindingNewControl": "New widget input",
|
||||
"bindingExistingInput": "Existing widget input",
|
||||
"bindingValue": "Value or initial value",
|
||||
"bindingParameterType": "Value type",
|
||||
"bindingNumber": "Number",
|
||||
"bindingBoolean": "Boolean",
|
||||
"bindingOption": "Saved option",
|
||||
"bindingRequestLocation": "Use option in",
|
||||
"bindingQueryParameter": "Query parameter",
|
||||
"bindingBodyField": "JSON body field",
|
||||
"bindingPathParameter": "Existing path parameter",
|
||||
"bindingRequestField": "Field name",
|
||||
"bindingStale": "This draft changed while the connection was open. Close and connect again to review the latest version.",
|
||||
"bindingReview": "Review generated change",
|
||||
"bindingCancel": "Cancel",
|
||||
"bindingApply": "Apply connection",
|
||||
"bindingLoading": "Loading…",
|
||||
"bindingEmpty": "No data yet",
|
||||
"bindingRun": "Run action",
|
||||
"bindingError": "Unable to create this binding",
|
||||
"bindingConnectExisting": "Connect to {name}",
|
||||
"bindingRequired": "Choose how this connection should update the widget.",
|
||||
"bindingConfigureRequest": "Configure request binding",
|
||||
"bindingDisconnect": "Remove generated binding"
|
||||
}
|
||||
},
|
||||
"workshop": {
|
||||
@@ -1268,6 +1625,17 @@
|
||||
"publicationNote": "Publishing is immediate. You can manage the submission afterward on Workshop.",
|
||||
"definitionChanged": "The widget changed while publication was being prepared. Review its private source URLs again, then retry.",
|
||||
"error": "Publication failed"
|
||||
},
|
||||
"installCompletion": {
|
||||
"title": "Your widget is installed",
|
||||
"description": "Add it to a board, customize it in the workbench, or come back later.",
|
||||
"board": "Board",
|
||||
"chooseBoard": "Choose a board",
|
||||
"defaults": "Uses the installed defaults. You can change the widget options on the board.",
|
||||
"noBoards": "No editable boards are available. You can create a board and add this widget later.",
|
||||
"addToBoard": "Add to board",
|
||||
"openWorkbench": "Open workbench",
|
||||
"done": "Done"
|
||||
}
|
||||
},
|
||||
"integration": {
|
||||
@@ -5756,7 +6124,12 @@
|
||||
},
|
||||
"about": "About",
|
||||
"assistant": "Assistant"
|
||||
}
|
||||
},
|
||||
"label": "Management navigation",
|
||||
"collapse": "Collapse sidebar",
|
||||
"expand": "Expand sidebar",
|
||||
"openNavigation": "Open navigation",
|
||||
"closeNavigation": "Close navigation"
|
||||
},
|
||||
"page": {
|
||||
"home": {
|
||||
|
||||
Reference in new issue
Block a user