Skip to content

feat: add Status column to checkout forms list table#966

Merged
superdav42 merged 1 commit intomainfrom
feature/checkout-form-status-column
Apr 29, 2026
Merged

feat: add Status column to checkout forms list table#966
superdav42 merged 1 commit intomainfrom
feature/checkout-form-status-column

Conversation

@superdav42
Copy link
Copy Markdown
Collaborator

@superdav42 superdav42 commented Apr 28, 2026

Summary

  • Adds an Active/Inactive status badge column to the Checkout Forms list page (wp-ultimo-checkout-forms)
  • Admins can now immediately see which forms are disabled without opening each one
  • Follows the existing badge pattern used by memberships and broadcasts

The checkout element shows "Registration is not available at this time" when a form is inactive, but previously there was no way to see this from the list page.


aidevops.sh v3.13.6 plugin for OpenCode v1.3.17 with claude-opus-4-6 spent 18m and 5,397 tokens on this with the user in an interactive session.

Summary by CodeRabbit

  • New Features
    • Added a Status column to the checkout form list, displaying whether each form is active or inactive with visual indicators (green for active, red for inactive).

Shows Active/Inactive badge on the checkout forms list page so admins
can immediately see which forms are disabled without opening each one.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 28, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: cea2c632-4942-4be7-88eb-a8b3abe22463

📥 Commits

Reviewing files that changed from the base of the PR and between 21d7b06 and 69368bf.

📒 Files selected for processing (1)
  • inc/list-tables/class-checkout-form-list-table.php

📝 Walkthrough

Walkthrough

A Status column is added to the checkout form list table, displaying each form's active or inactive state with styled labels. The column_active() method is introduced to render the status, and get_columns() is updated to register the new column.

Changes

Cohort / File(s) Summary
Checkout Form List Table
inc/list-tables/class-checkout-form-list-table.php
Adds column_active() method to display form status (Active/Inactive with color styling) and registers the new Status column in get_columns().

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

A status column springs to light,
With "Active" green and "Inactive" bright,
The forms now show their state with flair,
A hop, a skip, perfection's there! 🐰✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: adding a Status column to the checkout forms list table. It is concise, specific, and clearly summarizes the primary modification.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/checkout-form-status-column

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@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

@github-actions
Copy link
Copy Markdown

Performance Test Results

Performance test results for 262c4fe are in 🛎️!

Note: the numbers in parentheses show the difference to the previous (baseline) test run. Differences below 2% or 0.5 in absolute values are not shown.

URL: /

Run DB Queries Memory Before Template Template WP Total LCP TTFB LCP - TTFB
0 41 37.78 MB 866.00 ms 159.50 ms 1130.00 ms (+44.50 ms / +4% ) 2090.00 ms 2006.75 ms 83.10 ms (+2.45 ms / +3% )
1 56 49.03 MB 940.00 ms 146.00 ms 1086.50 ms 2060.00 ms 1983.05 ms 77.05 ms (+2.00 ms / +3% )

@superdav42 superdav42 merged commit 7ea1e26 into main Apr 29, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant