feat: add sitemap loader to admin frontend#21
Merged
Conversation
…ault max pages limit in document upload
…plate into chore/adminfrontend
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…plate into chore/adminfrontend
…nce configuration from DocumentUploadContainer, and update subproject reference in rag-core-library
- Added `fake-useragent` version 2.2.0 to `document-extractor/poetry.lock`. - Introduced `googleapis-common-protos` version 1.70.0 and updated dependencies in `rag-backend/poetry.lock`. - Added `importlib-metadata` version 8.7.0 with dependencies in `rag-backend/poetry.lock`. - Updated `langfuse` to version 3.0.0 in `rag-backend/poetry.lock` and adjusted its dependencies. - Added OpenTelemetry packages (`opentelemetry-api`, `opentelemetry-exporter-otlp`, `opentelemetry-sdk`, etc.) with version 1.34.1 in `rag-backend/poetry.lock`. - Downgraded `protobuf` to version 5.29.5 in `rag-backend/poetry.lock`. - Added `zipp` version 3.23.0 in `rag-backend/poetry.lock`. - Updated submodules for `rag-core-library` and `rag-infrastructure`.
…itcloud/rag-template into chore/adminfrontend-sitemap-loader
…er.vue Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request introduces a sitemap loader feature into the admin frontend. The main changes include:
- Backend support: Adding a new SitemapConfig interface and implementing a loadSitemap method in DocumentAPI.
- Frontend enhancements: Extending DocumentUploadContainer.vue to handle sitemap uploads and updating error handling for sitemap operations.
- Store updates: Adding isLoadingSitemap state and a loadSitemap method to the Vuex store for sitemap actions.
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| rag-infrastructure | Updated subproject commit for infrastructure. |
| rag-core-library | Updated submodule commit for core library. |
| frontend/libs/i18n/admin/en.json | Added new localization keys for sitemap. |
| frontend/libs/admin-app/feature-document/DocumentUploadContainer.vue | Added sitemap-specific refs, UI tab, and upload handler. |
| frontend/libs/admin-app/data-access/document.api.ts | Added SitemapConfig interface and loadSitemap method with JSON validation. |
| frontend/libs/admin-app/data-access/+state/documents.store.ts | Added isLoadingSitemap state and loadSitemap store method. |
…itcloud/rag-template into chore/adminfrontend-sitemap-loader
a-klos
added a commit
that referenced
this pull request
Jul 3, 2025
* add infrastructure for mcp * feat: update mcp configuration and improve ingress rules * feat: add MCP server configuration and update related templates * refactor: rag backend main and mcp ingress --------- Co-authored-by: Melvin Klein <melvin.klein@stackit.cloud>
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 the ability to upload and process content from sitemaps in the admin application. It includes updates to the
DocumentAPI, the Vuex store, and the frontend components to support sitemap configuration, error handling, and user interface changes.Backend Changes:
SitemapConfiginterface: Defined a new configuration interface for sitemaps, including fields forwebPath,filterUrls,headerTemplate, andname. (frontend/libs/admin-app/data-access/document.api.ts, frontend/libs/admin-app/data-access/document.api.tsR19-R26)loadSitemapmethod inDocumentAPI: Added logic to process sitemap configurations, validate inputs, and send a request to the backend. Includes error handling for invalid JSON and missing parameters. (frontend/libs/admin-app/data-access/document.api.ts, frontend/libs/admin-app/data-access/document.api.tsR73-R112)Store Updates:
useDocumentsStore: AddedisLoadingSitemapstate,loadSitemapmethod, and includedloadSitemapin the returned store object. (frontend/libs/admin-app/data-access/+state/documents.store.ts, [1] [2] [3]Frontend Enhancements:
DocumentUploadContainer.vue:sitemapName,sitemapWebPath, etc.) for user input. (frontend/libs/admin-app/feature-document/DocumentUploadContainer.vue, frontend/libs/admin-app/feature-document/DocumentUploadContainer.vueR26-R31)handleSitemapUploadfunction to trigger theloadSitemapstore method. (frontend/libs/admin-app/feature-document/DocumentUploadContainer.vue, frontend/libs/admin-app/feature-document/DocumentUploadContainer.vueR82-R91)frontend/libs/admin-app/feature-document/DocumentUploadContainer.vue, [1] [2]Localization Updates:
frontend/libs/i18n/admin/en.json, [1] [2]Submodule Update:
rag-core-librarysubmodule: Advanced the submodule to a newer commit. (rag-core-library, rag-core-libraryL1-R1)