anymous telemetry based on redhat (#212)

* initial telemetry

* fixed segment bugs

* Move telemetry impl to submodule, add more actions

* Replace privacy policy link, minor refactoring

---------

Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
This commit is contained in:
keith siilats 2023-09-27 11:44:01 -04:00 committed by GitHub
parent 05c7560ec9
commit 8f9980fbf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 5348 additions and 32 deletions

View file

@ -1,9 +1,7 @@
package ee.carlrobert.codegpt;
import com.intellij.openapi.util.IconLoader;
import java.util.Objects;
import javax.swing.Icon;
import javax.swing.ImageIcon;
public final class Icons {
@ -13,9 +11,4 @@ public final class Icons {
public static final Icon OpenAIIcon = IconLoader.getIcon("/icons/openai.svg", Icons.class);
public static final Icon AzureIcon = IconLoader.getIcon("/icons/azure.svg", Icons.class);
public static final Icon YouIcon = IconLoader.getIcon("/icons/you.svg", Icons.class);
public static final ImageIcon DefaultImageIcon = getImageIcon("/icons/chatgpt.png");
private static ImageIcon getImageIcon(String path) {
return new ImageIcon(Objects.requireNonNull(Icons.class.getResource(path)));
}
}