Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
node: Change node web config metadata fields
Merged rudolfs opened 1 year ago

To match the new design requirements.

1 file changed +4 -4 4a497fa6 a831e18a
modified radicle/src/web.rs
@@ -10,12 +10,12 @@ use crate::prelude::RepoId;
pub struct Config {
    /// Pinned content.
    pub pinned: Pinned,
-
    /// URL pointing to an image for the node.
+
    /// URL pointing to an image used in the header of the node page in radicle-explorer.
    #[serde(default, skip_serializing_if = "Option::is_none")]
-
    pub image_url: Option<String>,
-
    /// Node name.
+
    pub banner_url: Option<String>,
+
    /// URL pointing to an image used as the node avatar in radicle-explorer.
    #[serde(default, skip_serializing_if = "Option::is_none")]
-
    pub name: Option<String>,
+
    pub avatar_url: Option<String>,
    /// Node description.
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,