Surface alliance renewal & rejection events in important-events panel

The notification panel splits events into a prominent tier-1 list and a
dim, auto-expiring tier-2 list (capped at 4 newest). Alliance renewal
requests ("X wants to renew your alliance") and alliance rejections were
landing in tier-2, making them easy to miss — you couldn't reliably tell
whether someone had requested a renewal or rejected your request.

Add RENEW_ALLIANCE and ALLIANCE_REJECTED to TIER_1_TYPES so they show
prominently alongside the already-tier-1 ALLIANCE_ACCEPTED event.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Evan Pelle
2026-06-20 03:08:45 +00:00
parent 2f594ebc26
commit c4f7b8e0c8
+2
View File
@@ -51,7 +51,9 @@ const TIER_1_TYPES: ReadonlySet<MessageType> = new Set([
MessageType.NAVAL_INVASION_INBOUND,
MessageType.ATTACK_REQUEST,
MessageType.ALLIANCE_ACCEPTED,
MessageType.ALLIANCE_REJECTED,
MessageType.ALLIANCE_BROKEN,
MessageType.RENEW_ALLIANCE,
MessageType.CONQUERED_PLAYER,
MessageType.CHAT,
MessageType.DONATION_RECEIVED,