Skip to content

test(themes): check active plugins across Cacti themes - #8519

Open
somethingwithproof wants to merge 5 commits into
developfrom
fix/plugin-theme-compatibility
Open

somethingwithproof wants to merge 5 commits into
developfrom
fix/plugin-theme-compatibility

Conversation

@somethingwithproof

@somethingwithproof somethingwithproof commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Closes #8518.

Adds 70 browser compatibility cases across Thold, MacTrack, Syslog, Alarm Manager, HMIB, FlowView and Monitor, covering ten theme variants including both Midwinter palettes. CI loads immutable first-party plugin revisions (tests/e2e/plugin-theme-revisions.json) and keeps contrast comparisons and populated desktop and mobile screenshots. Syslog runs its real theme-token sampling script, pinned to the merged result-surface commit from Cacti/plugin_syslog#429.

The matrix checks titlebar geometry, row-state link and status contrast, applicable Add icons, and a real jQuery UI details dialog. These are representative browser component fixtures; they do not run plugin backends or pollers. Syslog must meet 4.5:1. Other plugins must stay at or above their pinned baseline (capped at 4.5:1, or 3:1 for the Add icon), so existing palette deficits stay recorded instead of being hidden.

This PR adds tests, documentation and CI only; it changes no theme CSS, so it has no changelog fragment. The theme fix and its entries landed through #8712.

Validation: 70/70 plugin compatibility cases pass. actionlint and git diff --check pass.

This now targets develop. The original base branch's PR, #8511, was closed, and its theme changes reached develop through #8712. The branch was rebased onto develop with the same 11-file diff, and the 70 cases pass there.

@somethingwithproof
somethingwithproof marked this pull request as ready for review October 26, 2026 22:49
@somethingwithproof
somethingwithproof requested a review from a team as a code owner October 26, 2026 22:49
@somethingwithproof
somethingwithproof requested review from TheWitness and removed request for a team October 26, 2026 22:49
TheWitness
TheWitness previously approved these changes Oct 26, 2026
@somethingwithproof
somethingwithproof force-pushed the fix/plugin-theme-compatibility branch from 39c9629 to 6a9e982 Compare October 27, 2026 03:18
@somethingwithproof
somethingwithproof force-pushed the fix/paper-plane-theme-accessibility branch from 32d85fe to d8be302 Compare November 2, 2026 20:25
@somethingwithproof
somethingwithproof force-pushed the fix/plugin-theme-compatibility branch from 6a9e982 to cd35e7f Compare November 2, 2026 20:25
@TheWitness
TheWitness force-pushed the fix/plugin-theme-compatibility branch from cd35e7f to 6cd86ed Compare November 4, 2026 20:45
@somethingwithproof somethingwithproof added this to the v1.3.0 milestone Nov 13, 2026
@somethingwithproof somethingwithproof added bug Undesired behaviour plugins Plugin related issue gui UI related issue release:1.3 Namespaced Cacti workflow label labels Nov 13, 2026
@somethingwithproof somethingwithproof changed the title Test active plugins across Cacti themes and fix compatibility regressions test(themes): check active plugins across Cacti themes Nov 18, 2026
@somethingwithproof
somethingwithproof force-pushed the fix/plugin-theme-compatibility branch from 18fd8e2 to 4e31e4e Compare November 18, 2026 13:20
@somethingwithproof
somethingwithproof removed this pull request from stack #8489 November 18, 2026 13:21
@somethingwithproof
somethingwithproof changed the base branch from fix/paper-plane-theme-accessibility to develop November 18, 2026 13:21
@somethingwithproof
somethingwithproof force-pushed the fix/plugin-theme-compatibility branch from 4e31e4e to f76ab42 Compare November 19, 2026 09:25
@github-actions
github-actions Bot force-pushed the fix/plugin-theme-compatibility branch 2 times, most recently from 4a3fd7e to 11a0dea Compare November 20, 2026 08:51
@github-actions
github-actions Bot force-pushed the fix/plugin-theme-compatibility branch 6 times, most recently from c03a32c to d539daf Compare November 25, 2026 20:49
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
A stylesheet missing at the baseline commit was aborted silently, so the
before ratio came from an unstyled page and reset the regression floor.
The test now fails on any missing baseline file. Sunrise is measured on
its glow's #000 base color in both versions, because the contrast helper
no longer guesses colors for radial gradients.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
develop records changes as changelog.d fragments, and the theme stack
this branch was built on reached develop that way in #8712. A direct
CHANGELOG line would land among the feature entries and fail
check-changelog.py.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
The pinned e0ed9443b90c was the head of plugin_syslog#429, which was
squash-merged as 2a2c2e5f1a7f. The old commit is on no branch, so the
documented clone-and-checkout reproduction fails for Syslog. The merged
commit has the same css/ and js/ trees the fixture loads.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
…g fragment

The plugin compatibility page explained how the seven plugins were chosen, which does not help anyone run or read the matrix. The README section duplicated that page. The changelog.d/8518.issue fragment described a theme fix that reached develop through #8712; this pull request only adds tests.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
@github-actions
github-actions Bot force-pushed the fix/plugin-theme-compatibility branch from d539daf to ec3a161 Compare November 26, 2026 08:51
@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Undesired behaviour gui UI related issue plugins Plugin related issue release:1.3 Namespaced Cacti workflow label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preserve plugin titlebar layout and selected status contrast across themes

2 participants