Skip to content

Federation tab#407

Draft
sandhose wants to merge 9 commits into
mainfrom
quenting/federation-tab
Draft

Federation tab#407
sandhose wants to merge 9 commits into
mainfrom
quenting/federation-tab

Conversation

@sandhose
Copy link
Copy Markdown
Member

@sandhose sandhose commented Mar 24, 2026

WIP

@sandhose sandhose force-pushed the quenting/federation-tab branch from a5fe3f4 to 9e5495f Compare March 24, 2026 16:38
sandhose and others added 9 commits June 1, 2026 19:02
…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>
@sandhose sandhose force-pushed the quenting/federation-tab branch from 9e5495f to 53ab340 Compare June 1, 2026 17:02
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.

1 participant