Skip to content

Commit d923df0

Browse files
committed
chore: rebranding
1 parent 6a3ec49 commit d923df0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+363
-122
lines changed

README.md

Lines changed: 55 additions & 20 deletions
Large diffs are not rendered by default.

codegpt-telemetry/src/main/java/ee/carlrobert/codegpt/telemetry/ui/TelemetryNotifications.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public TelemetryNotifications() {
3939

4040
public void queryUserConsent() {
4141
Notification notification = group.createNotification(
42-
"Help CodeGPT improve its extensions by allowing them to collect anonymous usage data. " +
43-
"Read our <a href=\"https://codegpt.ee/privacy\">privacy statement</a> " +
42+
"Help ProxyAI improve its extensions by allowing them to collect anonymous usage data. " +
43+
"Read our <a href=\"https://tryproxy.io/privacy\">privacy statement</a> " +
4444
"and learn how to <a href=\"\">opt out</a>.",
4545
NotificationType.INFORMATION);
4646
notification.setTitle("Enable Telemetry");

codegpt-telemetry/src/main/java/ee/carlrobert/codegpt/telemetry/ui/preferences/TelemetryComponent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
public class TelemetryComponent {
2323

2424
private static final String DESCRIPTION =
25-
"Help CodeGPT improve its products by sending anonymous data about features and plugins used, "
25+
"Help ProxyAI improve its products by sending anonymous data about features and plugins used, "
2626
+ "hardware and software configuration.<br/>"
2727
+ "<br/>"
2828
+ "Please note that this will not include personal data or any sensitive Information.<br/>"
29-
+ "The data sent complies with the <a href=\"https://codegpt.ee/privacy\">Privacy Policy</a>.";
29+
+ "The data sent complies with the <a href=\"https://tryproxy.io/privacy\">Privacy Policy</a>.";
3030

3131
private final JPanel panel;
3232
private final JBCheckBox enabled = new JBCheckBox("Send usage statistics");

codegpt-telemetry/src/main/java/ee/carlrobert/codegpt/telemetry/ui/preferences/TelemetryConfigurable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class TelemetryConfigurable implements SearchableConfigurable {
3535
@Nls(capitalization = Nls.Capitalization.Title)
3636
@Override
3737
public String getDisplayName() {
38-
return "CodeGPT Telemetry";
38+
return "ProxyAI Telemetry";
3939
}
4040

4141
@Override

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
22

33
pluginGroup = ee.carlrobert
4-
pluginName = CodeGPT
5-
pluginRepositoryUrl = https://github.com/carlrobertoh/CodeGPT
4+
pluginName = ProxyAI
5+
pluginRepositoryUrl = https://github.com/carlrobertoh/ProxyAI
66
# SemVer format -> https://semver.org
77
pluginVersion = 2.16.4
88

src/main/java/ee/carlrobert/codegpt/toolwindow/chat/ChatToolWindowContentManager.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import com.intellij.openapi.wm.ToolWindowAnchor;
1212
import com.intellij.openapi.wm.ToolWindowManager;
1313
import com.intellij.ui.content.Content;
14+
import ee.carlrobert.codegpt.CodeGPTBundle;
1415
import ee.carlrobert.codegpt.Icons;
1516
import ee.carlrobert.codegpt.completions.ConversationType;
1617
import ee.carlrobert.codegpt.conversations.Conversation;
@@ -122,12 +123,12 @@ public void resetAll() {
122123

123124
public @NotNull ToolWindow getToolWindow() {
124125
var toolWindowManager = ToolWindowManager.getInstance(project);
125-
var toolWindow = toolWindowManager.getToolWindow("CodeGPT");
126+
var toolWindow = toolWindowManager.getToolWindow("ProxyAI");
126127
// https://intellij-support.jetbrains.com/hc/en-us/community/posts/11533368171026/comments/11538403084562
127128
return Objects.requireNonNullElseGet(toolWindow, () -> toolWindowManager
128129
.registerToolWindow(RegisterToolWindowTask.closable(
129-
"CodeGPT",
130-
() -> "CodeGPT",
130+
"ProxyAI",
131+
() -> CodeGPTBundle.get("project.label"),
131132
Icons.DefaultSmall,
132133
ToolWindowAnchor.RIGHT)));
133134
}

src/main/java/ee/carlrobert/codegpt/toolwindow/chat/ChatToolWindowPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public ChatToolWindowPanel(
5252
imageFileAttachmentNotification = new ToolWindowFooterNotification(() ->
5353
project.putUserData(CodeGPTKeys.IMAGE_ATTACHMENT_FILE_PATH, ""));
5454
upgradePlanLink = new ActionLink("Upgrade your plan", event -> {
55-
BrowserUtil.browse("https://codegpt.ee/#pricing");
55+
BrowserUtil.browse("https://tryproxy.io/#pricing");
5656
});
5757
upgradePlanLink.setFont(JBUI.Fonts.smallFont());
5858
upgradePlanLink.setExternalLinkIcon();

src/main/java/ee/carlrobert/codegpt/toolwindow/chat/ui/ChatToolWindowScrollablePanel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ public void displayLandingView(JComponent landingView) {
4141
panel.addContent(UIUtil.createTextPane("""
4242
<html>
4343
<p style="margin-top: 4px; margin-bottom: 4px;">
44-
It looks like you haven't configured your API key yet. Visit <a href="#OPEN_SETTINGS">CodeGPT settings</a> to do so.
44+
It looks like you haven't configured your API key yet. Visit <a href="#OPEN_SETTINGS">ProxyAI settings</a> to do so.
4545
</p>
4646
<p style="margin-top: 4px; margin-bottom: 4px;">
47-
Don't have an account? <a href="https://codegpt.ee">Sign up</a> to get the most out of CodeGPT.
47+
Don't have an account? <a href="https://tryproxy.io/signin">Sign up</a> to get the most out of ProxyAI.
4848
</p>
4949
</html>""",
5050
false,

src/main/java/ee/carlrobert/codegpt/toolwindow/chat/ui/textarea/ModelComboBoxAction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import com.intellij.openapi.ui.popup.JBPopupListener;
2727
import com.intellij.openapi.ui.popup.LightweightWindowEvent;
2828
import com.intellij.openapi.ui.popup.ListPopup;
29+
import ee.carlrobert.codegpt.CodeGPTBundle;
2930
import ee.carlrobert.codegpt.CodeGPTKeys;
3031
import ee.carlrobert.codegpt.Icons;
3132
import ee.carlrobert.codegpt.completions.llama.LlamaModel;
@@ -133,7 +134,7 @@ private AnAction[] getCodeGPTModelActions(Project project, Presentation presenta
133134
var actionGroup = new DefaultActionGroup();
134135

135136
if (availableProviders.contains(CODEGPT)) {
136-
actionGroup.addSeparator("CodeGPT");
137+
actionGroup.addSeparator(CodeGPTBundle.get("project.label"));
137138
actionGroup.addAll(getCodeGPTModelActions(project, presentation));
138139
actionGroup.addSeparator();
139140
}

src/main/java/ee/carlrobert/codegpt/ui/OverlayUtil.java

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
import com.intellij.execution.ExecutionBundle;
1111
import com.intellij.notification.Notification;
12-
import com.intellij.notification.NotificationGroup;
1312
import com.intellij.notification.NotificationListener;
1413
import com.intellij.notification.NotificationType;
1514
import com.intellij.notification.Notifications;
@@ -36,8 +35,8 @@
3635

3736
public class OverlayUtil {
3837

39-
public static final String NOTIFICATION_GROUP_ID = "CodeGPT Notification Group";
40-
public static final String NOTIFICATION_GROUP_STICKY_ID = "CodeGPT Notification Group Sticky";
38+
public static final String NOTIFICATION_GROUP_ID = "proxyai.notification.group";
39+
public static final String NOTIFICATION_GROUP_STICKY_ID = "proxyai.notification.sticky.group";
4140

4241
private OverlayUtil() {
4342
}
@@ -49,7 +48,8 @@ public static Notification getDefaultNotification(
4948

5049
public static Notification getDefaultNotification(
5150
@NotNull String content, @NotNull NotificationType type, @NotNull AnAction... actions) {
52-
var notification = new Notification(NOTIFICATION_GROUP_ID, "CodeGPT", content, type);
51+
var notification =
52+
new Notification(NOTIFICATION_GROUP_ID, CodeGPTBundle.get("project.label"), content, type);
5353
notification.setListener(new NotificationListener.UrlOpeningListener(true));
5454
Arrays.asList(actions).forEach(notification::addAction);
5555
return notification;
@@ -62,7 +62,11 @@ public static Notification getStickyNotification(
6262

6363
public static Notification getStickyNotification(
6464
@NotNull String content, @NotNull NotificationType type, @NotNull AnAction... actions) {
65-
var notification = new Notification(NOTIFICATION_GROUP_STICKY_ID, "CodeGPT", content, type);
65+
var notification = new Notification(
66+
NOTIFICATION_GROUP_STICKY_ID,
67+
CodeGPTBundle.get("project.label"),
68+
content,
69+
type);
6670
Arrays.asList(actions).forEach(notification::addAction);
6771
return notification;
6872
}

0 commit comments

Comments
 (0)