docs: Document tableheader.html.twig helper and its new tooltip parameter#594
Draft
promptless-for-oss wants to merge 1 commit into
Draft
docs: Document tableheader.html.twig helper and its new tooltip parameter#594promptless-for-oss wants to merge 1 commit into
promptless-for-oss wants to merge 1 commit into
Conversation
Adds a developer-docs page for the @MauticCore/Helper/tableheader.html.twig template, covering the new optional tooltip parameter (mautic/mautic #16517) and the helper's common parameters. Adds the page to the Design templates toctree and accepts the plural 'tooltips' in the Mautic vocabulary.
| Pass an optional ``tooltip`` key to show a tooltip when a User hovers over a column header. The tooltip works on plain non-sortable columns and on sortable or filterable columns, as well as the bulk-select checkbox column, which already supported it. | ||
|
|
||
| .. code-block:: twig | ||
|
|
Contributor
Author
There was a problem hiding this comment.
Documented the new optional tooltip key added to tableheader.html.twig in this PR, which extends data-toggle="tooltip" support from the bulk-select checkall column to plain non-sortable and sortable/filterable columns. The example usage and the |trans + html_attr escaping behavior come directly from the PR's template diff and description.
Source: mautic/mautic#16517
adiux
approved these changes
Jul 10, 2026
Contributor
Author
|
Just a reminder: I review PR comments by default. If you want me to ignore a specific comment, start it with |
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 this suggestion in Promptless to view citations and reasoning process
Adds a "Table header template" page under Design templates documenting the
@MauticCore/Helper/tableheader.html.twighelper, focused on the new optionaltooltipparameter added in mautic/mautic PR #16517. Covers how to add a header tooltip to any list column, the no-JS-setup behavior,html_attrescaping, and the helper's common parameters. Also registers the page in the toctree and accepts the plural "tooltips" in the Mautic vocabulary.Trigger Events
Tip: Worried about broken links? Ask Promptless to find and fix them automatically 🔗