jnab - Cover
Cover
[Cover image โ edit to add]
All 7 phases implemented across Edits.tsx and editsStorage.ts: Series creation now creates cover (-2) + TOC (-1) instead of a single -3 hub, with series Ghost tag verification TOC lookup fixed everywhere to check -1 || 0; TOC auto-updates on any publish (not just chapters > 0) TOC deduplication โ inline TOC rebuild in handleCreate replaced with regenerateTOC() call sanitizeHTML now preserves tags (moved from UNWRAP to KEEP) Display labels fixed in GhostPostsView cards and Reader Preview dropdown/header for Cover (-2), TOC (-1), and Division pages Cover page now visible in book dashboard cards alongside TOC, with Ghost sync badges Missing page warnings โ clickable โ ๏ธ No Cover / โ ๏ธ No TOC / โ ๏ธ Not on Ghost badges auto-create on click Finalize nav labels now pass prevChapterNumber/nextChapterNumber for contextual "โ Cover" / "โ Contents" labels Chapter # input uses parseFloat to support division numbers (3.5) fetchStatuses dependency fixed to prevent infinite re-render loop collapsedBooks re-initializes when documents load Repair utility card auto-appears when legacy -3 docs exist, with one-click migration TOC slug fix โ Ghost publish recognizes -1 as TOC for slug assignment