Skip to content

docs: Update typography classes in code samples for Bootstrap 5 utilities (8.0) - #951

Merged
adiati98 merged 4 commits into
mautic:8.0from
Promptless:promptless/pr-18261-bootstrap-typography-8.0
Nov 30, 2026
Merged

adiati98 merged 4 commits into
mautic:8.0from
Promptless:promptless/pr-18261-bootstrap-typography-8.0

Conversation

@promptless-for-oss

@promptless-for-oss promptless-for-oss commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Open in Promptless

Motivation

mautic/mautic#18261 replaces Mautic's custom typography classes with Bootstrap 5 utilities on 8.x, so two developer-docs code samples now use classes that no longer exist.

Changes

  • docs/design_templates/protip.rst: per review feedback, the page no longer reproduces the ProTip Twig template, which carried the removed fw-b class. It now describes what the template renders: a bulb icon, a translatable 'ProTip' label, and the tip content.
  • docs/plugin_extensions/emails.rst: the A/B test bar chart sample uses text-secondary fw-semibold instead of the removed text-white dark-md fw-sb, text-secondary instead of text-white dark-sm, and text-end instead of the removed text-right. These match the core bargraph.html.twig template after the source PR.

Other classes in the bar chart sample, such as the spacing, ovf-h, and va-* utilities, are left for the docs work on mautic/mautic#17873.

Verification

  • Checked the bar chart replacements against PageBundle/.../AbTest/bargraph.html.twig at the source PR head.
  • Vale reports no new findings on the changed files.

Trigger Events

Comment thread docs/design_templates/protip.rst Resolved
Comment thread docs/plugin_extensions/emails.rst Resolved

@andersonjeccel andersonjeccel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one fix, approved

Comment thread docs/design_templates/protip.rst Resolved
@promptless-for-oss

Copy link
Copy Markdown
Contributor Author

In reply to this discussion

Thanks for the approval! I've applied the one fix you suggested on protip.rst and updated the PR description to match. Nothing else on the PR changed.

@promptless-for-oss

promptless-for-oss commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor Author

The build check failed on commit c2035f0, and this suggestion didn't cause it, so the PR is unchanged.

The Check links step failed because community.mautic.org is returning 500 server errors for two links on the docs home page (docs/index.rst, line 48):

  • https://community.mautic.org/processes/roadmap
  • https://community.mautic.org/assemblies/product-team

These links come from the 8.0 base branch. This PR only changes protip.rst and emails.rst. The check should pass when the site is back up and someone re-runs it with Re-run jobs. Until then, other PRs that check links against 8.0 fail the same way.

@adiati98
adiati98 merged commit e2fd9cf into mautic:8.0 Nov 30, 2026
4 checks passed
@promptless-for-oss
promptless-for-oss deleted the promptless/pr-18261-bootstrap-typography-8.0 branch November 30, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants