Skip to content

chore(cards): sync css/card-widgets.css with the Cacti core Card API stylesheet - #101

Merged
TheWitness merged 1 commit into
developfrom
chore/sync-card-widgets-sparkline
Dec 3, 2026
Merged

TheWitness merged 1 commit into
developfrom
chore/sync-card-widgets-sparkline

Conversation

@somethingwithproof

Copy link
Copy Markdown
Member

Syncs the bundled css/card-widgets.css with Cacti core, as requested for Cacti/cacti#9088.

Merge after Cacti/cacti#9095, so the copy matches a merged core file. If the stylesheet changes in review there, I will re-sync this PR.

Verification (local): the new test passes under Pest with the plugin placed in a Cacti 1.2.x tree, and tests/bin/validate-manifest.php passes.

…stylesheet

Copy include/css/card-widgets.css from Cacti core 1.2.x as of Cacti/cacti#9095 (the port of Cacti/cacti#9088), which adds the card_sparkline() trend line styles. The bundled copy is loaded only when the running core does not ship the file.

Add a unit test that pins the copy's hash, checks the sparkline rules are present, and checks the load gate.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
@sonarqubecloud

sonarqubecloud Bot commented Dec 3, 2026

Copy link
Copy Markdown

@TheWitness
TheWitness merged commit bc7a166 into develop Dec 3, 2026
7 checks passed
@TheWitness
TheWitness deleted the chore/sync-card-widgets-sparkline branch December 3, 2026 03:34
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