@powerhousedao/workflow 6.2.3-dev.31 → 6.2.3-dev.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -13
- package/dist/browser/{BlockSelector-BHJQOhie.js → BlockSelector-BQDqIbRZ.js} +4 -2
- package/dist/browser/BlockSelector-BQDqIbRZ.js.map +1 -0
- package/dist/browser/assets/{entry-DhaRsTID.js → entry-D62sYiFV.js} +2 -2
- package/dist/browser/assets/{projection-entry-qrF_MLsE.js → projection-entry-BGcu_9-p.js} +54 -6
- package/dist/browser/{connection-form-CaduwBiu.js → connection-form-Br-IM_CW.js} +2 -2
- package/dist/browser/{connection-form-CaduwBiu.js.map → connection-form-Br-IM_CW.js.map} +1 -1
- package/dist/browser/{data-tree-8219PVfh.js → data-tree-CZZkfzSH.js} +2 -2
- package/dist/browser/{data-tree-8219PVfh.js.map → data-tree-CZZkfzSH.js.map} +1 -1
- package/dist/browser/{editor-CFcXlZY2.js → editor-CtErqBMO.js} +3 -3
- package/dist/browser/{editor-CFcXlZY2.js.map → editor-CtErqBMO.js.map} +1 -1
- package/dist/browser/{editor-C0C1eB0R.js → editor-DjSMG-EP.js} +3 -3
- package/dist/browser/{editor-C0C1eB0R.js.map → editor-DjSMG-EP.js.map} +1 -1
- package/dist/browser/{editor-BHV1MZS8.js → editor-p9gVC4FY.js} +4 -4
- package/dist/browser/{editor-BHV1MZS8.js.map → editor-p9gVC4FY.js.map} +1 -1
- package/dist/browser/editors/connection-editor/module.js +1 -1
- package/dist/browser/editors/workflow-editor/module.js +1 -1
- package/dist/browser/editors/workflow-studio/module.js +1 -1
- package/dist/browser/{trigger-text-BkcklsMX.js → trigger-text-D-Sh6ZaI.js} +3 -3
- package/dist/browser/{trigger-text-BkcklsMX.js.map → trigger-text-D-Sh6ZaI.js.map} +1 -1
- package/dist/node/{BlockSelector-lOcIiaqt.mjs → BlockSelector-C3XYZfPY.mjs} +4 -2
- package/dist/node/BlockSelector-C3XYZfPY.mjs.map +1 -0
- package/dist/node/{connection-form-DWt29kft.mjs → connection-form-Dzn4yM2g.mjs} +2 -2
- package/dist/node/{connection-form-DWt29kft.mjs.map → connection-form-Dzn4yM2g.mjs.map} +1 -1
- package/dist/node/{data-tree-Cdx85Y19.mjs → data-tree-CGfeCLr7.mjs} +2 -2
- package/dist/node/{data-tree-Cdx85Y19.mjs.map → data-tree-CGfeCLr7.mjs.map} +1 -1
- package/dist/node/{editor-D_t8OtZn.mjs → editor-CcbIharn.mjs} +3 -3
- package/dist/node/{editor-D_t8OtZn.mjs.map → editor-CcbIharn.mjs.map} +1 -1
- package/dist/node/{editor-CR823u-y.mjs → editor-Cv2Vn_A-.mjs} +3 -3
- package/dist/node/{editor-CR823u-y.mjs.map → editor-Cv2Vn_A-.mjs.map} +1 -1
- package/dist/node/{editor-CwX-G2Jv.mjs → editor-DWzOzXQC.mjs} +4 -4
- package/dist/node/{editor-CwX-G2Jv.mjs.map → editor-DWzOzXQC.mjs.map} +1 -1
- package/dist/node/editors/connection-editor/module.mjs +1 -1
- package/dist/node/editors/workflow-editor/module.mjs +1 -1
- package/dist/node/editors/workflow-studio/module.mjs +1 -1
- package/dist/node/pieces/reactor/descriptor.json +1 -1
- package/dist/node/pieces/reactor/package.json +1 -1
- package/dist/node/{trigger-text-DJIAQBWg.mjs → trigger-text-CZEtYmPw.mjs} +3 -3
- package/dist/node/{trigger-text-DJIAQBWg.mjs.map → trigger-text-CZEtYmPw.mjs.map} +1 -1
- package/dist/powerhouse.manifest.json +1 -1
- package/dist/types/scripts/ui-stack.d.ts +62 -1
- package/dist/types/scripts/ui-stack.d.ts.map +1 -1
- package/dist/types/test/ui/fixtures.d.ts +6 -2
- package/dist/types/test/ui/fixtures.d.ts.map +1 -1
- package/dist/types/test/ui/global-setup.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/browser/BlockSelector-BHJQOhie.js.map +0 -1
- package/dist/node/BlockSelector-lOcIiaqt.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -78,22 +78,26 @@ pnpm --filter @powerhousedao/workflow ui:shots --list
|
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
It starts whichever of switchboard (`:4001`, in-memory, workflows on) and
|
|
81
|
-
Connect
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
Connect
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
81
|
+
Connect (`:3100`) is not already running, and stops the ones it started. Each
|
|
82
|
+
run creates a new remote drive, seeds workflows and a connection through
|
|
83
|
+
Connect's reactor, and fires two manual workflows (one succeeds, one fails) so
|
|
84
|
+
the runs views have data. Flags: `--width`, `--height`, `--out`;
|
|
85
|
+
`UI_SHOTS_VERBOSE=1` prints the server logs.
|
|
86
|
+
|
|
87
|
+
Connect runs from its production build in `test/test-consumer-project`
|
|
88
|
+
(`ph connect build --workflows true`), served by `ph connect preview`. The
|
|
89
|
+
build bundles this package's `dist`, so rebuild the package after an edit; the
|
|
90
|
+
stack rebuilds Connect when that `dist` is newer than the build.
|
|
91
|
+
`UI_CONNECT_DEV=1` runs Connect's Vite dev server instead, which serves the
|
|
92
|
+
editors from source and recompiles `style.css` into `dist/style.css` before
|
|
93
|
+
each run: use it while writing tests. The switchboard runs from
|
|
94
|
+
`apps/switchboard/dist`, so a change to the runtime side needs a rebuild of
|
|
95
|
+
that package first. Scenes live in `SCENES` in `scripts/ui-shots.ts`.
|
|
92
96
|
|
|
93
97
|
### UI tests
|
|
94
98
|
|
|
95
|
-
`test:ui` runs the Playwright specs in `test/ui/` against the same stack
|
|
96
|
-
fresh seeded drive
|
|
99
|
+
`test:ui` runs the Playwright specs in `test/ui/` against the same stack. Each
|
|
100
|
+
worker boots Connect once; each test gets a fresh seeded drive, alone in it:
|
|
97
101
|
|
|
98
102
|
```sh
|
|
99
103
|
pnpm --filter @powerhousedao/workflow test:ui
|
|
@@ -745,7 +745,8 @@ function useQuery(options, queryClient) {
|
|
|
745
745
|
function useInfiniteQuery(options, queryClient) {
|
|
746
746
|
return useBaseQuery(options, InfiniteQueryObserver, queryClient);
|
|
747
747
|
}
|
|
748
|
-
|
|
748
|
+
//#endregion
|
|
749
|
+
//#region ../reactor/dist/forwarding-logger-BkwlvD9W.js
|
|
749
750
|
const DRIVE_COLLECTION_PREFIX = "drive.";
|
|
750
751
|
/**
|
|
751
752
|
* Identifies the collection a remote synchronizes. Collections are drive-level
|
|
@@ -790,6 +791,7 @@ var DriveCollectionId = class DriveCollectionId {
|
|
|
790
791
|
return this.driveId === other.driveId && this.branch === other.branch;
|
|
791
792
|
}
|
|
792
793
|
};
|
|
794
|
+
new Set([...DOCUMENT_SCOPE_ACTION_TYPES].filter((type) => type !== "CREATE_DOCUMENT"));
|
|
793
795
|
//#endregion
|
|
794
796
|
//#region editors/shared/DocumentErrorBoundary.tsx
|
|
795
797
|
/** Best-effort message for anything thrown, without stringifying an object. */
|
|
@@ -3048,4 +3050,4 @@ function BlockSelector(props) {
|
|
|
3048
3050
|
//#endregion
|
|
3049
3051
|
export { formatDuration as $, isEmptyValue as A, Tooltip as At, blockMeta as B, useOptionSearch as C, Hint as Ct, useTestTrigger as D, Switch as Dt, useTestStepRunner as E, Select as Et, storedSchema as F, isIconName as Ft, CONNECTION_TONE as G, pieceLogo as H, stripOptions as I, DocumentErrorBoundary as It, STEP_TONE as J, RUN_STATUSES as K, undeclaredPortIssues as L, DocumentLoadError as Lt, parsePropList as M, textAreaClass as Mt, resolverInputFor as N, textInputClass as Nt, useWebhookEndpoint as O, Tabs as Ot, settingFor as P, Icon as Pt, formatAbsolute as Q, withSetting as R, errorMessage as Rt, useLatestRun as S, FieldLabel as St, useRunById as T, Segmented as Tt, useBlockMeta as U, pieceDisplayName as V, usePieceLogos as W, TONE_TEXT as X, TONE_DOT as Y, durationMs as Z, useConnectionList as _, useRuntime as _t, resolutionText as a, runTimeline as at, useDynamicLookup as b, Button as bt, useResolution as c, toneOf as ct, useBlockForm as d, useOAuthAttempt as dt, formatMs as et, useBlockFormLoader as f, useOAuthRedirectUri as ft, useCachedBlockForm as g, useRunsQuery as gt, useBlockResolutions as h, useRunQuery as ht, VersionSummary as i, runStatusLabel as it, isPropVisible as j, invalidClass as jt, blockMissing as k, Toggle as kt, versionBadge as l, workflowHealth as lt, useBlockPorts as m, useRunPagesQuery as mt, BlockSelector as n, formatWhen as nt, runsDifferentVersion as o, runTone as ot, useBlockForms as p, usePieceCatalog as pt, RUN_TONE as q, BlockResolutionsProvider as r, runStats as rt, updateVersion as s, statusLabel as st, BlockLogo as t, formatTrigger as tt, DesignTimeProvider as u, WorkflowRuntimeProvider as ut, useDesignTime as v, useRuntimeActions as vt, useResolvedProp as w, IconButton as wt, useDynamicPrefetch as x, FieldError as xt, useDynamicCache as y, useSecretStat as yt, workflowReadiness as z };
|
|
3050
3052
|
|
|
3051
|
-
//# sourceMappingURL=BlockSelector-
|
|
3053
|
+
//# sourceMappingURL=BlockSelector-BQDqIbRZ.js.map
|