Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated samples to fdc3 2.0 & enhanced broker and notification service #746

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

johnman
Copy link
Member

@johnman johnman commented Sep 29, 2024

Updated samples to use fdc3 2.0 instead of 1.2 to support richer getInfo calls. Updated WPS docs to promote 2.0 instead of 1.2 in the examples.

Updated WPS Interop Override:

  • FDC3 open now supports passing context to all views it opens in a snapshot and not just the first one. We also check to see if it registers before firing based on a specified timeout. We don't await this so as not to slow down the response to the raiser.

  • FDC3 Intent Firing when targettng a snapshot now waits to fire the intent until each view registers an intent handler or times out. We don't await this so as not to slow down the response to the raiser.

InstanceIds are only returned for single instance views/windows (not snapshots).

Example notification service launch-app action now supports passing the appId and instanceId (id still needs to be specified) in the target field of customData. context can also be passed now. This will use fdc3.open. If you specify an instanceId and a timeout error is thrown (if the instance is no longer running) then it falls back to launching a new instance of the app and passing it the context if specified.

  • Updated example-notification-service-app to show raising a notification that has a call to action that passes data back to itself (or a new instance if it is closed) though a context listener.

Updated samples to use fdc3 2.0 instead of 1.2 to support richer getInfo calls. Updated  WPS docs to promote 2.0 instead of 1.2 in the examples.

Updated WPS Interop Override:

- FDC3 open now supports passing context to all views it opens in a snapshot and not just the first one. We also check to see if it registers before firing based on a specified timeout. We don't await this so as not to slow down the response to the raiser.

- FDC3 Intent Firing when targettng a snapshot now waits to fire the intent until each view registers an intent handler or times out. We don't await this so as not to slow down the response to the raiser.

InstanceIds are only returned for single instance views/windows (not snapshots).

Example notification service launch-app action now supports passing the appId and instanceId (id still needs to be specified) in the target field of customData. context can also be passed now. This will use fdc3.open. If you specify an instanceId and a timeout error is thrown (if the instance is no longer running) then it falls back to launching a new instance of the app and passing it the context if specified.

- Updated example-notification-service-app to show raising a notification that has a call to action that passes data back to itself (or a new instance if it is closed) though a context listener.
@johnman johnman merged commit c6c93bd into workspace/v19.1.0 Sep 30, 2024
5 checks passed
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.

2 participants