Skip to content

Fix incognito privacy throughout the history dialog - #37

Merged
Chreece merged 1 commit into
masterfrom
fix/incognito-history-20261106
Nov 6, 2026
Merged

Chreece merged 1 commit into
masterfrom
fix/incognito-history-20261106

Conversation

@Chreece

@Chreece Chreece commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Why

The history/trend dialog added numeric surfaces that the existing incognito selectors did not cover. Totals, changes, axes, statistics, and hover values could remain readable while the rest of the dashboard was hidden.

Changes

  • Replace history numeric text and accessible numeric labels with placeholders while incognito is active.
  • Keep deliberate per-field reveal, keyboard access, and the configured expiry/next-interaction remasking.
  • Remask when preferences, data, periods, metrics, zoom, or the dialog change.
  • Refresh the panel asset revision to 0.4.0-r50-main.
  • Add behavioral DOM regression tests and run them in CI using pinned LinkeDOM.

Validation

  • 126 tests passed on this master-based branch.
  • Python compilation, JavaScript syntax checks, and whitespace checks passed.
  • Browser rendering and a live Home Assistant installation were not verified: this environment blocked Chromium socket creation. The actual panel methods were exercised in LinkeDOM.

This change is limited to the normal dashboard privacy fix and its validation.

@Chreece
Chreece merged commit c065410 into master Nov 6, 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.

1 participant