Release 0.1.5 — AJAX auto-save on the reporting page (hc-66c)
The step cards saved via a full-page POST, and the reload broke the technician's flow. Save in place instead: - Status saves on change; notes save on blur (only when actually edited). - Inline per-card feedback (Saving… / Saved ✓ / error), no reload. - On a status change the header badge updates live and the escalation banner shows/hides itself, matching a full server render. Progressive enhancement: a new wp_ajax_att_hc_save_step_ajax handler reuses the same capability + nonce + step validation + write-through as the form handler, which is kept as the no-JS fallback. Mirrors the existing step-history AJAX loader. Bumps the plugin header, ATT_HC_VERSION and updates.json so PUC offers this to installed sites. Server-side unaffected — this is plugin-only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Plugin Name: ATT Site Healthcheck
|
||||
* Description: Walks a technician through a structured WordPress site healthcheck. Steps are drop-in PHP files so adding/removing one is a single file change.
|
||||
* Version: 0.1.4
|
||||
* Version: 0.1.5
|
||||
* Author: Steve Hanlon
|
||||
* License: Proprietary
|
||||
* License URI: https://git.h12e.com/steve/wp-healthcheck/raw/branch/main/LICENSE
|
||||
@@ -15,7 +15,7 @@ if (!defined('ABSPATH')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
define('ATT_HC_VERSION', '0.1.4');
|
||||
define('ATT_HC_VERSION', '0.1.5');
|
||||
define('ATT_HC_PLUGIN_FILE', __FILE__);
|
||||
define('ATT_HC_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
||||
define('ATT_HC_PLUGIN_URL', plugin_dir_url(__FILE__));
|
||||
|
||||
Reference in New Issue
Block a user