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

Link query param #279

Merged
merged 2 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/278.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change link attributions from plugin or cli source to intellij source for notifications from mirrord.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ data class IdeMessage(val id: String, val level: NotificationLevel, val text: St
this.actions.forEach {
if (it["kind"].asString == "Link") {
val action = Gson().fromJson(it, IdeAction.Link::class.java)
notification.withLink(action.label, action.link)
var link = action.link.replace("utm_medium=plugin", "utm_medium=intellij")
link = link.replace("utm_medium=cli", "utm_medium=intellij")
notification.withLink(action.label, link)
}
}

Expand Down
Loading