Feature: Federated Capture/Dataset web UI display - #346
Merged
Merged
Conversation
klpoland
force-pushed
the
feature-kpoland-federation-ui-alignment
branch
from
September 16, 2026 19:51
32e0f40 to
3ac4054
Compare
klpoland
marked this pull request as ready for review
September 17, 2026 13:07
mjcurran
approved these changes
Sep 17, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cdadd64. Configure here.
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 feature adds logic and fixes UI bugs for displaying capture and dataset details from federated opensearch indices in the web UI to users (no downloads, metadata only).
Note
Medium Risk
Changes federation visibility and list-merge behavior (local vs OpenSearch) across capture/dataset surfaces; incorrect filters could hide or duplicate assets, and
is_federatedmodel properties add per-request OpenSearch lookups.Overview
Extends fed-datasets and fed-captures OpenSearch mappings and export payloads (e.g.
owner_name, visibility flags, timestamps) so peer documents match what the gateway lists and modals expect.Federated search now builds bool queries with
must_notrules: exclude deleted docs, hide non-public datasets, requirepublic_dataset_idsfor peer captures, and always exclude the local site so Postgres remains authoritative for on-host assets.List UX is unified via shared
list_helpers: local and peer rows merge with UUID dedup (local wins), capture lists add published-discovery and federated badges plus an Owner column, and dataset/user lists pull peer hits through the same helpers. The standalone capture list JSON API is removed; legacy/users/file-list/api/redirects to the capture list page.Details modals accept
?federated_peer=trueto load metadata from OpenSearch (read-only capture names, no visualize for peer DRF). Front-end wiring setsdata-federated-peeron list links accordingly.Export adds
owner_nameon captures and ISO-8601 datetimes inCaptureFederationSerializer; regression tests cover mapping fields and search-body construction.Reviewed by Cursor Bugbot for commit cdadd64. Bugbot is set up for automated code reviews on this repo. Configure here.