|
@@ -61,7 +61,7 @@ class ViewController: NSViewController {
|
|
|
case meetings = "Meetings"
|
|
case meetings = "Meetings"
|
|
|
case scheduler = "Scheduler"
|
|
case scheduler = "Scheduler"
|
|
|
case widgets = "Widgets"
|
|
case widgets = "Widgets"
|
|
|
- case aiCompanion = "Ai Companion"
|
|
|
|
|
|
|
+ case aiCompanion = "Ai Assistant"
|
|
|
case settings = "Settings"
|
|
case settings = "Settings"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1819,7 +1819,7 @@ class ViewController: NSViewController {
|
|
|
private func requestMeetingRecordingConsent(title: String) -> MeetingRecordingConsentChoice {
|
|
private func requestMeetingRecordingConsent(title: String) -> MeetingRecordingConsentChoice {
|
|
|
let alert = NSAlert()
|
|
let alert = NSAlert()
|
|
|
alert.messageText = "Record this meeting locally?"
|
|
alert.messageText = "Record this meeting locally?"
|
|
|
- alert.informativeText = "With your consent, the app will record meeting audio on this Mac and show it in AI Companion after the meeting."
|
|
|
|
|
|
|
+ alert.informativeText = "With your consent, the app will record meeting audio on this Mac and show it in Ai Assistant after the meeting."
|
|
|
alert.addButton(withTitle: "Allow and Continue")
|
|
alert.addButton(withTitle: "Allow and Continue")
|
|
|
alert.addButton(withTitle: "Continue Without Recording")
|
|
alert.addButton(withTitle: "Continue Without Recording")
|
|
|
alert.window.title = title
|
|
alert.window.title = title
|
|
@@ -4514,7 +4514,7 @@ class ViewController: NSViewController {
|
|
|
settingsNotificationsBlock = notificationsBlock
|
|
settingsNotificationsBlock = notificationsBlock
|
|
|
stack.setCustomSpacing(24, after: notificationsBlock)
|
|
stack.setCustomSpacing(24, after: notificationsBlock)
|
|
|
|
|
|
|
|
- let transcriptionTitle = textLabel("Ai Companion transcription", font: .systemFont(ofSize: 16, weight: .semibold), color: primaryText)
|
|
|
|
|
|
|
+ let transcriptionTitle = textLabel("Ai Assistant transcription", font: .systemFont(ofSize: 16, weight: .semibold), color: primaryText)
|
|
|
let transcriptionSubtitle = textLabel(
|
|
let transcriptionSubtitle = textLabel(
|
|
|
"Preferred languages are used for Apple on-device speech recognition after each meeting recording.",
|
|
"Preferred languages are used for Apple on-device speech recognition after each meeting recording.",
|
|
|
font: .systemFont(ofSize: 12, weight: .regular),
|
|
font: .systemFont(ofSize: 12, weight: .regular),
|
|
@@ -6402,7 +6402,7 @@ class ViewController: NSViewController {
|
|
|
homeSidebarRowViews = [:]
|
|
homeSidebarRowViews = [:]
|
|
|
homeSidebarIconViews = [:]
|
|
homeSidebarIconViews = [:]
|
|
|
homeSidebarLabels = [:]
|
|
homeSidebarLabels = [:]
|
|
|
- let sidebar = makeSidebar(items: ["Home", "Meetings", "Scheduler", "Widgets", "Ai Companion", "Settings"], selected: selectedHomeSidebarItem, style: .home)
|
|
|
|
|
|
|
+ let sidebar = makeSidebar(items: ["Home", "Meetings", "Scheduler", "Widgets", "Ai Assistant", "Settings"], selected: selectedHomeSidebarItem, style: .home)
|
|
|
let content = NSView()
|
|
let content = NSView()
|
|
|
content.wantsLayer = true
|
|
content.wantsLayer = true
|
|
|
content.layer?.backgroundColor = NSColor.clear.cgColor
|
|
content.layer?.backgroundColor = NSColor.clear.cgColor
|
|
@@ -7360,7 +7360,7 @@ class ViewController: NSViewController {
|
|
|
root.addSubview(container)
|
|
root.addSubview(container)
|
|
|
|
|
|
|
|
// Header row: recordings list (AI Companion mode).
|
|
// Header row: recordings list (AI Companion mode).
|
|
|
- let title = makeLabel("AI Companion", size: 28, color: primaryText, weight: .bold, centered: false)
|
|
|
|
|
|
|
+ let title = makeLabel("Ai Assistant", size: 28, color: primaryText, weight: .bold, centered: false)
|
|
|
let subtitle = makeLabel("Get notes from your previous meetings", size: 13, color: secondaryText, weight: .regular, centered: false)
|
|
let subtitle = makeLabel("Get notes from your previous meetings", size: 13, color: secondaryText, weight: .regular, centered: false)
|
|
|
let count = makeLabel("0 recordings", size: 12, color: secondaryText, weight: .medium, centered: false)
|
|
let count = makeLabel("0 recordings", size: 12, color: secondaryText, weight: .medium, centered: false)
|
|
|
let titleStack = NSStackView(views: [title, subtitle, count])
|
|
let titleStack = NSStackView(views: [title, subtitle, count])
|
|
@@ -8467,7 +8467,7 @@ class ViewController: NSViewController {
|
|
|
guard let index = aiCompanionSelectedIndex,
|
|
guard let index = aiCompanionSelectedIndex,
|
|
|
aiCompanionSummaries.indices.contains(index) else {
|
|
aiCompanionSummaries.indices.contains(index) else {
|
|
|
aiCompanionDetailEmptyLabel?.stringValue = aiCompanionSummaries.isEmpty
|
|
aiCompanionDetailEmptyLabel?.stringValue = aiCompanionSummaries.isEmpty
|
|
|
- ? "Run an AI Companion-enabled meeting to see notes here."
|
|
|
|
|
|
|
+ ? "Run an Ai Assistant-enabled meeting to see notes here."
|
|
|
: "Select a meeting on the left to view its AI notes."
|
|
: "Select a meeting on the left to view its AI notes."
|
|
|
aiCompanionDetailEmptyLabel?.isHidden = false
|
|
aiCompanionDetailEmptyLabel?.isHidden = false
|
|
|
return
|
|
return
|
|
@@ -9511,7 +9511,7 @@ class ViewController: NSViewController {
|
|
|
return "calendar.badge.clock"
|
|
return "calendar.badge.clock"
|
|
|
case "Widgets":
|
|
case "Widgets":
|
|
|
return filled ? "rectangle.grid.2x2.fill" : "rectangle.grid.2x2"
|
|
return filled ? "rectangle.grid.2x2.fill" : "rectangle.grid.2x2"
|
|
|
- case "Ai Companion":
|
|
|
|
|
|
|
+ case "Ai Assistant":
|
|
|
return filled ? "sparkles" : "sparkles"
|
|
return filled ? "sparkles" : "sparkles"
|
|
|
case "Settings":
|
|
case "Settings":
|
|
|
// `gearshape.fill` may not exist on all macOS versions; handled via safe image assignment.
|
|
// `gearshape.fill` may not exist on all macOS versions; handled via safe image assignment.
|