Skip to content

feat: cancel auto-delete timer when log entry is selected#275

Merged
antfu merged 2 commits intovitejs:mainfrom
JianJroh:feat/logs-cancel-auto-delete-on-select
Apr 1, 2026
Merged

feat: cancel auto-delete timer when log entry is selected#275
antfu merged 2 commits intovitejs:mainfrom
JianJroh:feat/logs-cancel-auto-delete-on-select

Conversation

@JianJroh
Copy link
Copy Markdown
Contributor

@JianJroh JianJroh commented Apr 1, 2026

Description

Before

Log entries with autoDelete timer get removed even when the user is inspecting them.

After

Selecting a log entry cancels its auto-delete timer, preventing it from disappearing during inspection.

Additional context

The playground log form now includes autoDelete and autoDismiss fields to make it easier to test this behavior.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 1, 2026

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/@vitejs/devtools@275

@vitejs/devtools-kit

npm i https://pkg.pr.new/@vitejs/devtools-kit@275

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/@vitejs/devtools-rolldown@275

@vitejs/devtools-rpc

npm i https://pkg.pr.new/@vitejs/devtools-rpc@275

@vitejs/devtools-self-inspect

npm i https://pkg.pr.new/@vitejs/devtools-self-inspect@275

commit: 176a754

@antfu antfu merged commit 923e9f9 into vitejs:main Apr 1, 2026
6 checks passed
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.

2 participants