mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 02:00:31 +08:00
Support editing the radicle id
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
@@ -77,6 +77,9 @@
|
||||
{ name: "github", validate: "handle", label: "GitHub", placeholder: "GitHub username, eg. 'acme'",
|
||||
description: "The GitHub username associated with this name.",
|
||||
value: r.profile.github, editable: true },
|
||||
{ name: "id", label: "Radicle", validate: "identity", placeholder: "Radicle URN, eg. rad:git:hnrkqdpm9ub19oc8d...",
|
||||
description: "The local radicle identity associated with this name.",
|
||||
value: r.profile.id, editable: true },
|
||||
{ name: "seed.host", label: "Seed Host", validate: "domain", placeholder: "seed.acme.org",
|
||||
url: r.profile.seed && `/seeds/${r.profile.seed.host}`,
|
||||
description: "The seed host address. " +
|
||||
|
||||
@@ -34,6 +34,7 @@ export async function setRecords(name: string, records: EnsRecord[], resolver: E
|
||||
iface.encodeFunctionData("setText", [node, "com." + r.name, r.value])
|
||||
);
|
||||
break;
|
||||
case "id":
|
||||
case "seed.id":
|
||||
case "seed.host":
|
||||
case "seed.git":
|
||||
|
||||
Reference in New Issue
Block a user