Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat(notifications): label model comments instead of dropping them into other

nirholasd937a10370d6
diff --git a/src/notifications-page.js b/src/notifications-page.js
index 28c2a02fb..585f88ab9 100644
--- a/src/notifications-page.js
+++ b/src/notifications-page.js
@@ -18,8 +18,9 @@ const TYPE_CATEGORY = {
pump_launch_filled: 'sales', royalty_paid: 'sales',
skill_purchase_confirmed: 'purchases', asset_purchase_confirmed: 'purchases',
skill_gift_received: 'purchases', skill_gift_sent: 'purchases',
- remix: 'social', reply: 'social', embed: 'social', mention: 'social', fork: 'social',
- follow: 'social', dm_received: 'social', agent_review: 'social', quest_complete: 'social',
+ remix: 'social', reply: 'social', comment: 'social', embed: 'social', mention: 'social',
+ fork: 'social', follow: 'social', dm_received: 'social', agent_review: 'social',
+ quest_complete: 'social',
irl_interaction: 'irl', irl_reply: 'irl',
pump_alert: 'alerts',
forge_complete: 'creations', forge_failed: 'creations',
diff --git a/src/notifications.js b/src/notifications.js
index 2a5742f3a..287210b6a 100644
--- a/src/notifications.js
+++ b/src/notifications.js
@@ -136,6 +136,10 @@ export function notifLabel(n) {
return p.actor ? `${p.actor} reviewed your agent${p.rating ? ` (${p.rating}★)` : ''}` : `Your agent received a new review`;
case 'reply':
return `New reply on your agent`;
+ case 'comment':
+ return p.preview
+ ? `${p.actor || 'Someone'} commented on your model: “${String(p.preview).slice(0, 80)}”`
+ : `${p.actor || 'Someone'} commented on your model`;
case 'irl_interaction':
if (p.kind === 'pay') {
const amt = irlPayLabel(p.amount, p.currency_mint);