feat: add Confluence integration with configurable parameters for doc…#19
Merged
feat: add Confluence integration with configurable parameters for doc…#19
Conversation
…ault max pages limit in document upload
…plate into chore/adminfrontend
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for Confluence integration to the document upload system, updates related UI components, adjusts backend API calls, and refreshes localization and submodule versions.
- Define and pass a new
ConfluenceConfigfrom frontend to backend viaDocumentAPI.loadConfluence. - Enhance the upload UI with Confluence-specific input fields and adjust container heights.
- Change file upload endpoint and form-data key, update localization text, and bump submodules and dev configs.
Reviewed Changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| rag-infrastructure | Updated submodule commit |
| rag-core-library | Updated submodule commit |
| frontend/libs/i18n/admin/en.json | Refined confluenceLoadTitle text |
| frontend/libs/admin-app/feature-document/DocumentUploadContainer.vue | Added Confluence config inputs and adjusted heights |
| frontend/libs/admin-app/data-access/document.api.ts | Introduced ConfluenceConfig and modified API calls |
| frontend/libs/admin-app/data-access/+state/documents.store.ts | Updated store to accept ConfluenceConfig |
| conftest.py | Added test path setup for backend and libraries |
| Tiltfile | Enabled Minio feature flag |
| .vscode/settings.json | Configured Python test and path settings |
| .vscode/launch.json | Added Pytest debug launch configuration |
Comments suppressed due to low confidence (1)
frontend/libs/admin-app/data-access/+state/documents.store.ts:8
- The store ID 'chat' is misleading in a documents store; consider renaming to 'documents' or 'documentsStore' for clarity.
export const useDocumentsStore = defineStore('chat', () => {
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…plate into chore/adminfrontend
a-klos
added a commit
that referenced
this pull request
Jul 3, 2025
a-klos
added a commit
that referenced
this pull request
Jul 3, 2025
…#19) * fix: update project title from "RAG SIT x Stackit" to "STACKIT RAG" across multiple files * fix: remove unnecessary condition in sitemap loader parameter processing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant updates to the document upload system, particularly adding support for Confluence integration. The changes include new configuration options for Confluence, updates to the backend API payloads, UI enhancements, and dependency updates. Below are the most important changes grouped by theme:
Confluence Integration:
ConfluenceConfiginterface to define configuration parameters for Confluence, includingspaceKey,token,url,maxPages, andname, indocument.api.ts.loadConfluencemethod inDocumentAPIto accept aConfluenceConfigobject and send it as a payload to the backend with required query parameters.useDocumentsStoreto pass aConfluenceConfigobject to theloadConfluencemethod.UI Enhancements for Confluence:
DocumentUploadContainer.vuefor Confluence configuration, including URL, name, space key, token, and max pages.Backend API Adjustments:
/upload_documentsto/upload_fileand corrected the form data key frombodytofileinDocumentAPI.Localization Updates:
confluenceLoadTitletext in the English localization file to provide a clearer description.Submodule Updates:
rag-core-libraryandrag-infrastructureto new commit hashes.