swarm-ui: build the forge link from swarm.forge.domain
The swarm-controller builds the Forge quick link from services.hyperhive.swarm.forge.domain, replacing hive-forge/default.nix's per-host entry, so all seven swarm-service links come from swarm-level options. Also drops the remaining references to the removed matrix GUI switch: the HiveUrls / Urls / hive_urls docs, the hivectl.md `open` note and the gateway.md vhost-map rows, which name `gatewayHost` instead. The grafana, victoriametrics and victorialogs modules' comments no longer mention a quick-link they do not define. Refs #4885
This commit is contained in:
parent
6786d54e5a
commit
72e9e1bb4a
11 changed files with 25 additions and 31 deletions
|
|
@ -213,7 +213,7 @@ pub enum HostRequest {
|
|||
/// forge / matrix URLs, daemon-sourced so custom forge/matrix
|
||||
/// domains resolve correctly. Each URL is `None` when its subsystem
|
||||
/// is unreachable from a browser (e.g. forge `publicUrl` null,
|
||||
/// matrix GUI disabled). Backs `hivectl open` + the federation
|
||||
/// matrix `gatewayHost` null). Backs `hivectl open` + the federation
|
||||
/// peer-config block (which reads the bare `domain`).
|
||||
Urls,
|
||||
/// Fetch one or more job-queue nodes plus their live subtrees, as
|
||||
|
|
@ -451,7 +451,7 @@ impl LifecycleScope {
|
|||
/// This hive's canonical domain plus the browser-facing URLs for its
|
||||
/// web surfaces — the `Urls` request result. Every field is `None` when
|
||||
/// the corresponding surface can't be reached from a browser (domain
|
||||
/// unset, forge `publicUrl` null, matrix GUI disabled), so the CLI
|
||||
/// unset, forge `publicUrl` null, matrix `gatewayHost` null), so the CLI
|
||||
/// can give a precise hint instead of opening a dead link.
|
||||
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
|
||||
pub struct HiveUrls {
|
||||
|
|
@ -465,8 +465,8 @@ pub struct HiveUrls {
|
|||
/// `swarm.forge.publicUrl` is `null`.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub forge: Option<String>,
|
||||
/// Matrix GUI (fluffychat) browser URL — `None` when the matrix GUI
|
||||
/// is disabled.
|
||||
/// Matrix GUI (fluffychat) browser URL — `None` when
|
||||
/// `swarm.matrix.gatewayHost` is `null`.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub matrix: Option<String>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue