Commit Graph
1215 Commits
Author SHA1 Message Date
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 8d4f07656a chore(debug): 增加 ajax 调试工具定位 admin-ajax 400 "0" 来源
- assets/js/core/ajax-debug.js:ajaxSend 记录发往 admin-ajax 的
  action 与参数,ajaxError/fetch 记录失败请求的 url/status/响应
- inc/aksrt-ajax-debug.php:admin_init 时记录每个 admin-ajax 请求的
  action、是否有 wp_ajax_/wp_ajax_nopriv_ 处理器、POST 载荷至
  wp-content/aksrt-ajax-debug.log(handled=0 即 400 "0" 的来源)
- 开关:WP_DEBUG 或 URL 带 ?aksrt_ajax_debug=1(或常量 AKSRT_AJAX_DEBUG)
2026-08-22 13:39:13 +08:00
kate522 4d6fd641e5 fix(comments): 置顶链接移除 wp-ajax-submit 类,避免 vendor main.min.js 代理触发空 admin-ajax 请求(400 "0") 2026-08-22 13:33:28 +08:00
kate522 e1f176429b feat(comments): 评论区按 Zibll 1:1 全量复刻
- 评论项/表单/工具栏/筛选/分页/空状态 DOM 全部替换为 zibll 原始类名
  (li.comment、comt-main、comt-meta、list-inline、dropup 工具栏、
  theme-pagination/pagenav、post_ajax_loader 骨架等)
- 移植 zibll main.css L9412–9751 桌面 + 移动端评论样式,
  缺失基础组件(title-theme/dropdown-menu/line-form/tab-nav-theme 等)
  以 #comments 作用域补齐
- 删除全部 aksrt-comment__* 旧类名与旧样式,无兼容层
- JS 选择器对齐 zibll DOM:片段整块替换 #postcomments、骨架加载、
  跳页输入、prepend 插入、addComment onclick 剥离,
  移除 WP comment-reply enqueue 避免双 moveForm
- 表情资源替换为 zibll 全套 gif(内容逐字节一致,git 无差异)
- REST 后端 (CommentActions) 不变

