You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (fdc3.getInfo&&versionIsAtLeast(fdc3.getInfo(), "1.2")) {
195
+
if (fdc3.getInfo&&versionIsAtLeast(fdc3.getInfo(), '1.2')) {
189
196
awaitfdc3.raiseIntentForContext(context);
190
197
} else {
191
-
awaitfdc3.raiseIntent("ViewChart", context);
198
+
awaitfdc3.raiseIntent('ViewChart', context);
192
199
}
193
200
```
194
201
@@ -202,6 +209,9 @@ Context channels allows a set of apps to share a stateful piece of data between
202
209
There are two types of channels, which are functionally identical, but have different visibility and discoverability semantics.
203
210
204
211
1. The 'system' ones, which have a well understood identity. One is called 'global'.
212
+
213
+
> **Deprecation notice:** In future versions of FDC3, there won't be a `global` channel, see [below](#the-global-channel).
214
+
205
215
2. The 'app' ones, which have a transient identity and need to be revealed
206
216
207
217
@@ -215,34 +225,44 @@ It is possible that a call to join a channel could be rejected. If for example,
215
225
Joining channels in FDC3 is intended to be a behavior initiated by the end user. For example: by color linking or apps being grouped in the same workspace. Most of the time, it is expected that apps will be joined to a channel by mechanisms outside of the app. Always, there SHOULD be a clear UX indicator of what channel an app is joined to.
216
226
217
227
### The 'global' Channel
228
+
229
+
> **Deprecation notice**
230
+
>
231
+
> The global channel, which exists only for backward compatibility with FDC3 1.0,
232
+
will be removed in a future version of the FDC3 API Specification.
233
+
>
234
+
> Instead of relying on being joined to a 'default' channel by the desktop agent on startup,
235
+
an app or system channel should be joined explicitly through the relevant APIs,
236
+
or through a channel selection UI.
237
+
218
238
The 'system' channels include a 'global' channel which serves as the backwards compatible layer with the 'send/broadcast context' behavior in FDC3 1.0. A desktop agent MAY choose to make membership in the 'global' channel the default state for apps on start up.
219
239
220
240
The 'global' channel should be returned as part of the response from the `fdc3.getSystemChannels` call. Desktop Agents may want to filter out the 'global' option in their UI for system channel pickers.
221
241
222
242
223
243
#### Examples
224
244
225
-
An app queries the current context of the `global` channel.
245
+
An app queries the current context of the `red` channel.
0 commit comments