-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support link click actions within Q chat (#44)
This PR handles the link click notifications, which includes aws/chat/linkClick, aws/chat/infoLinkClick and aws/chat/sourceLinkClick. We are showing a confirmation message box before opening links that are present in Chat UI.
- Loading branch information
1 parent
690f6ed
commit 7fa7384
Showing
4 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
plugin/src/software/aws/toolkits/eclipse/amazonq/chat/models/InfoLinkClickParams.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
|
||
package software.aws.toolkits.eclipse.amazonq.chat.models; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public class InfoLinkClickParams { | ||
@JsonProperty("tabId") | ||
private String tabId; | ||
|
||
@JsonProperty("link") | ||
private String link; | ||
|
||
@JsonProperty("eventId") | ||
private String eventId; | ||
|
||
public final String getTabId() { | ||
return tabId; | ||
} | ||
|
||
public final void setTabId(final String tabId) { | ||
this.tabId = tabId; | ||
} | ||
|
||
public final String getLink() { | ||
return link; | ||
} | ||
|
||
public final void setLink(final String link) { | ||
this.link = link; | ||
} | ||
|
||
public final String getEventId() { | ||
return eventId; | ||
} | ||
|
||
public final void setEventId(final String eventId) { | ||
this.eventId = eventId; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters