Use rocket icon and show site title in nsite action headers

Changes 'deployed an nsite' to 'deployed Ditto' (or whatever the
title tag contains) and swaps the Globe icon for a Rocket.
This commit is contained in:
Alex Gleason
2026-03-24 20:27:11 -05:00
parent 6b2de0f2c1
commit 81fe69dc6b
+11 -9
View File
@@ -5,8 +5,8 @@ import {
FileText,
GitBranch,
GitPullRequest,
Globe,
MessageCircle,
Rocket,
MoreHorizontal,
Package,
Palette,
@@ -1668,16 +1668,18 @@ const KIND_HEADER_MAP: Record<number, KindHeaderConfig> = {
nounRoute: "/development",
},
15128: {
icon: Globe,
action: "deployed an",
noun: "nsite",
nounRoute: "/development",
icon: Rocket,
action: (tags) => {
const title = tags.find(([n]) => n === "title")?.[1];
return title ? `deployed ${title}` : "deployed an nsite";
},
},
35128: {
icon: Globe,
action: "deployed an",
noun: "nsite",
nounRoute: "/development",
icon: Rocket,
action: (tags) => {
const title = tags.find(([n]) => n === "title")?.[1];
return title ? `deployed ${title}` : "deployed an nsite";
},
},
};