- Layout-2 remote-box AJAX panel (history/hot/posts) via aksrt_menu_search - Live suggestions for post/topic/product; local history for guests - Publish radius switch (zibll bool pill) mapped to CSS radius class - Senior menu editor: WP media library image picker - Active menu underline + panel CSS; acceptance/contract updates
1.7 KiB
1.7 KiB
Top nav zibll 1:1 acceptance checklist
Branch: worktree-nav-zibll-1to1
Desktop
- Layout 1: logo | menu | publish/VIP | theme(+lang) | user | search icon
- Layout 2: logo | menu | inline search(+hot/suggest) | CTAs | user (no search icon)
- Layout 3: logo | CTAs/user | menu right cluster
- Fixed
body.nav-fixed88px reserve; hero show-slide pull-up - Scroll-down hide / scroll-up show
- Submenu hover + chevron; overflow folding "更多"
- Publish single vs multi; VIP hover cards gated by switches
- User box density + user-card publish type URL
- Header theme colors when custom enabled
- Language dropdown when i18n enabled + position header/both
Mobile
- center/left header; drawer left/right/top
body.mobile-navbar-showopen/close + fixed-body + swipe- mobile menus depth 2 + user box + widgets
- posts-nav-box TOC on single posts
Admin
- SPA image_select previews for layouts
- newposts types multi + VIP switches persist
- Appearance → Menus: icon/badge/senior visual editor saves meta
cd assets/admin && npm run buildafter schema changes
Page/section navs
- section-navs builds
.posts-nav-listson[data-nav]pages - page-navs enqueued on posts-navs template
Deploy notes
- Admin
build/is gitignored — run build on deploy host. - PR: open from branch
worktree-nav-zibll-1to1against main on Gitea.
Deep align (post 2a11a88)
- Layout-2 focus loads remote panel (history + hot + posts)
- Typing shows live suggestions (post/topic/product)
- Publish radius switch = pill ends
- Menus senior editor: add card + media library pick image
- Contract report: tools/nav-zibll-contract-report.txt PASS