feat(platform): emoji span guildCount for Phase 579 (v0.8.542)

Extend emoji.create, emoji.delete, and emoji.stage span ends with
guildCount metadata for hub live panel and dev-log correlation.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-24 15:51:49 -04:00
co-authored by Cursor
parent 5b1d8437ff
commit 5d3b29676d
2 changed files with 8 additions and 3 deletions
+2
View File
@@ -67,6 +67,8 @@ Expose a single `EventEmitter` API the UI drives over IPC (`apps/pearcord/index.
**v0.8.505 (Phase 542):** Sticker spans extend — `sticker.create`/`sticker.delete`/`sticker.stage`/`sticker.send` with `spanKind` + `activeChannelId`. UI split sticker compositor panels, `lastStickerTileName`, dedicated **sticker-errors** dev-log filter. Bundle: `npm run test:phase542-stickers`. See [STICKERS.md](../../docs/STICKERS.md).
**v0.8.542 (Phase 579):** Emoji spans extend — `guildCount` on `emoji.create`/`emoji.delete`/`emoji.stage`. UI `#emoji-hub-panel-live` + `syncEmojiHubLivePanelDuringGuildLoading`; **emoji-errors** excludes audit/compliance/slash/webhook/bot/automation bleed; clipboard `emojiHubPanelLiveBusy`/`channelEmojiCount`. Bundle: `npm run test:phase579-emoji`. See [EMOJI.md](../../docs/EMOJI.md).
**v0.8.504 (Phase 541):** Emoji spans extend — `emoji.upsert` ends with `spanKind: 'emoji.create'`; new `emoji.delete` + `emoji.stage` spans with `activeChannelId`. UI split emoji compositor panels, picker tile `lastEmojiTileName`, clipboard emoji busy flags. Bundle: `npm run test:phase541-emoji`. See [EMOJI.md](../../docs/EMOJI.md).
**v0.8.541 (Phase 578):** Automation spans extend — `guildCount` on `automation.hook`/`automation.dispatch`/`automation.manifest`/`automation.hook.dryRun`. UI `#automation-hub-panel-live` + `syncAutomationHubLivePanelDuringGuildLoading`; **automation-errors** excludes audit/compliance/slash/webhook/bot bleed; clipboard `automationHubPanelLiveBusy`/`channelAutomationHookCount`. Bundle: `npm run test:phase578-automation`. See [AUTOMATION_EXPORT.md](../../docs/AUTOMATION_EXPORT.md).
+6 -3
View File
@@ -8935,7 +8935,8 @@ class PearcordPlatform extends EventEmitter {
guildId,
attachmentId: att?.id || null,
spanKind: 'emoji.stage',
activeChannelId: this.activeChannelId
activeChannelId: this.activeChannelId,
guildCount: (this.guilds || []).length
})
return att
} catch (err) {
@@ -9032,7 +9033,8 @@ class PearcordPlatform extends EventEmitter {
kind: row.kind || 'unicode',
guildId,
spanKind: 'emoji.create',
activeChannelId: this.activeChannelId
activeChannelId: this.activeChannelId,
guildCount: (this.guilds || []).length
})
return row
} catch (err) {
@@ -9075,7 +9077,8 @@ class PearcordPlatform extends EventEmitter {
name: removed.name,
guildId,
spanKind: 'emoji.delete',
activeChannelId: this.activeChannelId
activeChannelId: this.activeChannelId,
guildCount: (this.guilds || []).length
})
return removed
} catch (err) {