验证:php -l 全部通过;5 个改动 JS 语法校验通过;
node --test tests/widget-system/post-visual-contract.test.cjs 12/12 通过
2026-08-22 13:29:51 +08:00
kate522 251fe86527 修复了一些问题 2026-08-21 14:49:34 +08:00
kate522 b39bcbc53c 修复了一些问题 2026-08-21 14:39:30 +08:00
kate522 3368261d52 修复了一些问题 2026-08-21 14:13:53 +08:00
kate522 79b1c8cb38 修复了一些问题 2026-08-21 13:52:09 +08:00
kate522 e971c2b1da 修复了一些问题 2026-08-21 13:42:59 +08:00
kate522 0b8d7cdab5 修复了一些问题 2026-08-21 13:27:53 +08:00
kate522 28d57f2b7c 修复了一些一些已知问题 2026-08-21 12:59:47 +08:00
kate522 e73b83ed83 修复了一些一些已知问题 2026-08-21 12:56:40 +08:00
kate522 315aee1b12 修复了一些一些已知问题 2026-08-21 12:49:19 +08:00
kate522 3e6af7863d 修复了一些一些已知问题 2026-08-21 12:35:55 +08:00
kate522 d69334b37d 修复导航栏用户卡片浮层的签到按钮 2026-08-20 14:43:18 +08:00
kate522 d27c0757f2 顶部资料卡新增签到按钮 2026-08-20 14:31:37 +08:00
kate522 5f01b3b316 公开用户主页文章双列实现 2026-08-20 14:20:20 +08:00
kate522 c4e162839c 修复顶部多功能组件搜索框的两个问题 2026-08-20 14:12:35 +08:00
kate522 41a1b4f465 修复顶部头像浮层卡片 2026-08-20 12:58:36 +08:00
kate522 4d4baa9cec 顶部多功能组件的图标卡片新增默认图标 2026-08-20 12:34:41 +08:00
kate522 13ed02c93a 修正 fa fab 的字体优先级,微信、QQ、微博等图标现在使用 Brands 字体。 2026-08-19 23:11:44 +08:00
kate522 3312323f6e chore: remove temporary .tmp-shots directory 2026-08-19 22:52:55 +08:00
kate522 93841211d3 ceshi 2026-08-19 22:50:26 +08:00
kate522 4204983db7 Merge pull request 'refactor(header): unify top icon-cards on single zib-widget path' (#11) from worktree-federated-meandering-harbor into main
Reviewed-on: #11
2026-08-19 13:47:29 +00:00
kate522 304d0bde74 refactor(header): unify top icon-cards on single zib-widget path 2026-08-19 21:46:37 +08:00
kate522 21c9634178 Merge pull request 'fix(header): unify top icon-card size and layout' (#10) from unify-header-icon-cards into main
Reviewed-on: #10
2026-08-19 10:50:02 +00:00
kate522 f7cedc7163 fix(header): unify top icon-card size and layout
Add a single always-loaded header-cards.css that normalizes the
顶部多功能组件图标卡片 geometry (equal-width cells, fixed 45px icon
badge, zibll mobile padding) across all pages, and enqueue it from
ScriptsPart1b. Remove the orphan header-components.css + subdirectory
that were never enqueued. Repoint the icon-card contract test at the
new stylesheet.
2026-08-19 18:34:48 +08:00
kate522 e2b5018fc1 fix:首页顶部卡片共享背景布局 2026-08-19 17:27:47 +08:00
kate522 4ea8d5f8e8 fix:首页顶部卡片共享背景布局 2026-08-19 17:11:03 +08:00
kate522 aa58fb58ff fix:首页顶部卡片共享背景布局 2026-08-19 17:07:47 +08:00
kate522 0375a11adc fix:顶部横版卡片 2026-08-19 17:01:27 +08:00
kate522 d1f700c3d1 fix(user): rebuild badge (修复蒙版被裁成中间栏的问题。) 2026-08-19 16:15:11 +08:00
kate522 d98a36b060 fix(user): rebuild badge modal ajax 2026-08-19 16:01:48 +08:00
kate522 9c827ff493 fix(user): rebuild badge modal ajax flow 2026-08-19 15:53:33 +08:00
kate522 029df27b1d fix(settings): repair phone binding modal 2026-08-19 14:36:31 +08:00
kate522 3028ab6f0c fix(profile): restore lazy image bridge for user modals 2026-08-19 14:25:38 +08:00
kate522 886ea8732c fix(profile): restore route styles and hidden modals 2026-08-19 14:08:42 +08:00
kate522 a5ed4bbb6f fix(page-display): isolate header component page scopes 2026-08-19 13:45:54 +08:00
kate522 d4a9b7fd98 fix(page-display): connect header component visibility settings 2026-08-19 13:35:31 +08:00
kate522 8a738c7998 feat(admin): refine theme settings UI 2026-08-19 13:11:04 +08:00
kate522 2e442e20ec fix(footer): restore inline QR code layout 2026-08-19 00:21:05 +08:00
kate522 55571648a0 fix(theme): repair page display frontend regressions 2026-08-19 00:14:58 +08:00
kate522 1436232a34 Merge pull request 'feat(admin): rebuild page display settings' (#9) from worktree/page-display-rebuild into main
Reviewed-on: #9
2026-08-18 16:07:49 +00:00
kate522 480e2bf07e feat(admin): rebuild page display settings 2026-08-19 00:07:13 +08:00
kate522 09b1e8fd35 feat(theme): complete Zibll navigation hard replacement 2026-08-18 21:07:34 +08:00
kate522 893af71a0b Merge pull request 'feat(navigation): hard-switch to Zibll navigation and Font Awesome 5' (#8) from worktree/zibll-navigation-fa5 into main
Reviewed-on: #8
2026-08-18 12:47:08 +00:00
kate522 a0b84977a2 feat(navigation): hard-switch to Zibll navigation and Font Awesome 5 2026-08-18 20:46:21 +08:00
kate522 3c3ddac8be fix(frontend): align article list metadata and pagination 2026-08-18 16:23:44 +08:00
kate522 0f2ac6c34a feat(frontend): replace article system with Zibll 9.0 2026-08-18 16:06:47 +08:00
kate522 2881c69e9c feat(frontend): integrate toast into post submission 2026-08-18 13:06:51 +08:00