Closed kriswest closed 2 months ago
Name | Link |
---|---|
Latest commit | 2ed30e60bbcee8250e2b996044e71c2f29dd34c1 |
Latest deploy log | https://app.netlify.com/sites/fdc3/deploys/66d9b813dbd4f100088f0f01 |
Deploy Preview | https://deploy-preview-1305--fdc3.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@Roaders @robmoffat This PR addresses the async API call issues you both raised. Let me know what you think.
I like what you did here to unify the event listener stuff. I guess we're committing to this for 2.2 then? We haven't actually discussed the listener changes in any meetings yet though
no we haven't. that would need to happen at the next meeting, having the pr and docs preview in hand makes it a lot easier to show the change however!
k
This looks good to me. I don't think that there is any easy way to test this in my local code other than building the .tgz
myself and manually installing it in my project right?
Correct. Its easy enough todo however, checkout the relevant branch, run npm run pack
which will build the project and then pack the tarball for you. Then simply npm install <path to tarball>
in the project where you want to use it.
P.S. @Roaders if you try to do that with the FDC3 for Web PR, note that I haven't got around to adding BrowserTypes.to the exports in index.ts yet. It'll probably conflict with existing API exports so we'll probably need to export it as 'BrowserTypes' the same we do with BridgingTypes.
@Roaders @bingenito @hughtroeger I'll put this on the SWG agenda to look at this week. Would love to get some reviews on it.
Working on an update that remove the enums as then you can have a workable inheritance structure
Updated to keep event type names style consistent (camelCase) as agreed at SWG meeting 22/08/24. Also, consent was received to make these changes once they are passed through the review of maintainers/editors.
This did not merge well with with the .NET PR, particularly in the PrivateChannel.md file - where some work is needed from @bingenito to fill in .NET examples.
THere is also a syntax error somewhere in PrivateChannel.md that I can't find, that is preventing the site from compiling...
This was never implemented. The pending work is under #1318 to done once this is merged.
This did not merge well with with the .NET PR, particularly in the PrivateChannel.md file - where some work is needed from @bingenito to fill in .NET examples.
THere is also a syntax error somewhere in PrivateChannel.md that I can't find, that is preventing the site from compiling...
It seems as though it is trying to transpile the markdown rather than build docs.
This did not merge well with with the .NET PR, particularly in the PrivateChannel.md file - where some work is needed from @bingenito to fill in .NET examples. THere is also a syntax error somewhere in PrivateChannel.md that I can't find, that is preventing the site from compiling...
It seems as though it is trying to transpile the markdown rather than build docs.
Looks like it - but I think theres a syntax error somewhere that is making it think that the code block is markup it needs to process. Its fine with other code blocks on that page so it's likely a stray or missing character I'm just not seeing...
This did not merge well with with the .NET PR, particularly in the PrivateChannel.md file - where some work is needed from @bingenito to fill in .NET examples. THere is also a syntax error somewhere in PrivateChannel.md that I can't find, that is preventing the site from compiling...
This was never implemented. The pending work is under #1318 to done once this is merged.
SHall I just go and add the tab but put Not implemented yet in it?
Unless you think it is causing this issue I wouldn't bother as I'll do it with a PR after this merge. I think there is a different issue here perhaps with mismatched tags that I'm looking at. The syntax of that example is the same in the merged PR.
That force push was for a git commit amend of my last commit message
@hughtroeger no worries - thanks for getting to another one!
I spotted a syntax error (another stray space char):
Fixed, could you re-approve @hughtroeger ?
resolves #1294 resolves #1300
Listener.unsubscribe()
async (the return type is changed fromvoid
toPromise<void>
) for consistency with the rest of the API.async
addEventListener
function to thePrivateChannel
API to replace the deprecated, synchronousonAddContextListener
,onUnsubscribe
andonDisconnect
functions and to keep consistency with the DesktopAgent API.PrivateChannel
's synchronousonAddContextListener
,onUnsubscribe
andonDisconnect
functions in favour of anasync
addEventListener
function consistent with the one added toDesktopAgent
in #1207See previews at: