Skip to content

GH#2154: fix: wrap long customer email on thank-you page - #2155

Merged
superdav42 merged 1 commit into
mainfrom
feature/auto-20261125-175651-gh2154
Nov 26, 2026
Merged

superdav42 merged 1 commit into
mainfrom
feature/auto-20261125-175651-gh2154

Conversation

@superdav42

@superdav42 superdav42 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add wu-min-w-0 to info grid items and replace the non-existent wu-break-all with an inline overflow-wrap rule so long emails wrap instead of overlapping Total

Files Changed

views/dashboard-widgets/thank-you.php

Runtime Testing

  • Risk level: Medium
  • Verification: self-assessed — php -l and pre-commit phpcs/phpstan pass

Resolves #2154


aidevops.sh v3.39.189 plugin for OpenCode v1.19.5 with claude-sonnet-5-5 spent 1m and 1,931 tokens on this as a headless worker.

Summary by CodeRabbit

  • Style
    • Improved wrapping of long email addresses and order details on the thank-you page, helping prevent content from overflowing in completed and pending payment views.

@superdav42 superdav42 added the origin:worker Auto-created by pulse labelless backfill (t2112) label Nov 26, 2026
@superdav42

superdav42 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator Author

Completion Summary

  • What: Add wu-min-w-0 to info grid items and replace the non-existent wu-break-all with an inline overflow-wrap rule so long emails wrap instead of overlapping Total
  • Issue: Thank-you page: long customer email overlaps the Total column #2154
  • Files changed: views/dashboard-widgets/thank-you.php
  • Testing: php -l and pre-commit phpcs/phpstan pass
  • Key decisions: none

aidevops.sh v3.39.189 plugin for OpenCode v1.19.5 with claude-sonnet-5-5 spent 1m and 1,931 tokens on this as a headless worker.


Merged via PR #2155 to main.
Merged by deterministic merge pass (pulse-wrapper.sh).

Routing feedback

  • Route: standard; 2 attempts, 15 LLM requests, 0 capability escalations, 1 same-tier fallback.
  • Population: headless; 0 objective outcomes.
  • Usage: 941,286 tokens; $0.2793 estimated cost.
  • Recommendation: No routing change is recommended from this sample.

@ultimate-multisite ultimate-multisite Bot added the status:in-review Non-draft PR ready for review/merge label Nov 26, 2026
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The thank-you page adds wu-min-w-0 to order-detail items in the completed and pending payment views. Email values in both views replace wu-break-all with inline overflow-wrap: anywhere and word-break: break-word styles.

Changes: Thank-you detail layout

Layer / File(s) Summary
Update order-detail wrapping
views/dashboard-widgets/thank-you.php
Completed and pending payment details add wu-min-w-0 to list items. Both email values use inline wrapping rules instead of wu-break-all.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix · Severity of issue fixed: Medium

Merge Risk: Minimal · up to 3aa7e

This change makes long customer emails wrap on the thank-you page so they no longer overlap the Total column. It is limited to display styling in one template, and the risk of regression is low. Merging is reasonable, though a quick visual check at the requested widths is advisable.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #2154 requires that long emails wrap inside their column, and that the grid items can shrink (min-width: 0), in both info blocks of views/dashboard-widgets/thank-you.php. The diff covers both bl… Confirm that wu-min-w-0 is defined in the compiled stylesheet used by the thank-you page (for example, a rule in assets/css/framework.css or framework.min.css), or add an equivalent min-width: 0 rule. Then verify the wrap and non-overlap at…
Passed Passed checks: 3 passed

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: wrapping long customer emails on the thank-you page. The raw summary confirms the template change adds wu-min-w-0 and replaces wu-break-all with inline wrapping rules …
Out of Scope Changes check Passed The whole-PR diff (merge base 8b996de to head 3aa7e33) changes only views/dashboard-widgets/thank-you.php. Every hunk changes either a grid item's class (wu-min-w-0 on
  • ) or an email span's class/s…
  • Full details: Title check

    Explanation

    The title names the main change: wrapping long customer emails on the thank-you page. The raw summary confirms the template change adds wu-min-w-0 and replaces wu-break-all with inline wrapping rules in views/dashboard-widgets/thank-you.php. The linked issue #2154 asks for the same fix. The title's 'GH#2154' prefix is a ticket reference and does not hurt clarity.

    Full details: Out of Scope Changes check

    Explanation

    The whole-PR diff (merge base 8b996de to head 3aa7e33) changes only views/dashboard-widgets/thank-you.php. Every hunk changes either a grid item's class (wu-min-w-0 on <li>) or an email span's class/style (wu-break-all replaced by inline overflow-wrap rules). All hunks are in the two info blocks named by #2154. No unrelated changes, assets, or declarations were found.

    Full details: Linked Issues check

    Explanation

    Issue #2154 requires that long emails wrap inside their column, and that the grid items can shrink (min-width: 0), in both info blocks of views/dashboard-widgets/thank-you.php. The diff covers both blocks. All four email-related or grid-item changes are present: the <li> items in both blocks gained class wu-min-w-0, and both email spans replaced wu-break-all with inline style 'overflow-wrap: anywhere; word-break: break-word;'. The inline overflow-wrap rule is a plausible fix for the wrapping requirement. The issue allows either a CSS utility or an existing class. However, the PR does not show that wu-min-w-0 exists in the compiled CSS. The assets/css files were listed but not read, and the framework.css read would be truncated. If the class is absent, the min-width: 0 part of the fix has no effect. The issue's acceptance criteria (checkout with a 30+ character email, checked at 1366px and 390px) are visual checks. The PR notes they were not performed; the verification is self-assessed as php -l and phpcs/phpstan only.

    Resolution

    Confirm that wu-min-w-0 is defined in the compiled stylesheet used by the thank-you page (for example, a rule in assets/css/framework.css or framework.min.css), or add an equivalent min-width: 0 rule. Then verify the wrap and non-overlap at 1366px and 390px, as the issue requires.

    Finishing Touches

    Generate unit tests (beta)

    • Commit to this branch
    • Create a new PR
    • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

    Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

    Share

    Recent review info

    Run configuration

    • Source mode: Auto
    • Repository: Unavailable
    • Branch: Unavailable
    • File: No configuration file from this repository applied
    • Commit: Unavailable
    • Layers: defaults
    • Review profile: CHILL
    • Plan: Advanced
    • Run ID: 443c1035-dfd0-449a-b0e8-669353a65f3e
    Commits

    Reviewing files that changed from the base of the PR and between 8b996de and 3aa7e33.

    Files selected for processing: 1

    • views/dashboard-widgets/thank-you.php

    Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

    @github-actions

    Copy link
    Copy Markdown

    🔨 Build Complete - Ready for Testing!

    📦 Download Build Artifact (Recommended)

    Download the zip build, upload to WordPress and test:

    🌐 Test in WordPress Playground (Very Experimental)

    Click the link below to instantly test this PR in your browser - no installation needed!
    Playground support for multisite is very limitied, hopefully it will get better in the future.

    🚀 Launch in Playground

    Login credentials: admin / password

    @superdav42
    superdav42 merged commit 7f1109d into main Nov 26, 2026
    15 checks passed
    @superdav42 superdav42 added status:done Task is complete review-feedback-scanned Merged PR already scanned for quality feedback and removed status:in-review Non-draft PR ready for review/merge labels Nov 26, 2026
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    origin:worker Auto-created by pulse labelless backfill (t2112) review-feedback-scanned Merged PR already scanned for quality feedback status:done Task is complete

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    Thank-you page: long customer email overlaps the Total column

    1 participant