-
Notifications
You must be signed in to change notification settings - Fork 233
Fix: add cancelled at #7736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Fix: add cancelled at #7736
Conversation
) Co-authored-by: WordPressFan <[email protected]>
Co-authored-by: WordPressFan <[email protected]>
# Conflicts: # wp-rocket.php
…o add a new page to be monitored (PR #7577) Co-authored-by: WordPressFan <[email protected]>
…e title in dashboard (PR #7583) Co-authored-by: WordPressFan <[email protected]>
…o be checked again (PR #7587)
Co-authored-by: WordPressFan <[email protected]>
…ore in the WP Rocket dashboard (PR #7631) Co-authored-by: WordPressFan <[email protected]> Co-authored-by: mostafa-hisham <[email protected]> Co-authored-by: WordPress Fan <[email protected]> Co-authored-by: Gaël Robin <[email protected]>
Co-authored-by: WordPressFan <[email protected]>
# Conflicts: # assets/css/wpr-admin.min.css # inc/Engine/Admin/PerformanceMonitoring/Controller.php # inc/Engine/Admin/PerformanceMonitoring/Render.php # inc/Engine/Admin/PerformanceMonitoring/Subscriber.php
…d from global score widget (#7641)
Co-authored-by: WordPressFan <[email protected]> Co-authored-by: Gaël Robin <[email protected]>
Co-authored-by: COQUARD Cyrille <[email protected]> Co-authored-by: WordPressFan <[email protected]>
# Conflicts: # inc/Engine/Admin/PerformanceMonitoring/Subscriber.php # views/settings/partials/performance-monitoring/global-score-widget.php
… feature/7642-schedule-urls
… feature/7642-schedule-urls
…s-reseller # Conflicts: # inc/Engine/Admin/PerformanceMonitoring/Subscriber.php # tests/Unit/inc/Engine/Admin/PerformanceMonitoring/Subscriber/renderPerformanceUrlsTable.php
…redit in certain scenario (#7704) Co-authored-by: WordPress Fan <[email protected]>
…ding depending on Performance Monitoring status (#7679) Co-authored-by: WordPressFan <[email protected]>
- Added 'remaining_urls' and 'can_add_pages' fields to the JSON error response when the maximum number of URLs is reached. - Updated the AJAX error handling in the JavaScript to clear the input field, disable URL addition elements, and show a quota banner when the URL limit is reached.
# Conflicts: # assets/js/wpr-admin.js # assets/js/wpr-admin.min.js # assets/js/wpr-admin.min.js.map
…when URL limit is reached (#7716)
Co-authored-by: mostafa-hisham <[email protected]> Co-authored-by: WordPressFan <[email protected]> Co-authored-by: WordPress Fan <[email protected]> Co-authored-by: Michael Lee <[email protected]>
…itoring addon cancellation handling.
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesFootnotes
|
Description
This PR adds support for distinguishing between canceled and active subscriptions for Rocket Insights (Performance Monitoring Addon). When a subscription is canceled but still active until the end of the billing period, the interface will now show "Expires at" instead of "Next Billing Date" to avoid confusion for users.
Type of change
Detailed scenario
What was tested
How to test
Technical description
Documentation
This PR utilizes the
cancelled_atfield from the Performance Monitoring Addon (PMA) data to display appropriate labels in the dashboard. The conditional logic checks if the subscription has been canceled:This change:
cancelled_atis populated (subscription is canceled): Display "Expires at"cancelled_atis not set (subscription is active): Display "Next Billing Date"This provides clearer information to users about the status of their subscription.

New dependencies
No new dependencies were added for this change.
Risks
No performance or security risks identified. This change only affects the display of text labels based on existing data.
Mandatory Checklist
Code validation
Code style
Unticked items justification
All mandatory items are relevant and have been checked.
Additional Checks