Files
wordpress-theme-aksrt/tests/visual/article-visual-matrix-v1.json
T
kate522andClaude Opus 5 35bb96e82f refactor: rename the theme brand and every identifier from AKSRT to Jio
Full-project rename. `git grep -i aksrt` is now empty apart from the
DBMigrator 3.3.0 changelog note that documents the rename itself.

Code identifiers
- PHP namespace AKSRT\ -> Jio\ (composer PSR-4 + 378 declarations)
- global constants AKSRT_* -> JIO_* (VERSION/DIR/URI, PAY_TYPE_*, CAPTCHA_*)
- procedural functions, hooks, options, meta keys, table names,
  cookies, query vars, ajax actions and nonces: aksrt_ -> jio_
- text domain aksrt -> jio; Theme Name -> Jio
- JS globals: aksrtData/aksrtAdminData/... -> jioData/jioAdminData/...,
  window.AKSRTCaptcha & friends -> window.JioCaptcha, Aksrt* -> Jio*
- Vue components Aks*.vue -> Jio*.vue (15 files renamed + imports)
- CSS classes/data-attrs/custom properties: aksrt- -> jio-
- REST namespace aksrt/v1 -> jio/v1 (incl. payment gateway callbacks)

Storage layer
- DB tables {prefix}aksrt_* -> {prefix}jio_*; SCHEMA_VERSION 3.2.0 -> 3.3.0
  so dbDelta creates the new names on install
- widget id_base aksrt_widget_* -> jio_widget_*
- uninstall.php drop list rebuilt from the actual migrator tables
  (dropped 3 stale entries, added the 17 missing ones)

Removed
- hardcoded https://api.aksrt.com/version.json default update endpoint;
  get_endpoint() now reads the 「更新端点」 setting and do_check() no-ops
  when it is empty

Files renamed: inc/helpers/aksrt-*.php -> jio-*.php (54),
assets/admin/src/components/form/Aks*.vue -> Jio*.vue (15).
Build artifacts regenerated: assets/css/build, assets/js/runtime,
assets/admin/build.

Verified: audit-psr4-paths errors=0, audit-admin-contracts errors=0
(warnings=56, unchanged baseline), 813/813 widget-system tests,
44/44 phpunit, php -l clean across all PHP.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-11-01 20:05:04 +08:00

46 lines
2.2 KiB
JSON

{
"schema": "jio.zibll-article-visual-matrix.v1",
"reference": "https://localhost:9443",
"candidate": "https://localhost",
"fixture": "/visual-fixtures/article-fixtures.php",
"viewports": [
{ "id": "desktop-wide", "width": 1440, "height": 1100 },
{ "id": "desktop", "width": 1024, "height": 1000 },
{ "id": "tablet", "width": 768, "height": 1000 },
{ "id": "breakpoint-767", "width": 767, "height": 1000 },
{ "id": "breakpoint-641", "width": 641, "height": 960 },
{ "id": "breakpoint-640", "width": 640, "height": 960 },
{ "id": "mobile", "width": 390, "height": 844 }
],
"colorSchemes": ["light", "dark"],
"layouts": ["sidebar", "no-sidebar"],
"listModes": ["thumb", "text", "thumb_if_has", "card"],
"styles": ["default", "style2", "style3"],
"routes": [
{ "id": "home", "path": "/", "states": ["default", "hover", "loading", "error"] },
{ "id": "archive", "path": "/?post_type=post", "states": ["default", "numbered", "load-more", "infinite", "no-more"] },
{ "id": "category", "path": "/category/zibll-article-fixture/", "states": ["default", "empty"] },
{ "id": "tag", "path": "/tag/zibll-visual-tag/", "states": ["default", "empty"] },
{ "id": "search", "path": "/?s=视觉", "states": ["default", "empty"] },
{ "id": "author-a", "path": "/author/zibll_article_v1_author_a/", "states": ["default", "numbered", "load-more"] },
{ "id": "single-related", "path": "/zibll_article_v1_featured/", "states": ["img", "list", "text"] }
],
"postScenarios": ["featured", "no-image", "multi", "external", "slides", "video", "paid", "vip", "first-image"],
"capture": {
"selector": ".posts-row, .profile-list, .relates",
"artifacts": ["screenshot", "dom", "computed-style", "bounding-box", "console", "network"],
"computedProperties": [
"display", "position", "width", "height", "margin", "padding", "gap", "font-size", "line-height",
"border-radius", "box-shadow", "background-color", "color", "object-fit"
]
},
"acceptance": {
"dimensionDeltaPxMax": 1,
"pixelDifferencePercentMax": 1.5,
"consoleErrorsMax": 0,
"unexpectedNetworkFailuresMax": 0,
"a11yCriticalMax": 0,
"a11ySeriousMax": 0
}
}