Skip to content

Commit 5c6a82c

Browse files
Archit-lalclaude
andcommitted
fix(desktop): hide Insights/Focus + Tasks board, restore Brain Map tab
- Remove Insights (Focus+Insights hub) from the nav rail. - Tasks always renders the list; the Board view + Board/List toggle are hidden. - Brain Map returns as a third Memory hub tab (Memories/Conversations/Brain Map). Compiles clean; ratchet down-adjusted for the trimmed files. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 69e541f commit 5c6a82c

5 files changed

Lines changed: 17 additions & 18 deletions

File tree

.github/scripts/product_file_line_count_ratchet_baseline/desktop-swift-mainwindow.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
"desktop/macos/Desktop/Sources/MainWindow/Pages/AppsPage.swift": 3643,
55
"desktop/macos/Desktop/Sources/MainWindow/Pages/DashboardPage.swift": 4409,
66
"desktop/macos/Desktop/Sources/MainWindow/Pages/MemoriesPage.swift": 3298,
7-
"desktop/macos/Desktop/Sources/MainWindow/Pages/TasksPage.swift": 5711,
8-
"desktop/macos/Desktop/Sources/MainWindow/SidebarView.swift": 1693
7+
"desktop/macos/Desktop/Sources/MainWindow/Pages/TasksPage.swift": 5706,
8+
"desktop/macos/Desktop/Sources/MainWindow/SidebarView.swift": 1692
99
},
1010
"raise_justifications": {
1111
"desktop/macos/Desktop/Sources/MainWindow/Components/ChatBubble.swift": "SB redesign: Omi-mark avatar on replies that spins while thinking (so the extra typing-dots indicator is suppressed for Omi's own replies) and tool-call chips gated to the streaming turn only; a component split is tracked follow-up.",
1212
"desktop/macos/Desktop/Sources/MainWindow/Pages/AppsPage.swift": "Rebase reconciliation applies the pinned swift-format to the main-branch app-detail safety fixes; runtime behavior is unchanged.",
1313
"desktop/macos/Desktop/Sources/MainWindow/Pages/DashboardPage.swift": "SB redesign: chat-as-home hub with the auto-rotating knows-list (now surfacing learned insights alongside tasks/asks), de-privatized status controls for the persistent top bar, and the post-onboarding opener in the home-chat empty state; a component split is tracked follow-up.",
1414
"desktop/macos/Desktop/Sources/MainWindow/Pages/MemoriesPage.swift": "Bridge memory search now awaits the active initial or pagination projection before refreshing, preventing an immediate post-navigation marker search from using stale lifecycle capability state.",
1515
"desktop/macos/Desktop/Sources/MainWindow/Pages/TasksPage.swift": "SB redesign: adds the Notion-style status board (time-bucket columns, task cards with priority/due chips) and Board/List toggle alongside the existing list; a component split is tracked follow-up.",
16-
"desktop/macos/Desktop/Sources/MainWindow/SidebarView.swift": "SB redesign: adds the hover-expand AppNavRail (icons→labels) and the merged/simplified navigation (Memory, Insights) driving selectedIndex; a component split is tracked follow-up."
16+
"desktop/macos/Desktop/Sources/MainWindow/SidebarView.swift": "SB redesign: adds the hover-expand AppNavRail (icons\u2192labels) and the merged/simplified navigation (Memory, Insights) driving selectedIndex; a component split is tracked follow-up."
1717
},
1818
"threshold": 1500
1919
}

desktop/macos/Desktop/Sources/MainWindow/DesktopHomeView.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,9 +1247,9 @@ private struct MemoryHubPage: View {
12471247
var body: some View {
12481248
VStack(spacing: 0) {
12491249
// The "Memory" rail item lands here, so Memories is the default segment;
1250-
// Conversations (with its live transcript) is second. The Brain Map has
1251-
// been removed from the UI entirely.
1252-
HubSegmentedControl(segments: ["Memories", "Conversations"], selection: $segment)
1250+
// Conversations (with its live transcript) is second, and the Brain Map
1251+
// graph is its own tab.
1252+
HubSegmentedControl(segments: ["Memories", "Conversations", "Brain Map"], selection: $segment)
12531253
.padding(.top, 22)
12541254
.padding(.horizontal, 28)
12551255
.padding(.bottom, 4)
@@ -1258,8 +1258,10 @@ private struct MemoryHubPage: View {
12581258
MemoriesPage(
12591259
viewModel: viewModelContainer.memoriesViewModel,
12601260
graphViewModel: viewModelContainer.memoryGraphViewModel)
1261-
} else {
1261+
} else if segment == 1 {
12621262
ConversationsPageHost(appState: appState)
1263+
} else {
1264+
MemoryGraphPage(viewModel: viewModelContainer.memoryGraphViewModel)
12631265
}
12641266
}
12651267
}

desktop/macos/Desktop/Sources/MainWindow/Pages/TasksPage.swift

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,14 +2744,10 @@ struct TasksPage: View {
27442744
&& suggestedStore.candidates.isEmpty && !suggestedStore.isLoading
27452745
{
27462746
emptyView
2747-
} else if tasksViewIsBoard && !viewModel.isInlineCreating {
2748-
// Notion-style status board: one column per time bucket, tasks as cards.
2749-
tasksBoardView
27502747
} else {
2751-
// Render the list view (which hosts the InlineTaskCreationRow) whenever
2752-
// the user is inline-creating, even if the underlying task list is empty.
2753-
// Without this guard, clicking "+" on an empty list flips isInlineCreating
2754-
// but the empty view ignores it, so the input field never appears.
2748+
// Board view is hidden — Tasks always uses the list. The list view hosts
2749+
// the InlineTaskCreationRow, so it renders whenever the user is
2750+
// inline-creating even if the underlying task list is empty.
27552751
tasksListView
27562752
}
27572753
}
@@ -2888,7 +2884,6 @@ struct TasksPage: View {
28882884
.cornerRadius(OmiChrome.elementRadius)
28892885

28902886
if !viewModel.isMultiSelectMode {
2891-
viewModeToggle
28922887
completedToggleButton
28932888
} else {
28942889
multiSelectControls

desktop/macos/Desktop/Sources/MainWindow/SidebarView.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,14 +1593,13 @@ struct AppNavRail: View {
15931593
}
15941594

15951595
/// Simplified, merged navigation: "Memory" folds in Conversations + Memories,
1596-
/// "Focus" folds in Focus + Insights, and Rewind moved off the rail (it opens
1597-
/// from a right-click on Capture). Each entry drives the shared selectedIndex.
1596+
/// Rewind moved off the rail (it opens from a right-click on Capture), and
1597+
/// Insights/Focus are hidden from navigation. Each entry drives selectedIndex.
15981598
private var items: [RailItem] {
15991599
[
16001600
RailItem(index: SidebarNavItem.dashboard.rawValue, title: "Home", icon: "house.fill"),
16011601
RailItem(index: SidebarNavItem.conversations.rawValue, title: "Memory", icon: "brain"),
16021602
RailItem(index: SidebarNavItem.tasks.rawValue, title: "Tasks", icon: "checklist"),
1603-
RailItem(index: SidebarNavItem.focus.rawValue, title: "Insights", icon: "lightbulb.fill"),
16041603
RailItem(index: SidebarNavItem.apps.rawValue, title: "Apps", icon: "puzzlepiece.fill"),
16051604
]
16061605
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"change": "Second Brain: hide Insights/Focus from navigation, hide the Tasks board view (Tasks is a list), and bring back the Brain Map as its own Memory tab beside Memories and Conversations"
3+
}

0 commit comments

Comments
 (0)