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
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
276a2891ba
feat(comments): full 1:1 zibll comment kernel for posts, forum, shop
...
Extract shared comment helpers (content/item/form/geo/actions), port GIF
[g=] smilies + FixedInput/moveForm UX, wire close_comments/city/quick
settings, REST comment get, and align product review chrome with zibll.
2026-07-18 15:51:47 +08:00
kate522
357d710b1b
fix(comments): denser zibll-like chrome and guest fields
...
Tighten comment form density, collapse guest name/email behind a
toggle, and refine empty-state copy for closed/author-only views.
2026-07-16 22:23:01 +08:00
kate522
02f77b756c
fix(captcha): close human-verification loop end-to-end
...
Rewrite captcha core around aksrt_captcha_config only, require captcha
on login/comment/SMS/phone auth and related gates, wire frontend token
collection, and remove dead dual-source security settings plus slider enqueue.
2026-07-13 19:52:30 +08:00
kate522
4fe4d79da0
fix(frontend): rehydrate 根节点兼容 Element 无 getElementById
...
评论排序/点赞在 AJAX rehydrate 时 root 为 Element,调用 getElementById 抛 TypeError;改为 Document/Element 安全查找,并补上评论排序委托点击。
2026-07-12 14:39:39 +08:00
kate522
00d335ba16
feat(comments): AJAX fragment list/submit + load-more parity
...
Add REST comment/list + comment/submit HTML fragments, shared query
renderer for order/author/hottest, fix load-more policy and DOM
targets, and stop full-page scrapes for order/author/reload.
2026-07-12 08:59:50 +08:00
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
3247db7ed1
补充主题静态资源与归档模板
2026-07-03 23:15:11 +08:00