Repository navigation
Add Gauge template page for the gauge Component - #943
Open
promptless-for-oss wants to merge 3 commits into
Open
promptless-for-oss wants to merge 3 commits into
promptless-for-oss wants to merge 3 commits into
Conversation
promptless-for-oss
marked this pull request as ready for review
November 26, 2026 18:09
promptless-for-oss
requested review from
a team,
adiati98 and
favour-chibueze
November 26, 2026 18:09
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 the new gauge Component from mautic/mautic#18231 so Plugin developers can show a share, score, or amount out of a total the same way the Segment Campaign share tab does.
@MauticCore/Components/gauge.html.twig, show a percentage or an amount out of a total, and use the loading state.label,value,total,type,size,color,status,unit,showValue,delta,font,className,id) with types and defaults.Mautic.updateGauge()for filling a gauge from AJAX responses, with the Campaign share tab as the example, including loading when that tab is already active.Verification: checked every option and default against the template and JavaScript at the PR's merged head commit; Vale shows no errors.
Linked issue
Source PR: mautic/mautic#18231 (merged into
7.x).Screenshots or screen recordings
None. This is a developer reference page.
Trigger Events