Skip to content
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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Terminal

public struct CodeiumInstallationManager {
private static var isInstalling = false
static let latestSupportedVersion = "1.2.57"
static let latestSupportedVersion = "1.2.85"

public init() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public struct GitHubCopilotInstallationManager {
return URL(string: link)!
}

static let latestSupportedVersion = "1.9.1"
static let latestSupportedVersion = "1.10.2"

public init() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import SharedUIComponents
import SuggestionModel
import SwiftUI

struct CopilotView: View {
struct GitHubCopilotView: View {
static var copilotAuthService: GitHubCopilotAuthServiceType?

class Settings: ObservableObject {
Expand Down Expand Up @@ -76,7 +76,7 @@ struct CopilotView: View {
defer { refreshInstallationStatus() }
try await installationManager.uninstall()
Task { @MainActor in
CopilotView.copilotAuthService = nil
GitHubCopilotView.copilotAuthService = nil
}
}
}
Expand Down Expand Up @@ -191,14 +191,21 @@ struct CopilotView: View {
.foregroundColor(.secondary)
.font(.callout)
.dynamicHeightTextInFormWorkaround()
}

Text("""
You may have to restart the helper app to apply the changes. To do so, simply close the helper app by clicking on the menu bar icon that looks like a tentacle, it will automatically restart as needed.
""")
.lineLimit(6)
.fixedSize(horizontal: false, vertical: true)
.foregroundColor(.secondary)
Spacer()

Text("""
You may have to restart the helper app to apply the changes. To do so, simply close the helper app by clicking on the menu bar icon that looks like a tentacle, it will automatically restart as needed.
""")
.lineLimit(6)
.dynamicHeightTextInFormWorkaround()
.foregroundColor(.secondary)
}
.padding(8)
.overlay {
RoundedRectangle(cornerRadius: 8)
.stroke(Color(nsColor: .separatorColor), style: .init(lineWidth: 1))
}

VStack(alignment: .leading) {
HStack {
Expand Down Expand Up @@ -427,8 +434,8 @@ struct ActivityIndicatorView: NSViewRepresentable {
struct CopilotView_Previews: PreviewProvider {
static var previews: some View {
VStack(alignment: .leading, spacing: 8) {
CopilotView(status: .notSignedIn, version: "1.0.0")
CopilotView(status: .alreadySignedIn, isRunningAction: true)
GitHubCopilotView(status: .notSignedIn, version: "1.0.0")
GitHubCopilotView(status: .alreadySignedIn, isRunningAction: true)
}
.padding(.all, 8)
}
Expand Down
2 changes: 1 addition & 1 deletion Core/Sources/HostApp/ServiceView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ struct ServiceView: View {
var body: some View {
SidebarTabView(tag: $tag) {
ScrollView {
CopilotView().padding()
GitHubCopilotView().padding()
}.sidebarItem(
tag: 0,
title: "GitHub Copilot",
Expand Down
2 changes: 1 addition & 1 deletion Pro
Submodule Pro updated from 39a240 to 90d5c1
4 changes: 2 additions & 2 deletions Version.xcconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
APP_VERSION = 0.23.1
APP_BUILD = 240
APP_VERSION = 0.23.2
APP_BUILD = 241

12 changes: 12 additions & 0 deletions appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
<channel>
<title>Copilot for Xcode</title>

<item>
<title>0.23.2</title>
<pubDate>Sat, 09 Sep 2023 22:07:35 +0800</pubDate>
<sparkle:version>241</sparkle:version>
<sparkle:shortVersionString>0.23.2</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>12.0</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>
https://github.com/intitni/CopilotForXcode/releases/tag/0.23.2
</sparkle:releaseNotesLink>
<enclosure url="https://github.com/intitni/CopilotForXcode/releases/download/0.23.2/Copilot.for.Xcode.app.zip" length="32279961" type="application/octet-stream" sparkle:edSignature="9freCwsRzTUZvOoE97lmYeghullf4xcYcPe+4Zuc1Elkh/U8vRPntxKXH49E0ebv+d+Xiw+feFE3JTRBvqzcCw=="/>
</item>

<item>
<title>0.23.1</title>
<pubDate>Wed, 06 Sep 2023 21:08:26 +0800</pubDate>
Expand Down