Skip to content

Conversation

@2561056571
Copy link
Collaborator

Summary

  • Add GET/PUT API endpoints for document content retrieval and update
  • Implement DocumentViewerDrawer component with right-side slide-in panel
  • Create MarkdownEditor component using @uiw/react-md-editor with Wegent styling
  • Create PDFViewer component with zoom and download support
  • Update DocumentList and DocumentItem to support click-to-preview functionality
  • Add i18n translations for document viewer in Chinese and English
  • Trigger automatic re-indexing when document content is updated

Test plan

  • Click on a document row to open the preview drawer
  • Verify Markdown files can be previewed and edited
  • Verify PDF files are displayed in read-only mode with zoom controls
  • Test auto-save functionality (2 second debounce)
  • Verify save button works and updates document content
  • Check that document content update triggers re-indexing
  • Test the preview/edit mode toggle button
  • Verify i18n translations work in both Chinese and English

2561056571 and others added 11 commits December 29, 2025 12:07
- Add PublicRetrieverService for managing system-level retrievers (user_id=0)
- Add admin API endpoints for public retriever CRUD operations
- Update retriever_kinds_service to include public retrievers with fallback
- Add PublicRetrieverList frontend component for admin management
- Add public retriever tab to admin navigation
- Update RetrievalSettingsSection to display source type labels (Personal/Public/Group)
- Add i18n translations for public retriever features
…ptions

- Add complete index strategy options (per_user, per_dataset, fixed, rolling)
- Add retrieval methods configuration with checkboxes (vector, keyword, hybrid)
- Add connection test functionality
- Add storage type specific auth fields (username/password for ES, API key for Qdrant)
- Add password visibility toggles
- Add dynamic retrieval methods loading from API
- Match personal retriever configuration page layout and functionality
Add logging to help diagnose why public retrievers are not being
returned in the list API. Logs the count of found public retrievers
and each added retriever name.
- Add RetrieverFormFields component for reusable form fields
- Update PublicRetrieverList with create/edit/delete functionality
- Add API endpoints for public retriever CRUD operations
- Update storage base to support public retriever configuration
- Update DocumentList and RetrievalSettingsSection for retriever selection
- Add public retriever support in RetrievalSettingsSection
- Update useEmbeddingModels and useRetrievers hooks to fetch public models
- Fix storage base to handle retriever configuration properly
- Add i18n translations for public model labels
Add the ability to preview and edit knowledge base documents:
- Add GET/PUT endpoints for document content
- Implement right-side drawer for document preview
- Support Markdown editor with live preview for text files
- Add PDF viewer with zoom and download support
- Trigger automatic re-indexing when content is updated
@coderabbitai
Copy link

coderabbitai bot commented Dec 31, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Base automatically changed from weagent/feat-public-retriever-support to main December 31, 2025 10:28
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.

2 participants