Skip to content

No indicator when event log entries are silently trimmed #592

Closed

Description

@haiphucnguyen

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.

Activity

  1. MrChatterjee98 commented on Aug 7, 2026

    @MrChatterjee98
    Contributor

    @haiphucnguyen can you assign this to me? I have started this.

  2. haiphucnguyen commented on Aug 7, 2026

    @haiphucnguyen
    CollaboratorAuthor

    Thank you @MrChatterjee98 . Assigned it to you

  3. added
    enhancement
    on Aug 7, 2026
  4. MrChatterjee98 commented on Aug 9, 2026

    @MrChatterjee98
    Contributor

    @haiphucnguyen I noticed a few things, while resolving this issue I thought I should highlight

    1. right here the logs are only logging the developer events, but I had only encountered very of them hence during testing I have to switch to internal events to ensure I have enough events to actually test things.

      EventBus.developerEvents.collect { event ->

    2. Right here we have a hard-coded limit, is that by design? if not then I can simply add a config with which we can control this.

      if (eventLogEvents.size > 100) {

    3. when I am seeing the event log window separately , I have no option to clear the events, while during the docked modes that 'clean events' icon is present. is that expected?

    These are things I noticed and would like to hear your thoughts 😄

  5. haiphucnguyen commented on Aug 10, 2026

    @haiphucnguyen
    CollaboratorAuthor

    Closed by #623

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementgood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions