-
Notifications
You must be signed in to change notification settings - Fork 204
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
feat(core): update agent label and imageUrl plus per connection label and imageUrl #516
Conversation
Signed-off-by: janrtvld <[email protected]>
…nd request Signed-off-by: janrtvld <[email protected]>
Nice! Great addition. I was really missing this feature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good @janrtvld!
public async createRequest(connectionId: string): Promise<ConnectionProtocolMsgReturnType<ConnectionRequestMessage>> { | ||
public async createRequest( | ||
connectionId: string, | ||
myLabel?: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd add the myLabel in a config like the other ones. This will make it easier to extend with more properties later on (e.g. the imageUrl
)
Signed-off-by: janrtvld <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #516 +/- ##
==========================================
+ Coverage 86.25% 86.27% +0.01%
==========================================
Files 266 266
Lines 5755 5762 +7
Branches 925 931 +6
==========================================
+ Hits 4964 4971 +7
Misses 790 790
Partials 1 1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
#506
This pr contains:
I would also like to add support for a custom imageUrl on connection/label, but before that i would like some feedback on this draft.