kate522
b8ef4d81a4
评论区硬切换实现
2026-08-30 17:34:29 +08:00
kate522
9375b1c30c
refactor(assets): vendor 资产迁入标准目录并全仓去除 zibll 标识
...
- assets/vendor 全量迁移: fontawesome5→assets/fontawesome5, css→assets/css,
js→assets/js/runtime(避开 14 个同名自有文件), img 合并去重→assets/img,
fonts→assets/fonts; 删除 assets/vendor
- libs 五个与 widgets/third-party 字节相同的库不重复入库, loader paths 改指向
- 运行时切换: _win.uri=assets 根, loader baseUrl=/js/runtime, enlighter 注入
路径同步; PHP 7 个引用文件切换并改名 $zibll_*→$runtime_*
- 去品牌: Qinver 头注释/品牌 console.log/演示链接清除, 默认文案中性化
- 功能标识符改名: zib__→aksrt__, zib_ajax→aksrt_ajax, window.zib→
window.aksrtLegacy, zibllblock/*→aksrtblock/*, .zib-widget→.aksrt-panel,
.zib-slider→.aksrt-slider, zib_menu_options meta 键等
- 自有 CSS 改名: legacy-utilities/compat-vars/footer shell
- admin SPA 重建; 契约测试同步(路径/断言/文件更名)
- 例外保留: tests/visual 对照环境与 fixtures 前缀(外部 Zibll 产品引用)
验证: php -l 133 个改动文件通过; runtime 86 个 JS node --check 通过;
契约测试 68/70(2 个失败经 stash 对照确认为存量问题)
2026-08-22 16:16:30 +08:00
kate522
608a1148c9
fix(comments): 拦截 vendor comment.min.js 懒加载并解绑其 7 条委托
...
栈追踪确认 400 "0" 的调用方是 zibll comment.min.js(main.min.js 检测到
#commentform/#postcomments 后 tbquire(["comment"]) 自动懒加载),其
#commentform #submit 绑定 zib_ajax(action=submit_comment) 无处理器,
回复/排序/分页/删除等绑定也与 AKSRT 自有评论脚本双路触发。
双层处理:
1) tbfine 预注册空 'comment' AMD 模块,tbquire 不再下载 comment.min.js
2) 若模块抢在注册前加载,对 comment.js 的 7 条 body 委托做幂等 .off
([fixed-input] / pagenav+orderby / reply+edit / #comment keydown /
trash / approve / #submit)
2026-08-22 13:49:17 +08:00
kate522
d35f0b6730
fix(frontend): 解绑 vendor main.min.js 的 body 级 ajax 委托,根除 admin-ajax 400 "0"
...
main.min.js 在 body 上委托 [data-action]/[ajax-action]/.wp-ajax-submit/
.initiate-checkin/.oauth-untying 的点击并向 admin-ajax 发 zibll 原生 action
(comment_like/like/follow_user…),AKSRT 无对应处理器,WP 一律返回 400 "0",
即控制台「ajax请求错误」的来源;评论点赞(data-action=comment_like)、文章
点赞/收藏(data-action=like|favorite)、VIP 购买等均会触发,且与 §10.11 自有
处理重复。main.min.js 由 loader.js 异步加载,解绑以幂等 .off 每 200ms
重试至多 50 次覆盖加载窗口。vendor 运行时仅保留 UI 行为。
2026-08-22 13:46:06 +08:00
kate522
a0b84977a2
feat(navigation): hard-switch to Zibll navigation and Font Awesome 5
2026-08-18 20:46:21 +08:00
kate522
86614c4905
refactor(frontend): replace toast system with zibll notyf
2026-08-18 02:38:43 +08:00
kate522
435ee1daa7
feat(frontend): replace lazy loading with zibll lazysizes
2026-08-18 01:33:38 +08:00
kate522 and Claude Fable 5
34150f3358
refactor(modal): remove legacy compatibility paths
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-05 00:06:37 +08:00
kate522 and Claude Fable 5
bdfe3a461d
fix(modal): route refresh modal through runtime
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-04 23:28:13 +08:00
kate522
d3cae1f1cb
fix(nav): stop click ripple from stretching CTA chips
...
.aksrt-wave was injected into .but without position:absolute, so the
oversized span expanded header publish/VIP buttons on click. Make the
wave absolute, honor .nowave, and skip navbar CTA roots.
2026-07-25 10:58:04 +08:00
kate522
259dbdbe04
feat(nav): rewrite top header to zibll 1:1 DOM/CSS/JS contract
...
Replace hybrid site-nav/drawer shell with zibll navbar-top layouts 1/2/3,
body.mobile-navbar-show drawer, wired NavWalker + aksrt_menu_options meta,
nav_folding/chevron, VIP switches, and SPA/PHP schema parity. No dual-class
compat paths.
2026-07-22 11:18:34 +08:00
kate522
35ac26db28
fix(nav): publish menu contrast, check-in toast and button layout
...
Use solid light plate + forced ink on 发布 items, notyf instead of alert,
and keep header check-in flex layout after success.
2026-07-22 09:09:02 +08:00
kate522
bf49982d16
fix(frontend): stop infinite pagination admin-ajax 400 spam
...
Hardened list-page infinite scroll so it no longer auto-fires three
admin-ajax requests on first paint, returns machine-readable nonce
errors, localizes aksrtData earlier for core modules, and ignores
UI-only data-action clicks.
2026-07-13 09:45:05 +08:00
kate522
3247db7ed1
补充主题静态资源与归档模板
2026-07-03 23:15:11 +08:00