mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:40:19 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user