Repository navigation
[8.0] Add Gauge template page for the gauge Component - #994
Open
promptless-for-oss wants to merge 1 commit into
Open
promptless-for-oss wants to merge 1 commit into
promptless-for-oss wants to merge 1 commit into
Conversation
promptless-for-oss
requested review from
a team,
adiati98 and
favour-chibueze
November 26, 2026 18:17
Contributor
Author
|
The build check failed on commit
|
andersonjeccel
approved these changes
Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open in Promptless
Description
Documents, for the 8.0 docs, the gauge Component that mautic/mautic#18231 adds, so Plugin developers can show a share, score, or amount out of a total the same way the Segment Campaign share tab does.
Adds a Gauge template page under Design templates (
docs/design_templates/gauge.rst) and lists it in the Design templates navigation. The page matches the 7.3 version in #943 and covers:@MauticCore/Components/gauge.html.twig, showing a percentage or an amount out of a total, and the loading state.label,value,total,type,size,color,status,unit,showValue,delta,font,className,id) with types and defaults, and the fill animation that browsers set to reduce motion skip.Mautic.updateGauge()for filling a gauge from AJAX responses, with the Campaign share tab as the example.Validation
.vale.ini): no errors or warnings; 2 suggestion-levelGoogle.Acronymshits on ARIA, which the page spells out on first use.Linked issue
Related to mautic/mautic#18231, merged into
7.x. Its change reaches8.xwith the next upmerge. The 7.3 version of this page is in #943.Screenshots or screen recordings
Not applicable - text-only change.
Trigger Events