Skip to content

feat(workbench): support FDC3 event listeners - #2091

Open
akira-in-tech wants to merge 3 commits into
finos:mainfrom
akira-in-tech:agent/fdc3-workbench-events
Open

feat(workbench): support FDC3 event listeners#2091
akira-in-tech wants to merge 3 commits into
finos:mainfrom
akira-in-tech:agent/fdc3-workbench-events

Conversation

@akira-in-tech

Copy link
Copy Markdown

Describe your change

Add FDC3 2.2 event support to the Workbench while preserving compatibility with FDC3 2.0 and 2.1 implementations.

  • Listen for userChannelChanged events and keep the displayed current user channel in sync.
  • Use PrivateChannel.addEventListener for addContextListener, unsubscribe, and disconnect events on FDC3 2.2 and later.
  • Retain the legacy Private Channel callbacks for FDC3 2.0 and 2.1.
  • Preserve event details.contextType in logs and event history, and broadcast only contexts that match the registered listener type.
  • Add event status, history, and copyable examples to the relevant Workbench tabs.
  • Add Vitest coverage and a CHANGELOG entry.

Related Issue

Resolves #1674

Contributor License Agreement

  • I acknowledge that a contributor license agreement is required and that I have one in place or will seek to put one in place ASAP.

Impact

The change is limited to the FDC3 Workbench. It does not modify the FDC3 API, schemas, conformance tests, context types, or intents.

Validation

  • npm run test --workspace fdc3-workbench: 7 tests passed
  • npm run build --workspace fdc3-workbench: passed
  • npm run lint --workspace fdc3-workbench: passed with 0 errors
  • npm test: passed for all workspaces
  • npm run lint: passed for all workspaces

@netlify

netlify Bot commented Aug 11, 2026

Copy link
Copy Markdown

Deploy Preview for fdc3 ready!

Name Link
🔨 Latest commit 7784423
🔍 Latest deploy log https://app.netlify.com/projects/fdc3/deploys/6a7c918811739f0007711121
😎 Deploy Preview https://deploy-preview-2091.preview-fdc3.finos.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Aug 11, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: akira-in-tech / name: akira (71b10b6)

@akira-in-tech
akira-in-tech marked this pull request as ready for review August 11, 2026 18:22
@akira-in-tech
akira-in-tech requested a review from a team as a code owner August 11, 2026 18:22
Comment thread toolbox/fdc3-workbench/src/store/PrivateChannelStore.tsx
Comment thread toolbox/fdc3-workbench/src/store/PrivateChannelStore.tsx Outdated
Comment thread CHANGELOG.md Outdated
@akira-in-tech

Copy link
Copy Markdown
Author

Synced the branch with the latest main in 7784423 to pick up the current website/build dependency baseline. The Netlify deploy preview is now green and returns HTTP 200. I also revalidated the Workbench with Node 24.18.0/npm 11.16.0: 9 tests pass, the production build passes, and lint reports 0 errors.

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.

Add support for listening to events in FDC3 Workbench

2 participants