Problem
The event log is capped at 100 entries. When the cap is reached, the oldest entry is silently removed. In Main.kt
if (eventLogEvents.size > 100) {
eventLogEvents.removeAt(100)
}
There is no visual indication that entries have been dropped, which can confuse developers using the event log to diagnose issues.
Suggested fix
Add a subtle, non-intrusive notice at the bottom of the event log panel — e.g. a dimmed text line: "Oldest entries have been trimmed (limit: 100)" - that appears only once the cap has been reached.
The change is contained within the event log panel composable and does not affect any business logic.
Problem
The event log is capped at 100 entries. When the cap is reached, the oldest entry is silently removed. In
Main.ktThere is no visual indication that entries have been dropped, which can confuse developers using the event log to diagnose issues.
Suggested fix
Add a subtle, non-intrusive notice at the bottom of the event log panel — e.g. a dimmed text line: "Oldest entries have been trimmed (limit: 100)" - that appears only once the cap has been reached.
The change is contained within the event log panel composable and does not affect any business logic.