- Exhaustive rename: PGM_ -> PRV_, pgm_ -> prv_, text domain and slug peptide-geo-monitor -> pr-vision, admin menu GEO Monitor -> PR Vision, main file peptide-geo-monitor.php -> pr-vision.php, DB table pgm_ai_visibility -> prv_ai_visibility. - P2-A: replace ltrim($host,'www.') character-mask with str_starts_with/substr prefix strip in PRV_Citation_Detector. Adds test coverage for wikipedia.org, webmd.com survival. - P2-B: drop continue-on-error: true from PHPCS CI step; WordPress Coding Standards now gates the build. - P2-C: remove dead in-run cache from PRV_Probe_Runner::run(); each (peptide, intent, model) triplet is visited once per run, cache hit is structurally impossible. - Version bump 0.1.0 -> 0.1.1 + CHANGELOG [0.1.1] entry. Agent-Session: pr-vision rename v0.1.1
39 lines
1.1 KiB
PHP
39 lines
1.1 KiB
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* Seam: contract for all PR Vision dashboard panels.
|
|
*
|
|
* Each panel renders one data category within the PR Vision admin page.
|
|
* v1 ships only PRV_Ai_Visibility_Panel. Future panels (keyword rankings,
|
|
* schema coverage…) implement this and register with PRV_Collector_Registry.
|
|
*
|
|
* Who triggers: PRV_Admin_Page when building the PR Vision page.
|
|
* Dependencies: None — pure interface.
|
|
*
|
|
* @see class-prv-ai-visibility-panel.php — v1 implementation.
|
|
* @see class-prv-collector-registry.php — Registration hub.
|
|
* @see ARCHITECTURE.md — §Collector/Panel seam.
|
|
* @package PrVision
|
|
*/
|
|
interface PRV_Dashboard_Panel {
|
|
|
|
/**
|
|
* Render the panel HTML into the current output buffer.
|
|
*
|
|
* Implementors MUST escape all output and MUST NOT echo raw DB values.
|
|
*
|
|
* @param array<string, mixed> $data Payload returned by the matching collector.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function render( array $data ): void;
|
|
|
|
/**
|
|
* Short human-readable title for the panel tab / section heading.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_title(): string;
|
|
}
|