Skip to content

feat(flow): RunFlowOperation frontend settings component (flow-name input) - #2044

Merged
rubenvdlinde merged 4 commits into
developmentfrom
feat/flow-operator-ui
Aug 4, 2026
Merged

feat(flow): RunFlowOperation frontend settings component (flow-name input)#2044
rubenvdlinde merged 4 commits into
developmentfrom
feat/flow-operator-ui

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Follow-up to #2042 (merged). Registers a workflowengine operator UI so 'Run an OpenRegister flow' shows a flow-name text input in the Flow admin rule builder — previously the operation was selectable but its value could only be set via the workflows API.

  • js/openregister-flow-operator.js — hand-written render-function operator (no build step), mirroring core apps' *-flow.js; text input bound to the operation value (the flow name).
  • FlowEngineRegistrationListener loads it via Util::addScript on RegisterOperationsEvent.

Live-verified on 8080: the operation now renders 'Name of the OpenRegister flow to run' and the value binds. Completes the Phase-3b NC-Flow interop UI.

🤖 Generated with Claude Code

Register a workflowengine operator UI (js/openregister-flow-operator.js)
so 'Run an OpenRegister flow' shows a flow-name text input in the Flow
admin rule builder — previously the operation was selectable but its
value could only be set via the workflows API. Hand-written
render-function operator (no build step), mirroring core apps'
*-flow.js; loaded via Util::addScript inside the existing
FlowEngineRegistrationListener on RegisterOperationsEvent.
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ 1bb69ca

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 172/172
npm
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

Quality workflow — 2026-07-23 14:19 UTC

Download the full PDF report from the workflow artifacts.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ 6cffe16

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
composer ✅ 173/173
npm ✅ 713/713
PHPUnit
Newman ⏭️
Playwright

Quality workflow — 2026-08-04 11:54 UTC

Download the full PDF report from the workflow artifacts.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ ed6b322

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
composer ✅ 173/173
npm ✅ 713/713
PHPUnit
Newman ⏭️
Playwright

Quality workflow — 2026-08-04 12:11 UTC

Download the full PDF report from the workflow artifacts.

…listener

`\OCP\Util::addScript()` is the canonical Nextcloud asset API and is exposed
as a static method only — there is no injectable DI equivalent reachable from
an event listener, which is handed only the event. Wrapping the call in a seam
class would relocate the identical static call rather than remove it.

Suppression sits on the `handle()` METHOD docblock — the narrowest scope PHPMD
actually honours, verified empirically (a file-docblock annotation would not
apply). Matches the in-repo precedent for the same API in
`ScriptManifestLoader::addEntryScripts()`.

No baseline entry added.
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ d480fe1

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
composer ✅ 173/173
npm ✅ 713/713
PHPUnit
Newman
Playwright

Quality workflow — 2026-08-04 13:07 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit e49d845 into development Aug 4, 2026
29 checks passed
@rubenvdlinde
rubenvdlinde deleted the feat/flow-operator-ui branch August 4, 2026 13:09
@rubenvdlinde
rubenvdlinde restored the feat/flow-operator-ui branch August 4, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant