fix: simplify custom widget package workbench
This commit is contained in:
1 parent
9a52a035aa
commit
48042a08ff
37 files changed
+1155
-608
No files matched your search
@@ -1196,7 +1196,7 @@
|
||||
"library": "Packages",
|
||||
"libraryDescription": "Build dashboard widgets with full TSX, CSS, modules, and optional server code. Import a package to inspect its source and connect your local services before activating it.",
|
||||
"search": "Search packages",
|
||||
"empty": "No matching packages. Create a source-free widget or import a package to get started.",
|
||||
"empty": "No widget packages yet.",
|
||||
"openWorkspace": "Open workspace",
|
||||
"draftOnly": "Draft only",
|
||||
"active": "Active",
|
||||
@@ -1204,11 +1204,12 @@
|
||||
"import": "Import package",
|
||||
"importTooLarge": "Package exceeds the 25 MB import limit.",
|
||||
"invalidPackage": "Choose a widget package or archive JSON file.",
|
||||
"name": "Installation name",
|
||||
"name": "Widget name",
|
||||
"unsaved": "Unsaved changes",
|
||||
"saved": "Saved draft",
|
||||
"notSaved": "Not saved yet",
|
||||
"saveDraft": "Save draft",
|
||||
"draftSaved": "Draft saved. Dashboard placements still use the active release.",
|
||||
"draftSaved": "Draft saved. Use on dashboard lets you activate this version and add it to a board. Existing tiles keep using their active version until then.",
|
||||
"recovery": "A recovery draft is available for this package. Local connection credentials are stored separately; recognized credential literals are removed from recovery source.",
|
||||
"restore": "Restore draft",
|
||||
"discard": "Discard recovery",
|
||||
@@ -1218,9 +1219,9 @@
|
||||
"historyDescription": "Undo/Redo covers the whole document, up to 100 changes and 2 MB. One browser recovery draft, up to 1 MB.",
|
||||
"code": "Source files",
|
||||
"connections": "Connections",
|
||||
"installation": "Activation & boards",
|
||||
"starter": "Reference starter",
|
||||
"chooseStarter": "Choose a reference package",
|
||||
"installation": "Use on dashboard",
|
||||
"starter": "Start from an example",
|
||||
"chooseStarter": "Choose a widget to customize",
|
||||
"clock": "World clock · no API required",
|
||||
"filePath": "Relative file path",
|
||||
"addFile": "Add",
|
||||
@@ -1231,13 +1232,13 @@
|
||||
"renameImports": "File renamed. Update imports and manifest entrypoints that refer to its previous path.",
|
||||
"draftInvalid": "This draft can be saved. Resolve these package errors before preview or activation.",
|
||||
"reviewTrust": "Review code & dependencies",
|
||||
"trustedCode": "This package runs trusted JavaScript in Homarr and may run Node code with Homarr's server privileges. Review every source file and dependency before running it. Preview also executes package code.",
|
||||
"trustedCode": "Trusted browser code has access to your Homarr session and browser APIs. Server code runs with Homarr's operating-system authority, including available credentials, networks and mounted files. The separate process is not a security sandbox. Only run code and dependencies you trust; preview executes them too.",
|
||||
"dependencies": "Additional dependencies",
|
||||
"hostOnly": "Shared Homarr modules only",
|
||||
"trustAcknowledgement": "I trust this source and its dependencies to run on my Homarr instance.",
|
||||
"preview": "Run preview",
|
||||
"exportDraft": "Export source draft",
|
||||
"saveFirst": "Save this draft first to enable preview, save local bindings, and activate it.",
|
||||
"saveFirst": "Save your draft, then activate it to make it available on dashboards.",
|
||||
"surface": "Preview surface",
|
||||
"tile": "Dashboard tile",
|
||||
"advanced": "Advanced view",
|
||||
@@ -1295,12 +1296,12 @@
|
||||
},
|
||||
"previewLiveSession": "Session: live SDK actions",
|
||||
"previewSimulatedSession": "Session: simulated SDK actions",
|
||||
"connectionsDescription": "Bind the package's named connections to services on this Homarr instance. Saving bindings updates every placement that inherits them; placements can override a connection in board settings.",
|
||||
"connectionsDescription": "Choose existing Homarr integrations or create local API connections. No trust acknowledgement is needed to configure them. Save connections to apply them to tiles that inherit this setup.",
|
||||
"noConnections": "This package needs no API or service connection.",
|
||||
"diagnose": "Diagnose",
|
||||
"newConnection": "Create local connection",
|
||||
"saveBindings": "Save installation bindings",
|
||||
"bindingsSaved": "Installation bindings saved.",
|
||||
"saveBindings": "Save connections",
|
||||
"bindingsSaved": "Connections saved for tiles that inherit this setup.",
|
||||
"connectionKind": "Connection type",
|
||||
"integration": "Homarr integration",
|
||||
"serverUrl": "Server URL",
|
||||
@@ -1316,13 +1317,13 @@
|
||||
"stringMap": "Enter a JSON object whose values are strings.",
|
||||
"previewOptions": "Preview options",
|
||||
"resetOptions": "Reset preview options to package defaults",
|
||||
"activation": "Activation",
|
||||
"activation": "Make this version available on dashboards",
|
||||
"activationDescription": "Activate the saved draft for all {count} dashboard placements of this installation. Existing placements keep their option values. A failed activation keeps the current release running.",
|
||||
"activeArtifact": "Active artifact",
|
||||
"none": "None",
|
||||
"saveBeforeActivate": "Save your changes before activating. Activation always uses the saved draft.",
|
||||
"activate": "Activate saved draft",
|
||||
"activated": "Saved package activated.",
|
||||
"activate": "Activate for dashboards",
|
||||
"activated": "This version is ready for dashboards. Add it to a board below, or open an existing placement.",
|
||||
"disable": "Disable installation",
|
||||
"enable": "Enable installation",
|
||||
"stateSaved": "Installation state saved.",
|
||||
@@ -1410,7 +1411,7 @@
|
||||
"connectionName": "Connection name",
|
||||
"assistant": {
|
||||
"open": "Ask Assistant",
|
||||
"context": "Uses this draft and public SDK context",
|
||||
"context": "Assistant can read this open draft and propose edits for you to review. You can undo an applied proposal in one step.",
|
||||
"request": "What would you like to build?",
|
||||
"requestPlaceholder": "Describe a widget, a design change, or a capability…",
|
||||
"send": "Propose changes",
|
||||
@@ -1431,7 +1432,14 @@
|
||||
"preparing": "Preparing proposed changes…",
|
||||
"invalidProposal": "This proposal is incomplete or invalid.",
|
||||
"reading": "Reading the open package draft…",
|
||||
"read": "Read the open package draft"
|
||||
"read": "Read the open package draft",
|
||||
"unavailable": "Assistant is not configured or is unavailable for your account.",
|
||||
"setup": "Open Assistant setup",
|
||||
"manual": "You can still choose an example, edit its files and preview it without Assistant.",
|
||||
"busy": "Assistant is already responding. Wait for it to finish before sending another request.",
|
||||
"sendFailed": "The request could not be sent. Check the Assistant panel and try again.",
|
||||
"create": "Build a widget with me",
|
||||
"createPrompt": "Help me create a widget package. Ask what app or idea I want to build, then propose an approachable first version using the available SDK. Explain any connection setup. Do not assume I want to keep the current example."
|
||||
},
|
||||
"sessionUnavailable": "Preview session unavailable",
|
||||
"sessionUnavailableDescription": "The session expired, was discarded, or belongs to another account. Sign in as the API key owner and create a fresh CLI preview.",
|
||||
@@ -1545,7 +1553,50 @@
|
||||
"previewThemeDark": "Dark",
|
||||
"previewScale": "Display scale",
|
||||
"savedSourceChanged": "The saved source changed. Reload and review it before activating.",
|
||||
"previewPane": "Preview"
|
||||
"previewPane": "Preview",
|
||||
"starterDescription": "Pick a working example, then edit its files or ask Assistant for changes. Switching examples replaces this draft; Undo restores it.",
|
||||
"gettingStarted": "Your widget, your way",
|
||||
"gettingStartedDescription": "Packages support full React, TypeScript, CSS and optional Node code. Custom JSX is the simpler template editor. Neither needs an API for a static widget.",
|
||||
"manualSteps": "Choose an example → connect services if needed → edit files and options → preview → use on dashboard. Assistant is optional.",
|
||||
"manageFiles": "Add, rename or remove files",
|
||||
"optionsDescription": "Adjust the preview without editing code. These values also start the setup for your next dashboard tile. Existing tiles keep their own settings.",
|
||||
"noOptions": "This example has no configurable options. Edit its files to customize it.",
|
||||
"useDescription": "Save a draft to keep your work. Activate it when you want boards to use that code, then add it to a board below. One package can appear on several boards.",
|
||||
"previewSavesFirst": "Your first preview also saves a draft. It does not add or change dashboard tiles.",
|
||||
"workshopTab": "Workshop",
|
||||
"workshopDescription": "Share your finished widget, publish a new release, or review upstream updates. Local connections and credentials stay on your Homarr instance.",
|
||||
"releaseTools": "Release details, disable and rollback",
|
||||
"chooseConnection": "Choose a connection or Homarr integration",
|
||||
"noCompatibleConnections": "No compatible connections yet. Create one below, then refresh this list.",
|
||||
"unavailableConnection": "Connection unavailable — choose a replacement",
|
||||
"createIntegration": "Create Homarr integration ↗",
|
||||
"connectionsUnsaved": "Connection changes are not saved yet. Save connections before using them on dashboards.",
|
||||
"customViewport": "Custom viewport and scale",
|
||||
"customViewportDescription": "Use the grid controls in the preview for normal board sizes. Pixel dimensions below override the grid for this preview only.",
|
||||
"browserExecution": "React and CSS run in your browser, inside Homarr, with its theme and UI context.",
|
||||
"serverExecution": "This package has a server entrypoint. Homarr starts a supervised Node process on demand when a handler is called and shares it between users of that artifact. Idle processes are released.",
|
||||
"browserOnlyExecution": "This package has no server entrypoint, so it needs no separate Node process. Static widgets do not need a connection.",
|
||||
"runtimeLogs": "Build and preview errors appear here. Server output is included in Homarr logs under custom-widget-package. The active release process can be inspected below.",
|
||||
"buildState": "Preview build: {state}",
|
||||
"actionsMenu": "Widget package actions",
|
||||
"forkDefaultName": "{name} fork",
|
||||
"previewBuilding": "Building preview…",
|
||||
"previewBuildReady": "Preview build ready",
|
||||
"previewBuildFailed": "Preview build failed",
|
||||
"previewNotBuilt": "Preview not built yet",
|
||||
"runtime": {
|
||||
"title": "Active release process",
|
||||
"description": "This is a snapshot from the Homarr replica serving this request. It does not start code or inspect a separate preview process. Refresh after opening a tile to see its current state.",
|
||||
"unactivated": "No active release",
|
||||
"browserOnly": "Browser only · no Node process",
|
||||
"idle": "No process on this replica",
|
||||
"running": "Running",
|
||||
"stopped": "Stopped",
|
||||
"failed": "Startup failed",
|
||||
"refresh": "Refresh status",
|
||||
"process": "PID {pid} · {active} active requests · {queued} queued",
|
||||
"logs": "Open Homarr logs ↗"
|
||||
}
|
||||
}
|
||||
},
|
||||
"workshop": {
|
||||
|
||||
Reference in new issue
Block a user