Skip to content

fix(log): keep the debug log after saving it - #590

Merged
stylesuxx merged 2 commits into
stylesuxx:developfrom
Jschmiedd:fix/keep-log-after-save
Nov 14, 2026
Merged

stylesuxx merged 2 commits into
stylesuxx:developfrom
Jschmiedd:fix/keep-log-after-save

Conversation

@Jschmiedd

Copy link
Copy Markdown

"Save Debug Log" cleared the log right after downloading it. A second save, for example after a test that goes wrong, then no longer holds the start of the session, which is often what is needed to understand what happened.

Keep the log after saving it: "Clear Debug Log" is still there to clear it on purpose. That button is disabled while flashing, so the log of a flash in progress can not be lost by mistake.

Tests: the log is kept after saving; the clear button is disabled and clears nothing while flashing.

"Save Debug Log" cleared the log right after downloading it. A second
save, for example after a test that goes wrong, then no longer holds the
start of the session, which is often what is needed to understand what
happened.

Keep the log after saving it: "Clear Debug Log" is still there to clear
it on purpose. That button is disabled while flashing, so the log of a
flash in progress can not be lost by mistake.

Tests: the log is kept after saving; the clear button is disabled and
clears nothing while flashing.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Comment thread src/Components/Log/index.jsx Outdated

dispatch(clearLog());
}, [dispatch, log]);
// The log is kept after saving it, so that a later save still holds the

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implicit. Please remove this comment.

@Jschmiedd
Jschmiedd marked this pull request as ready for review November 13, 2026 22:15
@stylesuxx
stylesuxx merged commit 8ed7caa into stylesuxx:develop Nov 14, 2026
2 checks passed
Jschmiedd pushed a commit to Jschmiedd/esc-configurator that referenced this pull request Nov 14, 2026
As asked in the review of stylesuxx#590 and stylesuxx#592: no comment where the code is
explicit enough.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VvqUCsXEtnF7V6bZuqbME7
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.

3 participants