Skip to content

feat: add a button to clear logs in the pod logs viewer#27149

Open
gcadoret wants to merge 1 commit intoargoproj:masterfrom
gcadoret:feature/add-clear-button-on-pod-log-viewer
Open

feat: add a button to clear logs in the pod logs viewer#27149
gcadoret wants to merge 1 commit intoargoproj:masterfrom
gcadoret:feature/add-clear-button-on-pod-log-viewer

Conversation

@gcadoret
Copy link
Copy Markdown

@gcadoret gcadoret commented Apr 3, 2026

Description

This PR introduces a small UX improvement to the pod logs viewer by adding a "Clear logs" button.

Currently, users need to refresh or navigate away to reset the displayed logs. This change provides a quick and intuitive way to clear the log output directly from the UI, which improves usability when working with noisy or continuously updating logs.

Scope

  • UI-only change (no backend or API impact)
  • Does not modify existing log fetching or filtering logic
  • Adds unit test coverage for the new behavior

Motivation

When debugging applications, logs can quickly become cluttered. Providing a clear action helps users focus on new incoming logs without extra navigation steps.


Checklist

  • This does not need to be in the release notes (small UX improvement)
  • The title of the PR is clear and follows the guidelines
  • Closes [ISSUE #] (not applicable)
  • UI updated (CLI not impacted)
  • Documentation update required? (not required)
  • Documentation updated (not required)
  • DCO sign-off added to commits
  • Unit and/or e2e tests added
  • Build is green
  • This PR includes a clear explanation of the change

@gcadoret gcadoret requested a review from a team as a code owner April 3, 2026 19:51
@bunnyshell
Copy link
Copy Markdown

bunnyshell bot commented Apr 3, 2026

🔴 Preview Environment stopped on Bunnyshell

See: Environment Details | Pipeline Logs

Available commands (reply to this comment):

  • 🔵 /bns:start to start the environment
  • 🚀 /bns:deploy to redeploy the environment
  • /bns:delete to remove the environment

@gcadoret gcadoret force-pushed the feature/add-clear-button-on-pod-log-viewer branch 3 times, most recently from 229b509 to 7451edd Compare April 6, 2026 21:15
Signed-off-by: Guillaume Cadoret <guillaume.cadoret@pluxeegroup.com>
@gcadoret gcadoret force-pushed the feature/add-clear-button-on-pod-log-viewer branch from 7451edd to 2f61225 Compare April 7, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant