diff --git a/jetbrains/src/main/java/com/sourcegraph/cody/Icons.java b/jetbrains/src/main/java/com/sourcegraph/cody/Icons.java index 47b13cd867a7..4b3abd33533f 100644 --- a/jetbrains/src/main/java/com/sourcegraph/cody/Icons.java +++ b/jetbrains/src/main/java/com/sourcegraph/cody/Icons.java @@ -6,7 +6,6 @@ public interface Icons { Icon CodyLogo = IconLoader.getIcon("/icons/codyLogo.svg", Icons.class); - Icon HiImCody = IconLoader.getIcon("/icons/hiImCodyLogo.svg", Icons.class); interface Actions { Icon Add = IconLoader.getIcon("/icons/actions/huge_plus.svg", Icons.class); @@ -26,26 +25,8 @@ interface StatusBar { IconLoader.getIcon("/icons/codyLogoMonochromaticUnavailable.svg", Icons.class); } - interface Onboarding { - Icon Autocomplete = IconLoader.getIcon("/icons/onboarding/autocomplete.svg", Icons.class); - Icon Chat = IconLoader.getIcon("/icons/onboarding/chat.svg", Icons.class); - Icon Commands = IconLoader.getIcon("/icons/onboarding/commands.svg", Icons.class); - } - - interface SignIn { - Icon Github = IconLoader.getIcon("/icons/signIn/sign-in-logo-github.svg", Icons.class); - Icon Gitlab = IconLoader.getIcon("/icons/signIn/sign-in-logo-gitlab.svg", Icons.class); - Icon Google = IconLoader.getIcon("/icons/signIn/sign-in-logo-google.svg", Icons.class); - } - - interface Chat { - Icon ChatLeaf = IconLoader.getIcon("/icons/chat/chatLeaf.svg", Icons.class); - Icon Download = IconLoader.getIcon("/icons/chat/download.svg", Icons.class); - } - interface Edit { Icon Error = IconLoader.getIcon("/icons/edit/error.svg", Icons.class); - Icon Beta = IconLoader.getIcon("/icons/edit/beta.svg", Icons.class); } interface LLM { diff --git a/jetbrains/src/main/java/com/sourcegraph/cody/agent/CommandExecuteParams.kt b/jetbrains/src/main/java/com/sourcegraph/cody/agent/CommandExecuteParams.kt deleted file mode 100644 index a8b0bf6636fe..000000000000 --- a/jetbrains/src/main/java/com/sourcegraph/cody/agent/CommandExecuteParams.kt +++ /dev/null @@ -1,3 +0,0 @@ -package com.sourcegraph.cody.agent - -data class CommandExecuteParams(val command: String, val arguments: List) diff --git a/jetbrains/src/main/java/com/sourcegraph/cody/agent/protocol/TextDocumentShowOptions.kt b/jetbrains/src/main/java/com/sourcegraph/cody/agent/protocol/TextDocumentShowOptions.kt deleted file mode 100644 index 5445742a850e..000000000000 --- a/jetbrains/src/main/java/com/sourcegraph/cody/agent/protocol/TextDocumentShowOptions.kt +++ /dev/null @@ -1,9 +0,0 @@ -package com.sourcegraph.cody.agent.protocol - -import com.sourcegraph.cody.agent.protocol_generated.Range - -data class TextDocumentShowOptions( - val preserveFocus: Boolean?, - val preview: Boolean?, - val selection: Range?, -) diff --git a/jetbrains/src/main/java/com/sourcegraph/config/AccessTokenStorage.java b/jetbrains/src/main/java/com/sourcegraph/config/AccessTokenStorage.java index bebabbb3d297..f45e7802733c 100644 --- a/jetbrains/src/main/java/com/sourcegraph/config/AccessTokenStorage.java +++ b/jetbrains/src/main/java/com/sourcegraph/config/AccessTokenStorage.java @@ -29,11 +29,6 @@ public static Optional getEnterpriseAccessToken() { return token; } - public static void setApplicationEnterpriseAccessToken(@NotNull String accessToken) { - setApplicationLevelSecureConfig(enterpriseAccessTokenKeyParts, accessToken); - cachedEnterpriseAccessToken = accessToken; - } - // Empty string means empty or no token. No value means user denied access to token. @NotNull public static Optional getDotComAccessToken() { @@ -45,11 +40,6 @@ public static Optional getDotComAccessToken() { return token; } - public static void setApplicationDotComAccessToken(@NotNull String accessToken) { - setApplicationLevelSecureConfig(dotComAccessTokenKeyParts, accessToken); - cachedDotComAccessToken = accessToken; - } - // Empty string means empty or no password. No value means user denied access to password. @NotNull private static Optional getApplicationLevelSecureConfig(@NotNull List keyParts) { @@ -66,13 +56,6 @@ private static Optional getApplicationLevelSecureConfig(@NotNull List keyParts, @NotNull String accessToken) { - CredentialAttributes credentialAttributes = createCredentialAttributes(createKey(keyParts)); - Credentials credentials = new Credentials(null, accessToken); - PasswordSafe.getInstance().set(credentialAttributes, credentials); - } - @NotNull private static String createKey(@NotNull List keyParts) { return StringUtils.join(keyParts, "."); diff --git a/jetbrains/src/main/java/com/sourcegraph/config/CodyProjectService.java b/jetbrains/src/main/java/com/sourcegraph/config/CodyProjectService.java index 27914d3dfd07..557098a20283 100644 --- a/jetbrains/src/main/java/com/sourcegraph/config/CodyProjectService.java +++ b/jetbrains/src/main/java/com/sourcegraph/config/CodyProjectService.java @@ -87,14 +87,4 @@ public void loadState(@NotNull CodyProjectService settings) { public String getEnterpriseAccessToken() { return enterpriseAccessToken; } - - public boolean areChatPredictionsEnabled() { - // TODO: implement - return false; - } - - public String getCodebase() { - // TODO: implement - return null; - } } diff --git a/jetbrains/src/main/java/com/sourcegraph/config/UserLevelConfig.java b/jetbrains/src/main/java/com/sourcegraph/config/UserLevelConfig.java index 75c06fc3e0f0..0031485ecc48 100644 --- a/jetbrains/src/main/java/com/sourcegraph/config/UserLevelConfig.java +++ b/jetbrains/src/main/java/com/sourcegraph/config/UserLevelConfig.java @@ -83,8 +83,4 @@ private static Properties readPropertiesFile(File file) throws IOException { return properties; } - - public static boolean isVerboseLoggingEnabled() { - return Boolean.getBoolean("sourcegraph.verbose-logging"); - } } diff --git a/jetbrains/src/main/kotlin/com/sourcegraph/cody/agent/CodyStartingNotification.kt b/jetbrains/src/main/kotlin/com/sourcegraph/cody/agent/CodyStartingNotification.kt deleted file mode 100644 index 912e0e12a692..000000000000 --- a/jetbrains/src/main/kotlin/com/sourcegraph/cody/agent/CodyStartingNotification.kt +++ /dev/null @@ -1,42 +0,0 @@ -package com.sourcegraph.cody.agent - -import com.intellij.notification.Notification -import com.intellij.notification.NotificationType -import com.intellij.notification.impl.NotificationFullContent -import com.intellij.openapi.project.Project -import com.intellij.openapi.ui.popup.JBPopupListener -import com.intellij.openapi.ui.popup.LightweightWindowEvent -import com.sourcegraph.Icons -import com.sourcegraph.common.CodyBundle -import com.sourcegraph.common.NotificationGroups - -class CodyStartingNotification : - Notification( - NotificationGroups.SOURCEGRAPH_ERRORS, - CodyBundle.getString("notification.general.cody-not-running.title"), - CodyBundle.getString("notification.general.cody-not-running.detail"), - NotificationType.INFORMATION), - NotificationFullContent { - - init { - icon = Icons.CodyLogo - } - - override fun notify(project: Project?) { - // only show if not already being shown - if (instance == null) { - instance = this - super.notify(project) - balloon?.addListener( - object : JBPopupListener { - override fun onClosed(event: LightweightWindowEvent) { - instance = null - } - }) - } - } - - companion object { - var instance: CodyStartingNotification? = null - } -} diff --git a/jetbrains/src/main/kotlin/com/sourcegraph/cody/agent/EditingNotAvailableNotification.kt b/jetbrains/src/main/kotlin/com/sourcegraph/cody/agent/EditingNotAvailableNotification.kt deleted file mode 100644 index 971a9ed8df28..000000000000 --- a/jetbrains/src/main/kotlin/com/sourcegraph/cody/agent/EditingNotAvailableNotification.kt +++ /dev/null @@ -1,21 +0,0 @@ -package com.sourcegraph.cody.agent - -import com.intellij.notification.Notification -import com.intellij.notification.NotificationType -import com.intellij.notification.impl.NotificationFullContent -import com.sourcegraph.Icons -import com.sourcegraph.common.CodyBundle -import com.sourcegraph.common.NotificationGroups - -class EditingNotAvailableNotification : - Notification( - NotificationGroups.SOURCEGRAPH_ERRORS, - CodyBundle.getString("notifications.edits.editing-not-available.title"), - CodyBundle.getString("notifications.edits.editing-not-available.detail"), - NotificationType.WARNING), - NotificationFullContent { - - init { - icon = Icons.RepoIgnored - } -} diff --git a/jetbrains/src/main/kotlin/com/sourcegraph/cody/api/SourcegraphGQLQueries.kt b/jetbrains/src/main/kotlin/com/sourcegraph/cody/api/SourcegraphGQLQueries.kt index 0bd29bfdb572..254b4e856b8d 100644 --- a/jetbrains/src/main/kotlin/com/sourcegraph/cody/api/SourcegraphGQLQueries.kt +++ b/jetbrains/src/main/kotlin/com/sourcegraph/cody/api/SourcegraphGQLQueries.kt @@ -2,5 +2,4 @@ package com.sourcegraph.cody.api object SourcegraphGQLQueries { const val getUserDetails = "graphql/query/getUserDetails.graphql" - const val getUserCodyProEnabled = "graphql/query/getUserCodyProEnabled.graphql" } diff --git a/jetbrains/src/main/kotlin/com/sourcegraph/cody/auth/SourcegraphServerPath.kt b/jetbrains/src/main/kotlin/com/sourcegraph/cody/auth/SourcegraphServerPath.kt index 400cb3d5bc77..1e3c6f2b80f1 100644 --- a/jetbrains/src/main/kotlin/com/sourcegraph/cody/auth/SourcegraphServerPath.kt +++ b/jetbrains/src/main/kotlin/com/sourcegraph/cody/auth/SourcegraphServerPath.kt @@ -3,7 +3,6 @@ package com.sourcegraph.cody.auth import com.intellij.util.xmlb.annotations.Attribute import com.intellij.util.xmlb.annotations.Tag import com.sourcegraph.cody.config.SourcegraphParseException -import com.sourcegraph.config.ConfigUtil import java.net.URI import java.util.regex.Pattern @@ -27,7 +26,6 @@ data class SourcegraphServerPath( get() = URI.create(url).host companion object { - const val DEFAULT_HOST = ConfigUtil.DOTCOM_URL // 1 - schema, 2 - host, 4 - port, 5 - path private val URL_REGEX = diff --git a/jetbrains/src/main/kotlin/com/sourcegraph/cody/chat/ui/UIComponents.kt b/jetbrains/src/main/kotlin/com/sourcegraph/cody/chat/ui/UIComponents.kt deleted file mode 100644 index 8244da8b0d2b..000000000000 --- a/jetbrains/src/main/kotlin/com/sourcegraph/cody/chat/ui/UIComponents.kt +++ /dev/null @@ -1,29 +0,0 @@ -package com.sourcegraph.cody.chat.ui - -import com.intellij.ide.ui.laf.darcula.ui.DarculaButtonUI -import java.awt.Component -import java.awt.Dimension -import javax.swing.Icon -import javax.swing.JButton -import javax.swing.plaf.ButtonUI - -object UIComponents { - - @JvmStatic - fun createMainButton(text: String): JButton { - val button = JButton(text) - button.maximumSize = Dimension(Short.MAX_VALUE.toInt(), button.getPreferredSize().height) - button.setAlignmentX(Component.CENTER_ALIGNMENT) - val buttonUI = DarculaButtonUI.createUI(button) as ButtonUI - button.setUI(buttonUI) - return button - } - - @JvmStatic - fun createMainButton(text: String, icon: Icon): JButton { - val button = createMainButton(text) - button.putClientProperty(DarculaButtonUI.DEFAULT_STYLE_KEY, true) - button.icon = icon - return button - } -} diff --git a/jetbrains/src/main/kotlin/com/sourcegraph/cody/error/CodyError.kt b/jetbrains/src/main/kotlin/com/sourcegraph/cody/error/CodyError.kt deleted file mode 100644 index be59f949ae75..000000000000 --- a/jetbrains/src/main/kotlin/com/sourcegraph/cody/error/CodyError.kt +++ /dev/null @@ -1,3 +0,0 @@ -package com.sourcegraph.cody.error - -data class CodyError(val title: String, val version: String, val logs: String) diff --git a/jetbrains/src/main/kotlin/com/sourcegraph/cody/history/state/ChatState.kt b/jetbrains/src/main/kotlin/com/sourcegraph/cody/history/state/ChatState.kt index 3d7dc4363039..e9825c92763e 100644 --- a/jetbrains/src/main/kotlin/com/sourcegraph/cody/history/state/ChatState.kt +++ b/jetbrains/src/main/kotlin/com/sourcegraph/cody/history/state/ChatState.kt @@ -3,8 +3,6 @@ package com.sourcegraph.cody.history.state import com.intellij.openapi.components.BaseState import com.intellij.util.xmlb.annotations.OptionTag import com.intellij.util.xmlb.annotations.Tag -import java.time.LocalDateTime -import java.time.format.DateTimeFormatter @Tag("chat") class ChatState() : BaseState() { @@ -31,24 +29,4 @@ class ChatState() : BaseState() { @get:OptionTag(tag = "enhancedContext", nameAttribute = "") var enhancedContext: EnhancedContextState? by property() - - private var updatedAtDate: LocalDateTime? = null - - fun title(): String? = messages.firstOrNull()?.text?.take(48) - - fun setUpdatedTimeAt(date: LocalDateTime) { - updatedAtDate = date - updatedAt = date.format(DATE_FORMAT) - } - - fun getUpdatedTimeAt(): LocalDateTime { - if (updatedAt == null) return LocalDateTime.now() - if (updatedAtDate == null) updatedAtDate = LocalDateTime.parse(updatedAt, DATE_FORMAT) - return updatedAtDate ?: LocalDateTime.now() - } - - companion object { - - private val DATE_FORMAT = DateTimeFormatter.ISO_LOCAL_DATE_TIME - } } diff --git a/jetbrains/src/main/kotlin/com/sourcegraph/cody/ui/Colors.kt b/jetbrains/src/main/kotlin/com/sourcegraph/cody/ui/Colors.kt deleted file mode 100644 index 5e9c2df19250..000000000000 --- a/jetbrains/src/main/kotlin/com/sourcegraph/cody/ui/Colors.kt +++ /dev/null @@ -1,18 +0,0 @@ -package com.sourcegraph.cody.ui - -import com.intellij.ui.JBColor -import com.intellij.util.ui.JBUI -import java.awt.Color - -object Colors { - - @JvmField val CYAN: Color = JBColor(Color(0, 203, 236), Color(0, 203, 236)) - - @JvmField val PURPLE: Color = JBColor(Color(161, 18, 255), Color(161, 18, 255)) - - @JvmField val ORANGE: Color = JBColor(Color(255, 85, 67), Color(255, 85, 67)) - - @JvmField - val SECONDARY_LINK_COLOR: Color = - JBColor(JBUI.CurrentTheme.Link.Foreground.ENABLED, Color(129, 133, 148)) -} diff --git a/jetbrains/src/main/kotlin/com/sourcegraph/common/AuthorizationUtil.kt b/jetbrains/src/main/kotlin/com/sourcegraph/common/AuthorizationUtil.kt deleted file mode 100644 index 150705008708..000000000000 --- a/jetbrains/src/main/kotlin/com/sourcegraph/common/AuthorizationUtil.kt +++ /dev/null @@ -1,7 +0,0 @@ -package com.sourcegraph.common - -object AuthorizationUtil { - fun isValidAccessToken(accessToken: String): Boolean { - return accessToken.isEmpty() || (accessToken.length == 61 && accessToken.startsWith("sgp_")) - } -} diff --git a/jetbrains/src/main/resources/graphql/query/getUserCodyProEnabled.graphql b/jetbrains/src/main/resources/graphql/query/getUserCodyProEnabled.graphql deleted file mode 100644 index 6a02f1b7fe27..000000000000 --- a/jetbrains/src/main/resources/graphql/query/getUserCodyProEnabled.graphql +++ /dev/null @@ -1,5 +0,0 @@ -query { - currentUser { - codyProEnabled - } -} diff --git a/jetbrains/src/main/resources/icons/chat/chatLeaf.svg b/jetbrains/src/main/resources/icons/chat/chatLeaf.svg deleted file mode 100644 index 2cb529b1ad91..000000000000 --- a/jetbrains/src/main/resources/icons/chat/chatLeaf.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/jetbrains/src/main/resources/icons/chat/download.svg b/jetbrains/src/main/resources/icons/chat/download.svg deleted file mode 100644 index c0f929030aff..000000000000 --- a/jetbrains/src/main/resources/icons/chat/download.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/jetbrains/src/main/resources/icons/chat/download_dark.svg b/jetbrains/src/main/resources/icons/chat/download_dark.svg deleted file mode 100644 index 115c5f59f3d2..000000000000 --- a/jetbrains/src/main/resources/icons/chat/download_dark.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/jetbrains/src/main/resources/icons/hiImCodyLogo.svg b/jetbrains/src/main/resources/icons/hiImCodyLogo.svg deleted file mode 100644 index fefc35a3c8ed..000000000000 --- a/jetbrains/src/main/resources/icons/hiImCodyLogo.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jetbrains/src/main/resources/icons/onboarding/autocomplete.svg b/jetbrains/src/main/resources/icons/onboarding/autocomplete.svg deleted file mode 100644 index 11caa8e220ef..000000000000 --- a/jetbrains/src/main/resources/icons/onboarding/autocomplete.svg +++ /dev/null @@ -1,778 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jetbrains/src/main/resources/icons/onboarding/autocomplete_dark.svg b/jetbrains/src/main/resources/icons/onboarding/autocomplete_dark.svg deleted file mode 100644 index 82e0aa60eb42..000000000000 --- a/jetbrains/src/main/resources/icons/onboarding/autocomplete_dark.svg +++ /dev/null @@ -1,785 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jetbrains/src/main/resources/icons/onboarding/chat.svg b/jetbrains/src/main/resources/icons/onboarding/chat.svg deleted file mode 100644 index 0d2d5016e138..000000000000 --- a/jetbrains/src/main/resources/icons/onboarding/chat.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jetbrains/src/main/resources/icons/onboarding/chat_dark.svg b/jetbrains/src/main/resources/icons/onboarding/chat_dark.svg deleted file mode 100644 index c6e064de8acc..000000000000 --- a/jetbrains/src/main/resources/icons/onboarding/chat_dark.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jetbrains/src/main/resources/icons/onboarding/commands.svg b/jetbrains/src/main/resources/icons/onboarding/commands.svg deleted file mode 100644 index 0fa591c034df..000000000000 --- a/jetbrains/src/main/resources/icons/onboarding/commands.svg +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jetbrains/src/main/resources/icons/onboarding/commands_dark.svg b/jetbrains/src/main/resources/icons/onboarding/commands_dark.svg deleted file mode 100644 index eb7062496224..000000000000 --- a/jetbrains/src/main/resources/icons/onboarding/commands_dark.svg +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jetbrains/src/main/resources/icons/signIn/sign-in-logo-github.svg b/jetbrains/src/main/resources/icons/signIn/sign-in-logo-github.svg deleted file mode 100644 index 1c1678e14b3c..000000000000 --- a/jetbrains/src/main/resources/icons/signIn/sign-in-logo-github.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/jetbrains/src/main/resources/icons/signIn/sign-in-logo-gitlab.svg b/jetbrains/src/main/resources/icons/signIn/sign-in-logo-gitlab.svg deleted file mode 100644 index 15027c0c7824..000000000000 --- a/jetbrains/src/main/resources/icons/signIn/sign-in-logo-gitlab.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/jetbrains/src/main/resources/icons/signIn/sign-in-logo-google.svg b/jetbrains/src/main/resources/icons/signIn/sign-in-logo-google.svg deleted file mode 100644 index eb9b8bfdcfe8..000000000000 --- a/jetbrains/src/main/resources/icons/signIn/sign-in-logo-google.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/jetbrains/src/test/kotlin/com/sourcegraph/vcs/ConvertUtilTest.kt b/jetbrains/src/test/kotlin/com/sourcegraph/vcs/ConvertUtilTest.kt index 08212500eb86..dfe5ae3186e3 100644 --- a/jetbrains/src/test/kotlin/com/sourcegraph/vcs/ConvertUtilTest.kt +++ b/jetbrains/src/test/kotlin/com/sourcegraph/vcs/ConvertUtilTest.kt @@ -150,8 +150,9 @@ class ConvertUtilTest : TestCase() { // name instead of a clone URL. If changing the failure behavior here, ensure the add repository // dialog can still add "literal" repo names successfully. fun `converting incomplete URLs without protocols, paths should throw`() { - assertThrows(Exception::class.java, "Cody could not extract repo name from clone URL host") { - convertGitCloneURLToCodebaseNameOrError("cool-repo-name") - } + assertThrows( + Exception::class.java, "Cody could not extract repo name from clone URL cool-repo-name") { + convertGitCloneURLToCodebaseNameOrError("cool-repo-name") + } } }