feat(documents): warn incomplete indexing#1511
Conversation
anouillz
commented
Jul 14, 2026
- Displays a warning when some file content is excluded from full-text indexing.
- Shows warning in get tab, alongside the files.
- Supports both professional and public document detail views.
- Relies on feat(documents): flag incomplete indexing rero-ils#4162
- Closes Files: inform the user when the full-text is too large to be indexed rero-ils#4071
WalkthroughDocument API services now query document records for the Estimated code review effort: 3 (Moderate) | ~20 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install timed out. The project may have too many dependencies for the sandbox. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
80d5333 to
e52c2d0
Compare
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@projects/public-search/src/app/api/document-api.service.spec.ts`:
- Line 15: Replace Vitest APIs with Jasmine spies: in
projects/public-search/src/app/api/document-api.service.spec.ts at lines 15-15
and 52-52, use jasmine.createSpy('getRecords') and .and.returnValue(...); in
projects/public-search/src/app/document-brief/document-brief.component.spec.ts
at line 39-39, replace vi.fn() with jasmine.createSpy('getRecords').
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 4c16741d-4e40-43f9-a6d9-b96ca5e89fb8
📒 Files selected for processing (8)
projects/admin/src/app/api/document-api.service.tsprojects/admin/src/app/record/detail-view/document-detail-view/document-detail-view.component.htmlprojects/admin/src/app/record/detail-view/document-detail-view/document-detail-view.component.tsprojects/public-search/src/app/api/document-api.service.spec.tsprojects/public-search/src/app/api/document-api.service.tsprojects/public-search/src/app/document-brief/document-brief.component.spec.tsprojects/public-search/src/app/document-detail/document-detail-view/document-detail-view.component.htmlprojects/public-search/src/app/document-detail/document-detail-view/document-detail-view.component.ts
04821c3 to
42c738f
Compare
* Displays a warning when some file content is excluded from full-text indexing. * Shows warning in get tab, alongside the files. * Supports both professional and public document detail views. * Closes rero/rero-ils#4071 Co-Authored-by: Ana Gomes <anagoncalves7@icloud.com>
42c738f to
0136245
Compare