The backend dedups re-uploads and the sidepanel shows the doc once, but the composer's pending-doc chips are created per addDoc call, so each re-upload of an already-indexed file appended another 'Ready' chip for the same document. In the already_indexed branch, if a chip with the returned documentId already exists, drop the chip we just added instead of marking it ready — so the composer shows each document only once. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| app | ||
| assets | ||
| components | ||
| config | ||
| features | ||
| hooks | ||
| i18n | ||
| lib | ||
| shared | ||
| stores | ||
| types | ||
| utils | ||
| index.css | ||
| main.tsx | ||
| setupTests.ts | ||
| speech-recognition.d.ts | ||