Federation tab#407
Draft
sandhose wants to merge 9 commits into
Draft
Conversation
a5fe3f4 to
9e5495f
Compare
…ort) Add Synapse federation destination queries (list, detail, reset connection), SBG federation allowlist API client (CRUD + availability probe), and MSC1929 well-known/support fetcher for remote server contact info. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implements the "Known domains" tab showing Synapse federation destinations with status badges (Working/Failing/Inactive), and a detail sidebar with server info, retry stats, MSC1929 contact info, and reconnect button. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implements the "Allowed domains" tab with three states: - Non-Pro: marketing fallback with Federation feature card - Pro without SBG: informational alert about module not enabled - Pro with SBG: full allowlist management (add/remove domain patterns) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Wire an undocumented Synapse `destination=<term>` query param (which does a `LOWER(destination) LIKE '%<term>%'` match) into the known domains list as a debounced search box, mirroring the rooms list. Also fix compatibility with main after the rebase: migrate federation buttons from the dropped "sm" size to "md", rename the shadow-avoiding `baseOptions_` local, and satisfy the stricter consistent-return / no-unstable-nested-components lint rules. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Distinguish a destination that has never successfully delivered (last_successful_stream_ordering is null) from one that is genuinely working. Checked first so it takes precedence over the working/failing/ inactive states, shown with a blue badge in both the known-domains list and the detail sidebar. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add a button in the destination detail panel that opens https://federationtester.matrix.org/#<destination> in a new tab, for quick external diagnostics of a federation destination. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace the external link to the Matrix Federation Tester with an inline report fetched from its public CORS-enabled API (federationtester.matrix.org/api/report). Surface a focused subset: overall federation status, server software, .well-known delegation, and per-address connection checks/TLS plus any connection errors. The tester can be slow, so the report loads inside its own suspense boundary (with an error boundary + retry) and never blocks the rest of the detail panel. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
9e5495f to
53ab340
Compare
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.
WIP