Skip to content

feat: show missing project directory warnings in chat list#195

Open
xuxu777xu wants to merge 1 commit intoop7418:mainfrom
xuxu777xu:feat/directory-check
Open

feat: show missing project directory warnings in chat list#195
xuxu777xu wants to merge 1 commit intoop7418:mainfrom
xuxu777xu:feat/directory-check

Conversation

@xuxu777xu
Copy link
Contributor

Summary

  • batch chat-list working-directory existence checks through a dedicated API
  • cancel stale checks and ignore out-of-order responses to avoid races
  • show a localized warning tooltip when a session project directory no longer exists

Validation

  • npx tsx --test src/tests/unit/directory-existence.test.ts
  • npm run typecheck
  • npx eslint src/components/layout/ChatListPanel.tsx src/app/api/files/exists/route.ts src/lib/directory-existence.ts src/i18n/en.ts src/i18n/zh.ts src/tests/unit/directory-existence.test.ts

- debounce directory existence checks for session groups

- refresh missing-directory state when the tab becomes visible again

- show localized warning tooltip when a project folder is gone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant