Commit Graph
7 Commits
Author SHA1 Message Date
kate522andClaude Fable 5 03022349db feat(admin): 商城/论坛/支付/用户导航默认落点与次级概览
按 stream-h 收束后台默认入口:实体与前台结果优先;shop/forum 概览标 secondaryEntry;payment 默认落到付费内容;users 将短信/微信后移。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 12:12:39 +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
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
kate522andClaude Fable 5 17c24826c8 后台 IA 收口修正:修复默认路由与降权页路由,收敛 AI 五层契约与文案
Workstream C/D/J 收口阶段的后台 IA 修正(前序结构性 stream 已合并,本轮只补残留缺口):

- [修复] page_display 默认路由失效:SECTION_DEFAULT_CHILDREN 键 'page_display'
  与分区 key 'page-display' 不匹配,attachSectionDefaultRoute 永不命中,
  /page-display 无默认落点。改键并指向 SchemaPage page-display-header-nav
  (stream-d §5.2 / CLAUDE.md 约束 #9)。
- [修复] shop/forum 概览页路由碰撞:shop-dashboard 用 /shop、forum-dashboard
  用 /forum,与分区根路由冲突并被 createSectionRedirectRoutes 抢先重定向,
  兼容导航项不可达。改为 /shop/dashboard、/forum/dashboard。
- [修复] AI 页虚假 schema 绑定:extensions-ai 声明了不存在的 section:'ai',
  违反五层契约。AI 属停用候选(stream-c §5.9,不扩写核心 schema),移除虚假
  绑定,改用自有 /ai/* 端点作为兼容能力。
- [文案] 收敛平台术语(stream-c §8):users-report「治理台账」→「用户限制状态
  管理」;「AI 子系统」→「AI 辅助(兼容)」。

验证:admin SPA 构建通过;节点级校验确认 10 个分区默认路由全部解析、无路由碰撞、
extensions-ai canonicalDomain/section 已清空。验收报告与兼容层状态表见 docs/
(本地内部文档,按 .gitignore 约定不入库)。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 17:49:05 +08:00
kate522 4043de2473 Align admin section default routes 2026-07-06 11:29:33 +08:00
kate522 ddfb8539cb 降权非主线后台入口 2026-07-03 23:27:21 +08:00
Claude Code 1268a55dd0 导入 AKSRT 主题开发源码 2026-07-03 22:50:34 +08:00