Skip to content

feat: Implemented tech for enabling and disabling live diagnostics by tab - #402

Open
AlexDenfordSkyboxLabs wants to merge 1 commit into
mainfrom
sbl/alex.denford/diagnostics-enable
Open

feat: Implemented tech for enabling and disabling live diagnostics by tab#402
AlexDenfordSkyboxLabs wants to merge 1 commit into
mainfrom
sbl/alex.denford/diagnostics-enable

Conversation

@AlexDenfordSkyboxLabs

@AlexDenfordSkyboxLabs AlexDenfordSkyboxLabs commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

All live diagnostics are now disabled by default
Added a new button next to each tab for toggling the enable/disable
When diagnostics are disabled, the UI won't display and the extension tells Minecraft to not send the diagnostics data through to the extension.
We save the state of enabled/disabled of each each, to local disk so that it persists your settings/choices.

@frgarc frgarc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

<title>Minecraft Diagnostics</title>
<script nonce="${nonce}">
window.initialParams = { showReplayControls: ${showReplayControls} };
window.initialParams = ${JSON.stringify({ showReplayControls, diagnosticsTabStates })};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is this not receiving the object instead of the string?

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