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

Initial Fdc3 implemetation using MessageRouter, added unit tests #236

Merged
merged 11 commits into from
Jun 29, 2023

Conversation

lilla28
Copy link
Contributor

@lilla28 lilla28 commented Jun 13, 2023

No description provided.

@codecov
Copy link

codecov bot commented Jun 13, 2023

Codecov Report

Merging #236 (3720883) into main (2b07558) will increase coverage by 1.86%.
The diff coverage is 89.51%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #236      +/-   ##
==========================================
+ Coverage   73.05%   74.92%   +1.86%     
==========================================
  Files         147      155       +8     
  Lines        4892     5507     +615     
  Branches      139      233      +94     
==========================================
+ Hits         3574     4126     +552     
- Misses       1317     1380      +63     
  Partials        1        1              
Impacted Files Coverage Δ
...ell/js/composeui-fdc3/src/ComposeUIDesktopAgent.ts 82.95% <82.95%> (ø)
...oseui-fdc3/src/infrastructure/ComposeUIListener.ts 91.02% <91.02%> (ø)
...omposeui-fdc3/src/infrastructure/ComposeUITopic.ts 93.10% <93.10%> (ø)
src/shell/js/composeui-fdc3/src/index.ts 100.00% <100.00%> (ø)
...poseui-fdc3/src/infrastructure/ComposeUIChannel.ts 100.00% <100.00%> (ø)
.../src/infrastructure/messages/Fdc3ContextMessage.ts 100.00% <100.00%> (ø)
.../infrastructure/messages/Fdc3FindChannelRequest.ts 100.00% <100.00%> (ø)
...structure/messages/Fdc3GetCurrentContextRequest.ts 100.00% <100.00%> (ø)

src/shell/js/composeui-fdc3/src/ComposeUIChannelType.ts Outdated Show resolved Hide resolved
src/shell/js/composeui-fdc3/src/ComposeUIDesktopAgent.ts Outdated Show resolved Hide resolved
src/shell/js/composeui-fdc3/src/ComposeUIDesktopAgent.ts Outdated Show resolved Hide resolved
src/shell/js/composeui-fdc3/src/ComposeUIDesktopAgent.ts Outdated Show resolved Hide resolved
src/shell/js/composeui-fdc3/src/ComposeUIDesktopAgent.ts Outdated Show resolved Hide resolved
src/shell/js/composeui-fdc3/src/Fdc3ComposeUI.spec.ts Outdated Show resolved Hide resolved
src/shell/js/composeui-fdc3/src/Fdc3ComposeUI.spec.ts Outdated Show resolved Hide resolved
src/shell/js/composeui-fdc3/src/Fdc3ComposeUI.spec.ts Outdated Show resolved Hide resolved
src/shell/js/composeui-fdc3/src/Fdc3ComposeUI.spec.ts Outdated Show resolved Hide resolved
src/shell/js/composeui-fdc3/src/Fdc3ComposeUI.spec.ts Outdated Show resolved Hide resolved
@lilla28 lilla28 force-pushed the fdc3/implement-methods branch 5 times, most recently from 6e83bcf to 0e65c27 Compare June 23, 2023 12:41
@lilla28 lilla28 marked this pull request as ready for review June 23, 2023 12:52
@lilla28 lilla28 requested a review from a team June 23, 2023 12:52
lilla28 added 9 commits June 27, 2023 18:08
…renamed ComposeUIChannelType to ChannelType, and Fc3ChannelMessageRouterMEssage to Fdc3ChannelMessage, fixed topic/channelId confusion, fixed throw tests, added publish checks with arguments, simplified messageRouter mock, toEqual to tomMatchObject, STILL IN WIP: NEEDS to resolve module import for testing
…s, added FDC3 Error messages to DesktopAgent implementation, fixed throw tests, WIP: Still checking the error messages.
…l checks, moved under infrastructure folder, added more tests
… modification, using standard when addContextListener is called through ComposeUIListener, added some error handling, added new argument to ComposeUIListener as id, string interpolation fixes. WIP: NEEDS REBASE and get clientId from messageRouter to check if the channel can be created
… add invoke method to joinUserChannel to check if the channel could be created, fix tests, comment out not useable code, add more topics for later usage, fix unsubscribe method, add Response/Request message types to send through messageRouter
…ecessary variables, remove unnecessary async
@lilla28 lilla28 force-pushed the fdc3/implement-methods branch from 2fad3f7 to 0154548 Compare June 27, 2023 16:08
…from ComposeUIChannel, modified ComposeUITopic's topic creation semantics
Copy link
Contributor

@kruplm kruplm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lilla28 lilla28 merged commit 90cf0eb into morganstanley:main Jun 29, 2023
@lilla28 lilla28 deleted the fdc3/implement-methods branch May 15, 2024 10:07
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.

5 participants