fix(ui): stabilize file filter focus (#373)

## Summary
- Builds on #353 by @pascalandr, preserving the file tab path-copying
work and related inline file-list fixes.
- Moves the file filter row above the file list header so the list
content appears below the filter.
- Stabilizes the file filter input by using memoized file-list
derivations and a stable `FileList` component, and prevents the prompt
type-to-focus handler from stealing focus from editable event targets.

## Credits
Original feature work by @pascalandr in #353.

## Test Plan
- `npm run typecheck --workspace @codenomad/ui`

---------

Co-authored-by: Pascal André <pascalandr@gmail.com>
This commit is contained in:
Shantur Rathore
2026-04-26 15:31:25 +01:00
committed by GitHub
parent 2a25abce03
commit 2c7b81f812
9 changed files with 206 additions and 65 deletions

View File

@@ -148,6 +148,13 @@ export const instanceMessages = {
"instanceShell.filesShell.viewerTitle": "変更ビューア",
"instanceShell.filesShell.viewerPlaceholder": "詳細な変更表示は次のステップで追加します。",
"instanceShell.filesShell.viewerEmpty": "ファイルが選択されていません。",
"instanceShell.filesShell.listEmpty": "このフォルダーにファイルはありません。",
"instanceShell.filesShell.search.placeholder": "このフォルダーのファイルを絞り込む",
"instanceShell.filesShell.search.ariaLabel": "このフォルダーのファイルを絞り込む",
"instanceShell.filesShell.search.empty": "一致するファイルがありません。",
"instanceShell.filesShell.actions.copyPath": "パスをコピー",
"instanceShell.filesShell.toast.copyPathSuccess": "パスをコピーしました",
"instanceShell.filesShell.toast.copyPathError": "パスをコピーできませんでした",
"instanceShell.plan.noSessionSelected": "計画を表示するにはセッションを選択してください。",
"instanceShell.plan.empty": "まだ計画はありません。",