Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
8793c17
feat(files): one search field for file names and text
AmethystLiang Nov 26, 2026
adbe760
feat(files): address design review for combined search
AmethystLiang Nov 26, 2026
ee7b5ed
test(files): add an interactive fixture for the combined search
AmethystLiang Nov 26, 2026
23652b9
fix(files): move search options under the field and tidy previews
AmethystLiang Nov 26, 2026
f1c397d
fix(files): own the search draft per workspace and address code review
AmethystLiang Nov 26, 2026
d45e390
fix(files): shorten the capped-results message
AmethystLiang Nov 26, 2026
dee26ff
fix(files): hide the count on an empty search section
AmethystLiang Nov 26, 2026
9d09f15
refactor(files): drop casts and effect state in combined search
AmethystLiang Nov 26, 2026
7d3c8db
fix(files): keep search drafts current and drop stale text rows
AmethystLiang Nov 26, 2026
8fe8463
fix(files): gate text rows on the live result generation
AmethystLiang Nov 26, 2026
7061580
fix(files): keep the draft token counter compiler-friendly
AmethystLiang Nov 26, 2026
023461b
fix(files): say when text search is unavailable instead of No results
AmethystLiang Nov 26, 2026
185f14b
fix(files): show text errors only from the live owner, test skipped s…
AmethystLiang Nov 26, 2026
f292c4a
test(files): name the fake-clock helper so it reads as no real wait
AmethystLiang Nov 26, 2026
aa4133f
fix(files): shorten the text-unavailable message to one line
AmethystLiang Nov 26, 2026
48b77b5
fix(files): mute the unavailable note and keep the Text header while …
AmethystLiang Nov 26, 2026
f89d3bb
fix(files): measure search rows, match deferred owner, reload tree af…
AmethystLiang Nov 26, 2026
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
5 changes: 0 additions & 5 deletions config/react-compiler-bailout-baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@
2 src/renderer/src/components/right-sidebar/checks-panel/review-data/use-checks-panel-review-data.tsx
14 src/renderer/src/components/right-sidebar/checks-panel/review-state/use-checks-panel-context-state.tsx
1 src/renderer/src/components/right-sidebar/checks-panel/review-state/use-checks-panel-review-state.tsx
1 src/renderer/src/components/right-sidebar/file-explorer/content-search/SearchResultsPane.tsx
1 src/renderer/src/components/right-sidebar/file-explorer/content-search/useFileSearchRunner.ts
1 src/renderer/src/components/right-sidebar/file-explorer/mutations/useFileDeletion.ts
2 src/renderer/src/components/right-sidebar/file-explorer/mutations/useFileExplorerDragEdgeScroll.ts
Expand Down Expand Up @@ -428,7 +427,6 @@
1 src/renderer/src/components/settings/repository/RepositoryFormatterSection.tsx
3 src/renderer/src/components/settings/repository/RepositoryJiraProjectSection.tsx
3 src/renderer/src/components/settings/repository/hosts/RepositoryHostSetupActions.tsx
2 src/renderer/src/components/settings/repository/identity/RepositoryIconPicker.tsx
2 src/renderer/src/components/settings/repository/source-control/RepositoryForkSyncSection.tsx
2 src/renderer/src/components/settings/repository/source-control/RepositoryGitHubAccountSection.tsx
9 src/renderer/src/components/settings/repository/source-control/repository-source-control-ai-global-ux.ts
Expand Down Expand Up @@ -694,11 +692,8 @@
6 src/renderer/src/hooks/skills/discovery/useInstalledAgentSkills.ts
4 src/renderer/src/hooks/skills/freshness/useSkillFreshness.ts
1 src/renderer/src/hooks/skills/installation/use-bundled-skill-install.ts
1 src/renderer/src/components/dictation/use-audio-capture.ts
2 src/renderer/src/lib/work-items/github/useGitHubTaskItems.ts
2 src/renderer/src/hooks/useImmediateMutation.ts
1 src/renderer/src/lib/agent-session/launch/inventory/host-chat-program-acquisition.ts
2 src/renderer/src/lib/agent-session/launch/inventory/useDetectedAgents.ts
2 src/renderer/src/lib/connector-setup-open.ts
1 src/renderer/src/lib/files/search/quick-open-file-history.ts
1 src/renderer/src/lib/list-interaction/use-windowed-command-virtualizer.ts
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/app-shell/chrome/use-app-chrome-layout.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from 'react'
import { getExplorerTreeView } from '@/store/slices/right-sidebar/right-sidebar-route'
import { useShallow } from 'zustand/react/shallow'
import { SYNC_FIT_PANES_EVENT } from '@/constants/terminal'
import { canShowRightSidebarForView } from '@/components/right-sidebar/visibility/right-sidebar-visibility'
Expand Down Expand Up @@ -30,7 +31,7 @@ export function useAppChromeLayout() {
const sidebarOpen = savedSidebarOpen && !listHiddenByRailPage
const rightSidebarOpen = useAppStore((s) => s.rightSidebarOpen)
const rightSidebarTab = useAppStore((s) => s.rightSidebarTab)
const rightSidebarExplorerView = useAppStore((s) => s.rightSidebarExplorerView)
const rightSidebarExplorerView = useAppStore(getExplorerTreeView)
const isFullScreen = useAppStore((s) => s.isFullScreen)
const settings = useAppStore((s) => s.settings)
const appRailVisible = useAppStore(selectAppRailVisible)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { AppState } from '@/store/types'
import { getExplorerTreeView } from '@/store/slices/right-sidebar/right-sidebar-route'
import type { OpenFile } from '@/store/slices/editor/types/open-file'
import { getIndexedWorktreesById } from '@/store/slices/worktrees/listing/worktree-catalog-index'
import { folderWorkspaceKey } from '../../../../../../shared/workspace/identity/workspace-scope'
Expand Down Expand Up @@ -50,7 +51,10 @@ export type EditorExternalWatchTargetState = Pick<
Partial<
Pick<
AppState,
'activeWorkspaceExecutionHostId' | 'rightSidebarEffectiveTab' | 'lastVisitedAtByWorktreeId'
| 'activeWorkspaceExecutionHostId'
| 'rightSidebarEffectiveTab'
| 'lastVisitedAtByWorktreeId'
| 'fileSearchStateByWorktree'
>
>

Expand Down Expand Up @@ -168,7 +172,7 @@ export function selectEditorExternalWatchTargets(
cachedRightSidebarOpen === state.rightSidebarOpen &&
cachedRightSidebarTab === state.rightSidebarTab &&
cachedRightSidebarEffectiveTab === state.rightSidebarEffectiveTab &&
cachedRightSidebarExplorerView === state.rightSidebarExplorerView &&
cachedRightSidebarExplorerView === getExplorerTreeView(state) &&
cachedGitStatusHugeByWorktree === state.gitStatusHugeByWorktree &&
cachedSshConnectionStates === state.sshConnectionStates &&
cachedFolderWorkspaces === selectFolderWorkspaces(state) &&
Expand Down Expand Up @@ -225,7 +229,7 @@ export function selectEditorExternalWatchTargets(
const activeWorktreeNeedsSidebarWatch =
activeWorktreeId !== null &&
state.rightSidebarOpen &&
((shownRightSidebarTab === 'explorer' && state.rightSidebarExplorerView === 'files') ||
((shownRightSidebarTab === 'explorer' && getExplorerTreeView(state) === 'files') ||
(shownRightSidebarTab === 'source-control' && sourceControlCanConsumeWatch))
if (activeWorktreeNeedsSidebarWatch) {
// Why: this app-level watcher owns Explorer/Source-Control subscriptions so downstream consumers don't fight over watch/unwatch IPC.
Expand Down Expand Up @@ -263,7 +267,7 @@ export function selectEditorExternalWatchTargets(
cachedRightSidebarOpen = state.rightSidebarOpen
cachedRightSidebarTab = state.rightSidebarTab
cachedRightSidebarEffectiveTab = state.rightSidebarEffectiveTab
cachedRightSidebarExplorerView = state.rightSidebarExplorerView
cachedRightSidebarExplorerView = getExplorerTreeView(state)
cachedGitStatusHugeByWorktree = state.gitStatusHugeByWorktree
cachedSshConnectionStates = state.sshConnectionStates
cachedFolderWorkspaces = selectFolderWorkspaces(state)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function useRightSidebarTabRouting({
const lastRightSidebarRouteRequestIdRef = useRef(seenRouteRequestId ?? rightSidebarRouteRequestId)

// Preserve stored routes when hidden; folder effective-tab memory keeps parent overviews, while authoritative installed-panel keys discard uninstalled plugin routes.
const normalizedActiveTab = normalizeRightSidebarRoute(rightSidebarTab, undefined, {
const normalizedActiveTab = normalizeRightSidebarRoute(rightSidebarTab, {
installedPluginTabKeys:
pluginSystemEnabled && pluginFetchStatus === 'ready' ? installedPluginTabKeys : undefined
}).rightSidebarTab
Expand Down
Loading
Loading