Commit Graph
100 Commits
Author SHA1 Message Date
kate522 b01a89bee2 feat(frontend): wire comment sort/author filter like Zibll
Apply comments_template_query_args for newest/hottest/author-only,
keep filter bar visible under empty author filters, and restyle order
tabs/buttons with Zibll-compatible classes.
2026-07-11 21:07:22 +08:00
kate522 b155936868 Merge pull request 'feat(frontend): restore Zibll-like global search panel' (#60) from worktree-frontend-search-1to1 into main
Reviewed-on: CYL/wordpress-theme-aksrt#60
2026-07-11 19:34:39 +08:00
kate522 bf8b125f3b feat(frontend): restore Zibll-like global search panel
Render full search overlay with types/history/suggestions for tabbar
and desktop header toggle. Open panel on all viewports (not mobile-only)
and wire data-toggle-class/.navbar-search compatibility hooks.
2026-07-11 18:57:41 +08:00
kate522 752b9a93bf Merge pull request 'refactor(db): drop option/data migration from DB migrator' (#59) from worktree-migrator-hygiene into main
Reviewed-on: CYL/wordpress-theme-aksrt#59
2026-07-11 18:49:41 +08:00
kate522 ee40a074d7 refactor(db): drop option/data migration from DB migrator
Keep dbDelta table schema only. Remove aksrt_basic_settings dual-write,
layout/cms/resource/order/plate option migrators, and part-1 trait.
Plate CPT activation no longer gated on migration flag.
2026-07-11 18:32:48 +08:00
kate522 9c2d0daae7 Merge pull request 'feat(shop): product editor SKU variants UI' (#58) from worktree-shop-variant-editor into main
Reviewed-on: CYL/wordpress-theme-aksrt#58
2026-07-11 18:28:49 +08:00
kate522 387486f49d feat(shop): product editor SKU variants UI
Wire ProductEditorDrawer to existing /shop/products/{id}/variants REST
for list/save. Support attribute text parsing, batch replace save, and
optional save-variants-only. Align save endpoint JSON body parsing with
controller helper.
2026-07-11 18:27:52 +08:00
kate522 ee3e3f912f Merge pull request 'feat(shop): add product taxonomy write REST for editor' (#57) from worktree-shop-taxonomy-write into main
Reviewed-on: CYL/wordpress-theme-aksrt#57
2026-07-11 18:22:27 +08:00
kate522 3d021d08f6 feat(shop): add product taxonomy write REST for editor
Expose POST /shop/products/taxonomy to create category/tag terms,
enrich GET term payload with slug/parent/count, and let
ProductEditorDrawer create categories and ensure tags without WP
native UI.
2026-07-11 18:22:10 +08:00
kate522 e0b60fb3ea Merge pull request 'fix(shop): wire order drawer ship/after-sale to live REST' (#56) from worktree-shop-ops-contract into main
Reviewed-on: CYL/wordpress-theme-aksrt#56
2026-07-11 18:17:36 +08:00
kate522 77497b78b4 fix(shop): wire order drawer ship/after-sale to live REST
Point OrderDetailDrawer at /shop/shipping and /shop/after-sale with
carrier/tracking_no and amount payloads matching backend contracts.
Map order detail context.buyer/address/shipping/after_sale for the
drawer, and include after-sale reason in summary items.
2026-07-11 18:03:17 +08:00
kate522 7dccfcd566 Merge pull request 'feat(payment): finish Zibll key contract and wire checkout gateways' (#55) from worktree-payment-finish into main
Reviewed-on: CYL/wordpress-theme-aksrt#55
2026-07-11 17:57:41 +08:00
kate522 c93b303453 feat(payment): finish Zibll key contract and wire checkout gateways
Drop dual-read payment runtime fallbacks, align PHP schema to Vue keys,
read gateway credentials only from aksrt_settings with enable toggles,
expose configured adapters at checkout, fix credits pay signatures, and
apply order expiry settings. Wire orphan order/card-pass/withdrawal
schema pages; delete unused Payment* wrappers.
2026-07-11 17:42:35 +08:00
kate522 12c31ad82b Merge pull request 'feat(payment): align VIP/balance/order schema keys with Zibll' (#54) from worktree-payment-zibll-contract into main
Reviewed-on: CYL/wordpress-theme-aksrt#54
2026-07-11 17:16:06 +08:00
kate522 d9fbacbce6 feat(payment): align VIP/balance/order schema keys with Zibll
Extract payment readers into AKSRT_Settings_Payment_Runtime and store
canonical Zibll option IDs (pay_user_vip_*, pay_balance_*, pay_box_position,
pay_mark, pay_rebate_*, pay_income_*) in aksrt_settings with no legacy
payment_* dual-read. Update PHP/JS payment schemas and VIP sidebar gate.
2026-07-11 17:13:29 +08:00
kate522 80d2c5fbc3 Merge pull request 'refactor(settings): collapse get_all to aksrt_settings and drop migration UI' (#53) from worktree-settings-single-option into main
Reviewed-on: CYL/wordpress-theme-aksrt#53
2026-07-11 16:58:28 +08:00
kate522 91b083b2b0 refactor(settings): collapse get_all to aksrt_settings and drop migration UI
Make aksrt_settings the sole theme settings store for get_all(), remove
aksrt_seo_settings/aksrt_basic_settings merge paths, point global.logo
schema at aksrt_settings, and delete the retired settings migration page,
route, REST endpoint, and related SPA surface.
2026-07-11 16:55:27 +08:00
kate522 b4da8cc1f4 Merge pull request 'refactor(admin): retire settings migration and compat menu demotion' (#52) from worktree-cleanup-migration-compat into main
Reviewed-on: CYL/wordpress-theme-aksrt#52
2026-07-11 16:12:17 +08:00
kate522 3b951a5a36 refactor(admin): retire settings migration and compat menu demotion
Stop auto-running AKSRT_Settings_Migration, drop multi-option settings
merge and Zibll favicon aliases, remove the migration tools entry from
menus/schema, flatten admin sections so pages are not demoted into a
compat bag, and retire the migration-status payload for leftover SPA
routes after a full admin rebuild.
2026-07-11 15:54:35 +08:00
kate522 b46a069ecf Merge pull request 'refactor(permissions): remove hard-off compat stubs and harden login schema' (#51) from worktree-permissions-login-moderation into main
Reviewed-on: CYL/wordpress-theme-aksrt#51
2026-07-11 15:32:39 +08:00
kate522 06e551e6d8 refactor(permissions): remove hard-off compat stubs and harden login schema
Delete aksrt-compat.php and rewire messages/PM entry points to the user
center notification route. Normalize permissions login dependsOn objects
and allow an explicit empty captcha provider option so login/moderation
schema pages remain loadable without legacy compatibility shims.
2026-07-11 15:29:20 +08:00
kate522 f86513dbff Merge pull request 'feat(homepage): consume Zibll homepage keys on frontend queries' (#50) from worktree-homepage-frontend-keys into main
Reviewed-on: CYL/wordpress-theme-aksrt#50
2026-07-11 15:23:37 +08:00
kate522 f0f6e97d04 feat(homepage): consume Zibll homepage keys on frontend queries
Point homepage getters and tab queries at home_lists / home_exclude_* /
index_list_title / list1 orderby. Support category+topics tab terms via
tax_query, expand the homepage term picker API, and keep facade method
names for existing templates without dual-writing storage keys.
2026-07-11 15:23:21 +08:00
kate522 0c882d8887 Merge pull request 'feat(homepage): align homepage settings with Zibll main-list keys' (#49) from worktree-homepage-zibll-contract into main
Reviewed-on: CYL/wordpress-theme-aksrt#49
2026-07-11 15:19:47 +08:00
kate522 8fddc33156 feat(homepage): align homepage settings with Zibll main-list keys
Move /settings/homepage onto a dedicated REST trait that stores Zibll
option IDs (home_posts_list_s, index_list_title, home_lists, exclude
posts/cats, list1 orderby). Reader exposes both canonical keys and
temporary aliases for existing front-end helpers; save path drops
superseded AKSRT-only keys. HomepageSettings.vue binds to the new
contract while remaining a Vue custom page.
2026-07-11 15:14:22 +08:00
kate522 18630370dc Merge pull request 'feat(post-list): align list schema with Zibll paging contract' (#48) from worktree-post-list-zibll-contract into main
Reviewed-on: CYL/wordpress-theme-aksrt#48
2026-07-11 13:53:14 +08:00
kate522 6a9db98204 feat(post-list): align list schema with Zibll paging contract
Replace the post_list.list admin contract with a dedicated schema module
using Zibll keys (paging_ajax_s, paging_ajax_ias_s, ajax_trigger,
ajax_nomore, list_orderby, post_list_author/time, target_blank). Runtime
derives numbered/load_more/infinite from those keys and applies list
orderby on main queries without legacy dual-write layers.
2026-07-11 13:49:48 +08:00
kate522 63efe5b5a8 Merge pull request 'chore(admin): add contract audit baseline and incomplete build notice' (#47) from worktree-zibll-contract-baseline into main
Reviewed-on: CYL/wordpress-theme-aksrt#47
2026-07-11 13:34:55 +08:00
kate522 52e9e2353f chore(admin): add contract audit baseline and incomplete build notice
Introduce tools/audit-admin-contracts.php to fail on missing schemaPage
sections, missing REST $this callbacks, and incomplete admin build chunks.
Document menu/schema deploy rules and surface a wp-admin error when
assets/admin/build is missing modules instead of failing silently.
2026-07-11 13:26:19 +08:00
kate522 67fdf83db3 Merge pull request 'fix(admin): repair email rollback and product taxonomy APIs' (#46) from worktree-fix-admin-api-gaps into main
Reviewed-on: CYL/wordpress-theme-aksrt#46
2026-07-11 12:24:27 +08:00
kate522 7c56afa376 fix(admin): repair email rollback and product taxonomy APIs
Call the existing Email_Rollback::list_pending method instead of the missing
list_recent_changes method that caused /email-rollback/users to fatal. Add
the product taxonomy route expected by ProductEditorDrawer and return
category/tag options for the editor.
2026-07-11 12:20:33 +08:00
kate522 4612e90e44 Merge pull request 'fix(admin): unblock post list save and permissions schema endpoints' (#45) from worktree-fix-search-js-syntax into main
Reviewed-on: CYL/wordpress-theme-aksrt#45
2026-07-11 10:05:29 +08:00
kate522 41243e12d2 fix(admin): unblock post list save and permissions schema endpoints
Align post_list.list pagination values with PHP (numbered/load_more/infinite)
so SchemaPage saves no longer 422 on 分页模式. Stop permissions schema build
from fatally calling missing build_cap_matrix_groups() when loading
login/moderation sections, normalize moderation dependsOn objects, and skip
notice-only fields in schema field collection.
2026-07-11 09:53:03 +08:00
kate522 d1aee9ff04 Merge pull request 'fix(admin): route homepage settings to custom HomepageSettings page' (#44) from worktree-fix-search-js-syntax into main
Reviewed-on: CYL/wordpress-theme-aksrt#44
2026-07-11 09:45:27 +08:00
kate522 a44d2f8940 fix(admin): route homepage settings to custom HomepageSettings page
The page-display homepage menu entry was registered as a SchemaPage for
section "homepage", but PHP's page_display schema has no such section, so
GET /wp-json/aksrt/v1/settings/schema/page_display/homepage returned 404
(未知的设置分组: homepage). Point the route at HomepageSettings, which
already uses /settings/homepage like FooterSettings.
2026-07-11 09:44:26 +08:00
kate522 b6b662a618 Merge pull request 'fix(search): restore missing readHistory function declaration' (#43) from worktree-fix-search-js-syntax into main
Reviewed-on: CYL/wordpress-theme-aksrt#43
2026-07-10 23:54:26 +08:00
kate522 711fb9ad14 fix(search): restore missing readHistory function declaration
The function body was left as a bare statement after setSearchType,
which made search.js fail to parse (Unexpected identifier 'window')
and broke the frontend search panel.
2026-07-10 23:50:29 +08:00
kate522 6f6e431bb3 Merge pull request 'fix(visual): 1:1 banner/hero/modal + strip non-zibll card chrome' (#42) from worktree-visual-acceptance into main
Reviewed-on: CYL/wordpress-theme-aksrt#42
2026-07-10 23:38:33 +08:00
kate522 188611b075 fix(visual): 1:1 banner/hero/modal + strip non-zibll card chrome
Align banner s-desc caption/scale-height, hero search pill and -40px cards, modal colorful header/spring scale; remove white/pink card borders and hover lifts across mainline surfaces.
2026-07-10 23:37:20 +08:00
kate522 d667c0bc96 Merge pull request 'fix(visual): align tokens/cards/buttons/dark mode to Zibll' (#41) from worktree-visual-acceptance into main
Reviewed-on: CYL/wordpress-theme-aksrt#41
2026-07-10 23:17:10 +08:00
kate522 b821378a7d fix(visual): align tokens/cards/buttons/dark mode to Zibll
P0 dark hex to #292a2d/#323335/#f8fafc; .btn opacity hover without pink elevation; post/user/product cards shadow-first without pink borders.
2026-07-10 23:07:21 +08:00
kate522 4e4feac131 Merge pull request '用户中心 posts/sidebar/form 渲染器整包拆分并清理标记' (#40) from worktree-user-orphan-cleanup into main
Reviewed-on: CYL/wordpress-theme-aksrt#40
2026-07-10 22:45:50 +08:00
kate522 57ccdb60c4 用户中心 posts/sidebar/form 渲染器整包拆分并清理标记 2026-07-10 22:44:15 +08:00
kate522 b8a651974c Merge pull request '用户中心 credits/settings 渲染器整包拆分:编排器 + 子块' (#39) from worktree-user-orphan-cleanup into main
Reviewed-on: CYL/wordpress-theme-aksrt#39
2026-07-10 22:41:02 +08:00
kate522 81d5647205 用户中心 credits/settings 渲染器整包拆分:编排器 + 子块 2026-07-10 22:38:37 +08:00
kate522 56c9d36948 Merge pull request '用户中心 PHP 整包减层:修复 profile 面板映射并模块化上下文组装' (#38) from worktree-user-orphan-cleanup into main
Reviewed-on: CYL/wordpress-theme-aksrt#38
2026-07-10 22:36:42 +08:00
kate522 f43519b1df 用户中心 PHP 整包减层:修复 profile 面板映射并模块化上下文组装 2026-07-10 22:34:00 +08:00
kate522 846a2f8a45 Merge pull request '用户中心 CSS 整包重命名:按 shell/credits/settings/responsive 职责拆分' (#37) from worktree-user-orphan-cleanup into main
Reviewed-on: CYL/wordpress-theme-aksrt#37
2026-07-10 22:26:07 +08:00
kate522 e97654aab3 用户中心 CSS 整包重命名:按 shell/credits/settings/responsive 职责拆分
废除 part-1..5 机械切片,重组成可维护的领域文件并修复历史拼接断点,index 同步改写。
2026-07-10 22:24:07 +08:00
kate522 b55c22eee4 Merge pull request '用户域 CSS 整包重切:lists 持有共享列表,modals 只留弹窗,清掉死样式' (#36) from worktree-user-orphan-cleanup into main
Reviewed-on: CYL/wordpress-theme-aksrt#36
2026-07-10 22:21:58 +08:00
kate522 3ce5306efd 用户域 CSS 整包重切:lists 持有共享列表,modals 只留弹窗,清掉死样式
把 public/private 扁平列表覆写迁到 profile/lists,删除未使用的 stats/signin/level 与 author-page 归档样式,并补 modal 移动端基础规则。
2026-07-10 22:20:43 +08:00
kate522 10ce03ee6c Merge pull request '用户域一次性收口:统一公开主页资源归属并折叠作者页双路径' (#35) from worktree-user-orphan-cleanup into main
Reviewed-on: CYL/wordpress-theme-aksrt#35
2026-07-10 22:17:43 +08:00
kate522 f76d4650e5 用户域一次性收口:统一公开主页资源归属并折叠作者页双路径
把 uh-forum 样式收进 user-home 路由、author.php 收成 301 回退、公开主页脚本以 author.js 为唯一实现,并去掉 enqueue/body class 中的 is_author 分叉。
2026-07-10 22:11:44 +08:00
kate522 77a8ae90cb Merge pull request '作者页接入 user-home 资源加载,并去掉 profile 中重复的 public dashboard 样式' (#34) from worktree-user-orphan-cleanup into main
Reviewed-on: CYL/wordpress-theme-aksrt#34
2026-07-10 22:08:16 +08:00
kate522 c28c1226ac 作者页接入 user-home 资源加载,并去掉 profile 中重复的 public dashboard 样式
author 归档与公开用户主页共用 author-hero,补齐 user-home CSS/body class 入队;profile/layout 仅保留本人中心样式,dashboard--public 只留在 user-home.css。
2026-07-10 22:07:31 +08:00
kate522 a2f35b4d31 Merge pull request '用户主页再减层:抽出 page context helper 并清理失效 profile CSS' (#33) from worktree-user-orphan-cleanup into main
Reviewed-on: CYL/wordpress-theme-aksrt#33
2026-07-10 22:05:12 +08:00
kate522 05ee28ed5b 用户主页再减层:抽出 page context helper 并清理失效 profile CSS
page-user-home 收成薄壳,tab/统计/分页上下文迁入 aksrt_get_user_home_page_context;同步删除 profile-public-contacts 等失效样式,并让 .user-center 宽度规则落到现用 aksrt-profile 壳层。
2026-07-10 22:01:09 +08:00
kate522 3abe0b40f8 Merge pull request '用户主页减层:拆出 panel/sidebar partial 并清理失效 CSS 选择器' (#32) from worktree-user-orphan-cleanup into main
Reviewed-on: CYL/wordpress-theme-aksrt#32
2026-07-10 21:57:36 +08:00
kate522 9f08c9337a 用户主页减层:拆出 panel/sidebar partial 并清理失效 CSS 选择器
把 page-user-home 的内容面板与侧栏抽到 user-home partial,删除公开主页已不再使用的 uc-header/user-home-stats 等 CSS 残段。
2026-07-10 21:56:33 +08:00
kate522 7495541605 Merge pull request '用户域壳层收口:删除 uh/uc/profile 孤儿 partial 并修正侧栏与宽度选择器' (#31) from worktree-user-orphan-cleanup into main
Reviewed-on: CYL/wordpress-theme-aksrt#31
2026-07-10 21:51:51 +08:00
kate522 56c4f83e09 用户域壳层收口:删除 uh/uc/profile 孤儿 partial 并修正侧栏与宽度选择器
清理减层后已无引用的草稿 partial,让公开主页/作者页侧栏接入 content-layout__aside,并修正 content-shell 与 aksrt-profile 同节点时的宽度选择器。
2026-07-10 21:51:15 +08:00
kate522 adad6d6fcd Merge pull request 'fix: define missing sortOptions in page-display schema' (#30) from worktree-fix-sortoptions into main
Reviewed-on: CYL/wordpress-theme-aksrt#30
2026-07-10 21:37:07 +08:00
kate522 483c9123d4 fix: define missing sortOptions in page-display schema
Homepage schema referenced an undeclared sortOptions constant, which
threw ReferenceError during admin SPA router init and blanked the panel.
Define the options list in sync with homepage_allowed_sorts().
2026-07-10 21:34:18 +08:00
kate522 6c7a892e0a Merge pull request 'Worktree page profile shell' (#29) from worktree-page-profile-shell into main
Reviewed-on: CYL/wordpress-theme-aksrt#29
2026-07-10 21:06:55 +08:00
kate522 15642db1a2 用户中心减层:收敛本人入口与 panel 契约 2026-07-10 21:00:13 +08:00
kate522 dec33ea15a 用户中心减层:收敛本人入口与 panel 契约 2026-07-10 20:43:49 +08:00
kate522 31c95c3bc6 Merge pull request '用户主页/作者页对齐 content-shell 与 author-hero 契约' (#28) from worktree-bg-unified-single-home-mainline into main
Reviewed-on: CYL/wordpress-theme-aksrt#28
2026-07-10 13:57:31 +08:00
kate522 a8b2997f76 用户主页/作者页对齐 content-shell 与 author-hero 契约
去掉 author-hero query-var 传参,统一 content-wrap 壳层,
作者页侧栏改为 page-owned,不再 patch generic sidebar。
2026-07-10 13:55:59 +08:00
kate522 ee5b7be763 Merge pull request '专用页对齐 content-shell,并删 page-header query-var 回退' (#27) from worktree-bg-unified-single-home-mainline into main
Reviewed-on: CYL/wordpress-theme-aksrt#27
2026-07-09 23:06:09 +08:00
kate522 8849540fda 专用页对齐 content-shell,并删 page-header query-var 回退
archives/friends/newposts/posts-navs/categories 统一壳层与 page-header 契约,
主路径不再保留 aksrt_ph_* ambient 传参。
2026-07-09 23:05:06 +08:00
kate522 21ad2cba11 Merge pull request '清理 page-header 传参:主路径改 $args 契约' (#26) from worktree-bg-unified-single-home-mainline into main
Reviewed-on: CYL/wordpress-theme-aksrt#26
2026-07-09 23:01:42 +08:00
kate522 9fd0735e97 清理 page-header 传参:主路径改 $args 契约
archive/search/page 不再用 aksrt_ph_* query-var 传参,
page.php 同步对齐 content-shell 主结构。
2026-07-09 22:57:37 +08:00
kate522 12f32d60be Merge pull request '评论子系统减层:comments.php 收成挂载点' (#25) from worktree-bg-unified-single-home-mainline into main
Reviewed-on: CYL/wordpress-theme-aksrt#25
2026-07-09 22:43:24 +08:00
kate522 00c1f9ca70 评论子系统减层:comments.php 收成挂载点
将评论策略与 section 组合迁入 aksrt-comments,
保留 callback/pagination/query-var 契约,模板只负责挂载。
2026-07-09 22:36:21 +08:00
kate522 85e46f462e Merge pull request '收口 category/tag filter 与 term header 共享层' (#24) from worktree-bg-unified-single-home-mainline into main
Reviewed-on: CYL/wordpress-theme-aksrt#24
2026-07-09 22:33:11 +08:00
kate522 3fe050b985 收口 category/tag filter 与 term header 共享层
抽出 term header / filter chip group 共用渲染,
分类页与标签页只保留数据装配,不再各自复制 DOM 拼装。
2026-07-09 22:22:39 +08:00
kate522 ccb319cb00 Merge pull request '统一 archive/category/tag/search 主内容流壳层' (#23) from worktree-bg-unified-single-home-mainline into main
Reviewed-on: CYL/wordpress-theme-aksrt#23
2026-07-09 22:14:01 +08:00
kate522 a9ee8c451f 统一 archive/category/tag/search 主内容流壳层
抽出 aksrt-archive 共享 shell/stream/render config,
四类列表页统一 content-shell + shared renderer + page-owned sidebar。
2026-07-09 22:10:43 +08:00
kate522 db2db2db0c Merge pull request '清 single/home 残层:删 sidebar prepend 与 author-bar query-var' (#22) from worktree-bg-unified-single-home-mainline into main
Reviewed-on: CYL/wordpress-theme-aksrt#22
2026-07-09 21:58:15 +08:00
kate522 91945e2006 清 single/home 残层:删 sidebar prepend 与 author-bar query-var
去掉 generic sidebar 的 prepend patch、author-bar ambient 回退,
以及 homepage section 多余 wrapper,保持主线闭环更干净。
2026-07-09 21:56:30 +08:00
kate522 caf9c6499b Merge pull request 'Zibll 主线收口:减层统一 single 与首页主内容流' (#21) from worktree-bg-unified-single-home-mainline into main
Reviewed-on: CYL/wordpress-theme-aksrt#21
2026-07-09 21:51:01 +08:00
kate522 29bd9bd152 Zibll 主线收口:减层统一 single 与首页主内容流
把 single.php 收成薄壳,文章组合迁入 aksrt-single;
首页去掉 legacy module 桥接与多余 stream 文案层,
保留 renderer / tab-panel / sort 协议并形成页面自有 aside。
2026-07-09 21:49:46 +08:00
kate522 256c23b226 Merge pull request 'Zibll 主线收口:统一 single 并清退 compat 资源路径' (#20) from worktree-zibll-rebuild-mainline-phase1 into main
Reviewed-on: CYL/wordpress-theme-aksrt#20
2026-07-09 21:02:49 +08:00
kate522andClaude 09f1eec909 Zibll 主线收口:统一 single 并清退 compat 资源路径
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-09 20:30:49 +08:00
kate522 0a6f97af21 Merge pull request 'J 最终核查收尾:补兼容项弱化标识并清理 resource 死代码' (#19) from worktree-zibll-streams-cdj into main
Reviewed-on: CYL/wordpress-theme-aksrt#19
2026-07-07 19:48:07 +08:00
kate522andClaude Fable 5 c7f8d15fb8 J 最终核查收尾:补兼容项弱化标识并清理 resource 死代码
基于 J 验收视角的最终核查,处理两项已登记残差:

- App.vue:菜单渲染现在消费 secondaryEntry 元数据,对已降权/后移的兼容项追加“· 次级”
  标签,补上文档中提到但未落地的就地视觉弱化。
- aksrt-resource.php:删除 aksrt_default_resource_meta() 中首个 return 之后的不可达旧实现,
  消除 J 验收文档中登记的代码卫生残差之一。

验证:
- php -l 通过:inc/helpers/aksrt-resource.php
- App.vue 变更已做结构性 sanity check,确保 secondaryEntry 标签逻辑存在

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 19:10:31 +08:00
kate522 0d460d18a0 Merge pull request '字段全量比对最终收口:补齐 confirmed diff 默认值' (#18) from worktree-zibll-streams-cdj into main
Reviewed-on: CYL/wordpress-theme-aksrt#18
2026-07-07 18:46:46 +08:00
kate522andClaude Fable 5 a17fb7a119 字段全量比对最终收口:补齐 confirmed diff 默认值
继续 Workstream C,按“只扫 confirmed diff,不做泛化式补改”的原则收最后一批可实证差异:

- post_list.comment:comment_text 从“说点什么吧...”对齐到 Zibll 的“欢迎您留下宝贵的见解!”。
- payment.order:payment_no_logged_remind 补齐为 Zibll 默认未登录提醒文案。
- payment.withdrawal:pay_rebate_withdraw_text_details 补齐为 Zibll 默认提现协议文案。
- PHP schema 同步补齐 payment_no_logged_remind / pay_rebate_withdraw_text_details 默认值,保持前后端契约一致。

验证:
- php -l 通过:class-aksrt-admin-schema-payment.php
- node --check 通过:post-list/comment.js、payment/order.js、payment/withdrawal.js

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 18:32:13 +08:00
kate522 b7368f5801 Merge pull request 'Schema 收口第七轮:收尾 card-pass 依赖尾项' (#17) from worktree-zibll-streams-cdj into main
Reviewed-on: CYL/wordpress-theme-aksrt#17
2026-07-07 18:28:35 +08:00
kate522andClaude Fable 5 1c8610154b Schema 收口第七轮:收尾 card-pass 依赖尾项
继续 Workstream C 收尾,补齐 payment.card-pass 在 PHP schema 层缺失的主开关折叠逻辑:

- 以 card_pass_enabled 为总开关,为卡号规则、兑换规则、展示设置三组子字段补齐 dependsOn;
  与前端 schema 已有的折叠行为保持一致。
- 这轮检查过 page/comment/order/withdrawal 等尾项,现阶段前端 schema 已具备较完整依赖契约;
  当前最真实的缺口集中在 PHP schema 的 card-pass 这一组,因此单独收口,避免无效改动。

验证:
- php -l 通过:class-aksrt-admin-schema-payment.php
- node --check 复核通过:post-list/page.js、post-list/comment.js、payment/order.js、payment/cardPass.js、payment/withdrawal.js

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 18:11:38 +08:00
kate522 d7717ff19d Merge pull request 'Schema 收口第六轮:继续补 page_display / payment / post-list 依赖尾项' (#16) from worktree-zibll-streams-cdj into main
Reviewed-on: CYL/wordpress-theme-aksrt#16
2026-07-07 18:09:02 +08:00
kate522andClaude Fable 5 c5575f16a8 Schema 收口第六轮:继续补 page_display / payment / post-list 依赖尾项
继续 Workstream C,清理剩余的 PHP schema dependsOn 尾项:

- payment.gateway:继续为 xunhupay / xhpay / payjs / epay / stripe 补齐 provider 开关下的
  PHP dependsOn,使网关配置折叠逻辑不再只停留在前端 schema。
- post_list.thumb / filter:补齐随机封面、多图模式、视频静音、首图尺寸、AJAX 筛选维度、
  自定义筛选与按分类绑定筛选的 PHP dependsOn,收回“总开关 -> 子配置”节奏。
- page_display:继续为 header-components 的搜索/图标卡片分支与 category 头图补 PHP dependsOn,
  让 page_display 在 PHP 层也具备与前端一致的展开契约。

验证:
- php -l 通过:page-display / payment / post-list 三个 PHP schema 文件
- node --check 复核通过:payment/gateway.js、post-list/filter.js、post-list/thumb.js、page-display/index.js

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 17:13:59 +08:00
kate522 0f875fa127 Merge pull request 'Schema 收口第五轮:补齐 page_display 的 homepage / float-btn 契约' (#15) from worktree-zibll-streams-cdj into main
Reviewed-on: CYL/wordpress-theme-aksrt#15
2026-07-07 00:25:52 +08:00
kate522andClaude Fable 5 12c11732cb Schema 收口第五轮:补齐 page_display 的 homepage / float-btn 契约
继续 Workstream C,集中处理 page_display 的结构性差异:

- 把原本只是空壳的 `page_display.homepage` schema 补齐为真实契约层:
  复用 HomepageSettings.vue 已在使用的字段(内容模型、主列表、首页 Tab、卡片样式、侧栏与交互),
  不回退旧接口,直接围绕当前最新的 homepage settings 链路补 schema 契约。
- 新增 `page_display.float-btn` 前端 schema section,和 PHP 已存在的 float-btn section 对齐,
  补齐五层中的前端 schema 缺口。
- page-display 路由配置中把 homepage 从 customPage 切回 schemaPage,并新增 float-btn 路由,
  使 page_display 域不再存在“有 PHP section 但无前端 schema page”的断层。
- 对齐 Zibll 默认值:header_layout 从 2 收敛到 1。
- 为 header-components 的 slider_config 子字段补 PHP dependsOn,避免在未启用顶部多功能组件时
  仍平铺暴露幻灯片参数。

验证:
- php -l 通过:class-aksrt-admin-schema-page-display.php
- node --check 通过:page-display/index.js / constants/sections/page-display.js
- shim 校验确认:/page-display/homepage 与 /page-display/float-btn 现在都以 SchemaPage 形式挂接,
  canonicalDomain=page_display,section 分别为 homepage / float-btn

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 00:22:19 +08:00
kate522 fbdcf13398 Merge pull request 'Worktree zibll streams cdj' (#14) from worktree-zibll-streams-cdj into main
Reviewed-on: CYL/wordpress-theme-aksrt#14
2026-07-07 00:13:12 +08:00
kate522andClaude Fable 5 6a7bcc8bf7 Schema 收口第四轮:补齐 payment gateway 的 PHP 依赖契约
继续 Workstream C,对 payment.gateway 做 PHP schema 收口:

- 为 wechat / alipay / paypal 三组网关配置补齐 dependsOn,确保 provider 配置只在对应
  payment_*_enabled 开启后展开。
- 延续前几轮的目标:让 PHP schema 与前端 schema 一样,真正承担“总开关 -> 子配置”的
  单一真理源角色,而不是仅前端层面做折叠展示。

说明:本轮原计划同时继续推进 page_display,但审阅后发现 page_display 的剩余问题以
  结构性差异(缺少真正的 home 主 section、float-btn 在前端 schema 层未建模完整)为主,
  不适合和本轮 payment gateway 的机械对齐混在一个提交里,因此先独立完成 gateway 收口。

验证:
- php -l 通过:class-aksrt-admin-schema-payment.php
- node --check 已复核 payment/post-list 前几轮前端 schema 文件仍通过

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 23:46:41 +08:00
kate522andClaude Fable 5 ba61a20b34 Schema 收口第三轮:继续对齐 payment/post-list 默认值与依赖
继续 Workstream C,对 payment 与 post-list 做高影响字段收口:

- payment.recharge:对齐 Zibll pay_balance_s 默认=true,并在 PHP schema 层补齐 recharge
  主开关下的 mode / desc / auto_to_balance / packages / product / transfer / pass-charge /
  exchange 等 dependsOn,恢复“总开关 -> 子配置”的配置展开节奏。
- payment.vip:对齐 Zibll 续费默认心智,payment_vip_renew_price_type 改为 discount,
  payment_vip_renew_discount 改为 8,payment_vip_renew_reduce 改为 20;同时补齐
  renew / upgrade 在 PHP schema 层的 dependsOn,并补上 reduce 选项。
- post_list.list:将默认卡片样式从 AKSRT 自定义的 standard 收敛到更接近 Zibll 的 thumb,
  同时补齐 card 选项,减少列表主线心智偏差。

验证:
- php -l 通过:class-aksrt-admin-schema-payment.php / class-aksrt-admin-schema-post-list.php
- node --check 通过:payment/recharge.js / payment/vip.js / post-list/list.js

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 20:07:09 +08:00
kate522andClaude Fable 5 a230e6a34b Schema 收口第二轮:补齐 PHP 依赖契约并继续收敛文案
继续 Workstream C 全量字段比对,重点处理“前端 schema 已有 dependsOn、PHP schema 缺失”
的五层不一致问题,并顺手清理残留平台化文案。

本次完成:
- global PHP schema:补齐 AI SEO / loading 动画 / 代码高亮相关 dependsOn,避免在总开关关闭时
  子字段仍作为平铺配置暴露。
- permissions PHP schema:补齐 login captcha 基础开关的 dependsOn;将“审核和风控”改为“内容审核”,
  将“基本权限 / 能力矩阵”改为“基本权限”;同步更新前端 schema 文案。
- users PHP schema:为 sms / report / wechat 三个典型兼容/治理域补齐 master-switch -> sub-config
  的 dependsOn(严格贴合 stream-c §7.3),避免这些低优先级能力打断主线配置节奏。
- docs-mode PHP schema:补齐 docs_mode_enabled 下的子字段折叠逻辑,确保兼容域“默认不展开”。
- forum schema:将用户治理文案收紧为用户管理,并把 other section 调整到 forum 聚合末尾。
- payment revenue 前端 schema:去掉“台账”措辞,回到更轻的主题配置文案。

验证:
- php -l 通过:global / permissions / users / extensions-docs-mode / forum / forum-basic
- node --check 通过:permissions/index.js / payment/revenue.js
- 与上一轮已完成的默认值对齐一起,当前 worktree 中 C 线改动已覆盖:
  default 收敛、level/badge 后移、以及一批高影响 dependsOn/文案修正

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 19:41:28 +08:00
kate522 a0b94652fe Merge pull request '字段全量比对收口:对齐 Zibll 默认值并后移等级/徽章入口' (#13) from worktree-zibll-streams-cdj into main
Reviewed-on: CYL/wordpress-theme-aksrt#13
2026-07-06 19:19:55 +08:00
kate522andClaude Fable 5 accf5bdbe8 字段全量比对收口:对齐 Zibll 默认值并后移等级/徽章入口
继续 Workstream C 全量字段比对,并按用户裁定处理冲突:
- UsersLevel / UsersBadge 采用“保留但后移”策略,不兼容旧数据接口,继续沿用当前新型
  sections/router 体系,在 users 主线中降权后移到 compat tools 分区。
- 按 Zibll 实际 options 默认值收敛一批高影响字段,打通 PHP schema + 前端 schema 两层:
  * global/search: search_posts / search_no_page / search_custom_key_s / search_cat -> true
  * forum: bbs_show_new_plate / bbs_post_pay_hide_type_s / bbs_post_pay_vip_price_s /
    bbs_reply_paginate_ias_s / bbs_comment_upload_img / bbs_rewrite_suffix_html_s -> true
  * shop: shop_s -> true, shop_breadcrumbs_shop_home -> false,
    shop_rewrite_suffix_html_s -> true
  * users: user_signup_no_repas / message_auto_clear_s / post_rewards_s /
    user_report_img_s -> true
  * post-list: cat_s -> false

验证:
- php -l 检查所有改动过的 PHP schema 文件均通过
- node --check 检查所有改动过的前端 schema 文件均通过
- shim 校验确认 users-level/users-badge 已从 users 主分区移出并以 secondaryEntry=true
  落入 compat tools,且全站无路由碰撞
- 注:本 worktree 下缺少可执行 vite,未能在隔离副本中复跑 npm build;此前主副本同批次
  IA 修正构建通过,本次继续只改 schema/sections 常量与默认值,已用语法校验覆盖

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 19:00:52 +08:00