From 2a9d19323c4e132b51d582349d204620e15a1016 Mon Sep 17 00:00:00 2001 From: Alex Freska Date: Thu, 9 Jan 2025 10:17:51 -0500 Subject: [PATCH] fix(hostd): net address and wallet address view on siascan changes --- .changeset/funny-icons-grab.md | 5 +++++ .changeset/silly-vans-film.md | 5 +++++ apps/hostd/components/Profile/index.tsx | 1 + libs/units/src/entityTypes.ts | 1 - 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .changeset/funny-icons-grab.md create mode 100644 .changeset/silly-vans-film.md diff --git a/.changeset/funny-icons-grab.md b/.changeset/funny-icons-grab.md new file mode 100644 index 000000000..a5107e0f6 --- /dev/null +++ b/.changeset/funny-icons-grab.md @@ -0,0 +1,5 @@ +--- +'hostd': minor +--- + +The host net address context menu no longer has a view on siascan option. Closes https://github.com/SiaFoundation/hostd/issues/554 diff --git a/.changeset/silly-vans-film.md b/.changeset/silly-vans-film.md new file mode 100644 index 000000000..9247ea718 --- /dev/null +++ b/.changeset/silly-vans-film.md @@ -0,0 +1,5 @@ +--- +'hostd': minor +--- + +The host wallet address context menu now has a view on siascan option. diff --git a/apps/hostd/components/Profile/index.tsx b/apps/hostd/components/Profile/index.tsx index 643273d68..f4d2c5f0f 100644 --- a/apps/hostd/components/Profile/index.tsx +++ b/apps/hostd/components/Profile/index.tsx @@ -112,6 +112,7 @@ export function Profile() { maxLength={24} value={wallet.data?.address} type="address" + siascanUrl={siascanUrl} /> diff --git a/libs/units/src/entityTypes.ts b/libs/units/src/entityTypes.ts index 27fad01dc..4ac6739e8 100644 --- a/libs/units/src/entityTypes.ts +++ b/libs/units/src/entityTypes.ts @@ -47,7 +47,6 @@ export function getEntityDisplayLength(type?: EntityType): number { export function doesEntityHaveSiascanUrl(type?: EntityType) { const includeList: EntityType[] = [ - 'hostIp', 'hostPublicKey', 'contract', 'address',