Files
wordpress-theme-aksrt/tools/nav-zibll-acceptance.md
T
kate522 0d9db942f8 feat(nav): close P0/P1 parity gaps (nav style, history, plate, admin build)
Wire header_nav_style transparent/blur, login history sync, plate publish
type, clean dead search CSS, rebuild admin SPA locally (build gitignored).
2026-07-22 17:38:48 +08:00

2.3 KiB

Top nav zibll 1:1 acceptance checklist

Branch: worktree-nav-zibll-full-1to1

Desktop shell

  • Layout 1: logo | menu | publish/VIP | theme(+lang) | user | search icon → .navbar-search slide
  • Layout 2: logo | menu | inline search(+remote panel) | CTAs | user (no search icon)
  • Layout 3: logo | CTAs/user | menu right cluster
  • Fixed body.nav-fixed reserve; hero show-slide pull-up
  • Scroll-down hide / scroll-up show
  • Submenu hover + chevron; overflow folding "更多"
  • Publish single vs multi; default jb-blue + radius pill; VIP hover cards
  • User box: check-in / wallet / badges + admin row (主题设置/模块布局/商城中心/后台)
  • Header theme colors when custom enabled
  • Language dropdown when i18n enabled

menu_search / search box (zibll DOM)

  • Layout-2 remote-box action=menu_search loads .dropdown-menu.hover-show-con > .search-input
  • Panel contains .search-keywords / .history-search / .relates.relates-thumb (when enabled)
  • Guest history from localStorage; trash clears
  • Layout 1/3 .navbar-search uses full aksrt_get_search_box(show_form=true)
  • Footer tabbar #tabbar-search-overlay still independent

Mobile

  • center/left header; drawer left/right/top
  • body.mobile-navbar-show + fixed-body + swipe
  • mobile menus depth 2 + user box + widgets
  • posts-nav-box TOC on single posts

Admin

  • SPA image_select layouts
  • Single publish switch header_newposts_enabled (+ skin select jb-*)
  • Appearance → Menus senior editor
  • cd assets/admin && npm run build after schema changes
  • php tools/audit-admin-contracts.php green

Deploy

  • Admin build/ may be gitignored — build on deploy host.
  • Push branch to remote target, open PR via Gitea URL.

Contract report

  • tools/nav-zibll-contract-report.txt should list search DOM PASS after smoke.

Code-complete (browser QA still manual)

The following are implemented in code; remaining checkboxes above need live WP QA:

  • menu_search zibll DOM + remote-box
  • L1/3 .navbar-search slide + toggle isolation
  • header_nav_style transparent/blur classes + CSS
  • unified header_newposts_enabled + plate type + jb skin
  • user box admin 4-row
  • logged-in history AJAX save on top search submit
  • admin npm run build executed in this worktree