p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

Auto-close Console When No Logs or Errors Exist

Open skyyash opened this issue 5 months ago • 3 comments

Increasing Access

this feature could reduce visual clutter and help users focus on their code by automatically hiding the console when it is no longer needed. beginners may find the interface less overwhelming after fixing errors, while experienced users benefit from a cleaner workspace.

Feature request details

currently, the console automatically opens when a sketch produces an error. after the error is fixed and the sketch is run again successfully, the console remains open even when there are no errors, warnings, or log messages.

it would be helpful if the console automatically closed when a sketch runs successfully and the console contains no log items. this would restore screen space and reduce the need for users to manually close the console after resolving an issue.

suggested behavior:

  1. open the console automatically when an error occurs.
  2. keep the console open if logs, warnings, or errors are present.
  3. automatically close the console when the sketch runs successfully and the console is empty.

skyyash avatar Jun 09 '26 07:06 skyyash

@skyash-dev @ksen0 can i take this one?

yashgoyal0110 avatar Jun 30 '26 18:06 yashgoyal0110

Hello! Please look for issues that are not labeled as "Awaiting Maintainer Approval", thanks for the understanding.

ksen0 avatar Jul 01 '26 07:07 ksen0

As an update: this would be a nice to have but given the volume of other work we're putting it "On Hold." However, if there is a lot of interest this one that gets expressed through discussion, we can prioritize it!

ksen0 avatar Oct 16 '26 15:10 ksen0