feat(nav): finish remaining parity gaps (image_select, AJAX search, senior UI)

- Layout image_select previews (zibll PNGs under assets/images/header-layout)
- Localize aksrtAdminData.themeUri for admin SPA asset URLs
- Layout-2 inline search AJAX suggestions via aksrt_search_suggestions
- Appearance→Menus visual senior submenu editor (cards/columns)
- Acceptance checklist + automated source contract report
This commit is contained in:
2026-07-22 12:04:44 +08:00
parent e3848ddf8c
commit 2a11a889c3
20 changed files with 522 additions and 19 deletions
+35
View File
@@ -0,0 +1,35 @@
# 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-fixed` 88px 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-show` open/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 build` after schema changes
## Page/section navs
- [ ] section-navs builds `.posts-nav-lists` on `[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-1to1` against main on Gitea.
+1
View File
@@ -0,0 +1 @@
PASS all nav zibll source contracts